Home
last modified time | relevance | path

Searched refs:FRAG_ATTRIB_COL1 (Results 1 – 19 of 19) sorted by relevance

/external/mesa3d/src/mesa/swrast_setup/
Dss_tritmp.h112 COPY_4V(saved_spec[0], v[0]->attrib[FRAG_ATTRIB_COL1]); in TAG()
113 COPY_4V(saved_spec[1], v[1]->attrib[FRAG_ATTRIB_COL1]); in TAG()
114 COPY_4V(saved_spec[2], v[2]->attrib[FRAG_ATTRIB_COL1]); in TAG()
117 SS_SPEC(v[0]->attrib[FRAG_ATTRIB_COL1], vbspec[e0]); in TAG()
118 SS_SPEC(v[1]->attrib[FRAG_ATTRIB_COL1], vbspec[e1]); in TAG()
119 SS_SPEC(v[2]->attrib[FRAG_ATTRIB_COL1], vbspec[e2]); in TAG()
122 SS_SPEC(v[0]->attrib[FRAG_ATTRIB_COL1], vbspec[0]); in TAG()
123 SS_SPEC(v[1]->attrib[FRAG_ATTRIB_COL1], vbspec[0]); in TAG()
124 SS_SPEC(v[2]->attrib[FRAG_ATTRIB_COL1], vbspec[0]); in TAG()
204 COPY_4V(v[0]->attrib[FRAG_ATTRIB_COL1], saved_spec[0]); in TAG()
[all …]
Dss_triangle.c140 COPY_4V(s[0], v0->attrib[FRAG_ATTRIB_COL1]); in _swsetup_render_tri()
141 COPY_4V(s[1], v1->attrib[FRAG_ATTRIB_COL1]); in _swsetup_render_tri()
146 COPY_4V(v0->attrib[FRAG_ATTRIB_COL1], v2->attrib[FRAG_ATTRIB_COL1]); in _swsetup_render_tri()
147 COPY_4V(v1->attrib[FRAG_ATTRIB_COL1], v2->attrib[FRAG_ATTRIB_COL1]); in _swsetup_render_tri()
153 COPY_4V(v0->attrib[FRAG_ATTRIB_COL1], s[0]); in _swsetup_render_tri()
154 COPY_4V(v1->attrib[FRAG_ATTRIB_COL1], s[1]); in _swsetup_render_tri()
Dss_context.c138 EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_4F, attrib[FRAG_ATTRIB_COL1]); in setup_vertex_format()
293 dest->attrib[FRAG_ATTRIB_COL1]); in _swsetup_Translate()
/external/mesa3d/src/mesa/swrast/
Ds_lines.c175 rSum = CHAN_TO_FLOAT(ncv0->color[0]) + ncv0->attrib[FRAG_ATTRIB_COL1][0]; in _swrast_add_spec_terms_line()
176 gSum = CHAN_TO_FLOAT(ncv0->color[1]) + ncv0->attrib[FRAG_ATTRIB_COL1][1]; in _swrast_add_spec_terms_line()
177 bSum = CHAN_TO_FLOAT(ncv0->color[2]) + ncv0->attrib[FRAG_ATTRIB_COL1][2]; in _swrast_add_spec_terms_line()
182 rSum = CHAN_TO_FLOAT(ncv1->color[0]) + ncv1->attrib[FRAG_ATTRIB_COL1][0]; in _swrast_add_spec_terms_line()
183 gSum = CHAN_TO_FLOAT(ncv1->color[1]) + ncv1->attrib[FRAG_ATTRIB_COL1][1]; in _swrast_add_spec_terms_line()
184 bSum = CHAN_TO_FLOAT(ncv1->color[2]) + ncv1->attrib[FRAG_ATTRIB_COL1][2]; in _swrast_add_spec_terms_line()
Ds_triangle.c942 rSum = CHAN_TO_FLOAT(ncv0->color[0]) + ncv0->attrib[FRAG_ATTRIB_COL1][0]; in _swrast_add_spec_terms_triangle()
943 gSum = CHAN_TO_FLOAT(ncv0->color[1]) + ncv0->attrib[FRAG_ATTRIB_COL1][1]; in _swrast_add_spec_terms_triangle()
944 bSum = CHAN_TO_FLOAT(ncv0->color[2]) + ncv0->attrib[FRAG_ATTRIB_COL1][2]; in _swrast_add_spec_terms_triangle()
949 rSum = CHAN_TO_FLOAT(ncv1->color[0]) + ncv1->attrib[FRAG_ATTRIB_COL1][0]; in _swrast_add_spec_terms_triangle()
950 gSum = CHAN_TO_FLOAT(ncv1->color[1]) + ncv1->attrib[FRAG_ATTRIB_COL1][1]; in _swrast_add_spec_terms_triangle()
951 bSum = CHAN_TO_FLOAT(ncv1->color[2]) + ncv1->attrib[FRAG_ATTRIB_COL1][2]; in _swrast_add_spec_terms_triangle()
956 rSum = CHAN_TO_FLOAT(ncv2->color[0]) + ncv2->attrib[FRAG_ATTRIB_COL1][0]; in _swrast_add_spec_terms_triangle()
957 gSum = CHAN_TO_FLOAT(ncv2->color[1]) + ncv2->attrib[FRAG_ATTRIB_COL1][1]; in _swrast_add_spec_terms_triangle()
958 bSum = CHAN_TO_FLOAT(ncv2->color[2]) + ncv2->attrib[FRAG_ATTRIB_COL1][2]; in _swrast_add_spec_terms_triangle()
Ds_context.c541 if (i == FRAG_ATTRIB_COL0 || i == FRAG_ATTRIB_COL1) in _swrast_update_active_attribs()
945 v->attrib[FRAG_ATTRIB_COL1][0], in _swrast_print_vertex()
946 v->attrib[FRAG_ATTRIB_COL1][1], in _swrast_print_vertex()
947 v->attrib[FRAG_ATTRIB_COL1][2], in _swrast_print_vertex()
948 v->attrib[FRAG_ATTRIB_COL1][3]); in _swrast_print_vertex()
Ds_points.c525 rSum = CHAN_TO_FLOAT(ncv0->color[0]) + ncv0->attrib[FRAG_ATTRIB_COL1][0]; in _swrast_add_spec_terms_point()
526 gSum = CHAN_TO_FLOAT(ncv0->color[1]) + ncv0->attrib[FRAG_ATTRIB_COL1][1]; in _swrast_add_spec_terms_point()
527 bSum = CHAN_TO_FLOAT(ncv0->color[2]) + ncv0->attrib[FRAG_ATTRIB_COL1][2]; in _swrast_add_spec_terms_point()
Ds_span.c115 COPY_4V(span->attrStart[FRAG_ATTRIB_COL1], ctx->Current.RasterSecondaryColor); in _swrast_span_default_attribs()
116 ASSIGN_4V(span->attrStepX[FRAG_ATTRIB_COL1], 0.0, 0.0, 0.0, 0.0); in _swrast_span_default_attribs()
117 ASSIGN_4V(span->attrStepY[FRAG_ATTRIB_COL1], 0.0, 0.0, 0.0, 0.0); in _swrast_span_default_attribs()
836 GLfloat (*col1)[4] = span->array->attribs[FRAG_ATTRIB_COL1]; in add_specular()
Ds_atifragshader.c573 COPY_4V(inputs[ATI_FS_INPUT_SECONDARY], span->array->attribs[FRAG_ATTRIB_COL1][col]); in init_machine()
/external/mesa3d/src/mesa/tnl_dd/
Dt_dd_vb.c134 dst->attrib[FRAG_ATTRIB_COL1][0] = UBYTE_TO_FLOAT(src->v.specular.red); in TAG()
135 dst->attrib[FRAG_ATTRIB_COL1][1] = UBYTE_TO_FLOAT(src->v.specular.green); in TAG()
136 dst->attrib[FRAG_ATTRIB_COL1][2] = UBYTE_TO_FLOAT(src->v.specular.blue); in TAG()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_sf_state.c76 bool is_gl_Color = attr == FRAG_ATTRIB_COL0 || attr == FRAG_ATTRIB_COL1; in upload_sbe_state()
Dgen6_sf_state.c277 bool is_gl_Color = attr == FRAG_ATTRIB_COL0 || attr == FRAG_ATTRIB_COL1; in upload_sf_state()
Dbrw_wm.c148 bool is_gl_Color = attr == FRAG_ATTRIB_COL0 || attr == FRAG_ATTRIB_COL1; in brw_compute_barycentric_interp_modes()
Dbrw_wm_fp.c405 case FRAG_ATTRIB_COL1: in emit_interp()
/external/mesa3d/src/mesa/main/
Dmtypes.h323 FRAG_ATTRIB_COL1 = 2, enumerator
389 #define FRAG_BIT_COL1 (1 << FRAG_ATTRIB_COL1)
/external/mesa3d/src/glsl/
Dbuiltin_variables.cpp70 { ir_var_in, FRAG_ATTRIB_COL1, "vec4", "gl_SecondaryColor" },
Dir.cpp1531 location == FRAG_ATTRIB_COL0 || location == FRAG_ATTRIB_COL1; in determine_interpolation_mode()
/external/mesa3d/src/mesa/state_tracker/
Dst_program.c556 case FRAG_ATTRIB_COL1: in st_translate_fragment_program()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_fragprog.c106 case FRAG_ATTRIB_COL1: in src_vector()