/external/mesa3d/src/mesa/swrast_setup/ |
D | ss_tritmp.h | 112 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 …]
|
D | ss_triangle.c | 140 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()
|
D | ss_context.c | 138 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/ |
D | s_lines.c | 175 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()
|
D | s_triangle.c | 942 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()
|
D | s_context.c | 541 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()
|
D | s_points.c | 525 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()
|
D | s_span.c | 115 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()
|
D | s_atifragshader.c | 573 COPY_4V(inputs[ATI_FS_INPUT_SECONDARY], span->array->attribs[FRAG_ATTRIB_COL1][col]); in init_machine()
|
/external/mesa3d/src/mesa/tnl_dd/ |
D | t_dd_vb.c | 134 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/ |
D | gen7_sf_state.c | 76 bool is_gl_Color = attr == FRAG_ATTRIB_COL0 || attr == FRAG_ATTRIB_COL1; in upload_sbe_state()
|
D | gen6_sf_state.c | 277 bool is_gl_Color = attr == FRAG_ATTRIB_COL0 || attr == FRAG_ATTRIB_COL1; in upload_sf_state()
|
D | brw_wm.c | 148 bool is_gl_Color = attr == FRAG_ATTRIB_COL0 || attr == FRAG_ATTRIB_COL1; in brw_compute_barycentric_interp_modes()
|
D | brw_wm_fp.c | 405 case FRAG_ATTRIB_COL1: in emit_interp()
|
/external/mesa3d/src/mesa/main/ |
D | mtypes.h | 323 FRAG_ATTRIB_COL1 = 2, enumerator 389 #define FRAG_BIT_COL1 (1 << FRAG_ATTRIB_COL1)
|
/external/mesa3d/src/glsl/ |
D | builtin_variables.cpp | 70 { ir_var_in, FRAG_ATTRIB_COL1, "vec4", "gl_SecondaryColor" },
|
D | ir.cpp | 1531 location == FRAG_ATTRIB_COL0 || location == FRAG_ATTRIB_COL1; in determine_interpolation_mode()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_program.c | 556 case FRAG_ATTRIB_COL1: in st_translate_fragment_program()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_fragprog.c | 106 case FRAG_ATTRIB_COL1: in src_vector()
|