Home
last modified time | relevance | path

Searched refs:VARYING_SLOT_COL1 (Results 1 – 25 of 41) sorted by relevance

12

/external/mesa3d/src/mesa/swrast_setup/
Dss_tritmp.h112 COPY_4V(saved_spec[0], v[0]->attrib[VARYING_SLOT_COL1]); in TAG()
113 COPY_4V(saved_spec[1], v[1]->attrib[VARYING_SLOT_COL1]); in TAG()
114 COPY_4V(saved_spec[2], v[2]->attrib[VARYING_SLOT_COL1]); in TAG()
117 SS_SPEC(v[0]->attrib[VARYING_SLOT_COL1], vbspec[e0]); in TAG()
118 SS_SPEC(v[1]->attrib[VARYING_SLOT_COL1], vbspec[e1]); in TAG()
119 SS_SPEC(v[2]->attrib[VARYING_SLOT_COL1], vbspec[e2]); in TAG()
122 SS_SPEC(v[0]->attrib[VARYING_SLOT_COL1], vbspec[0]); in TAG()
123 SS_SPEC(v[1]->attrib[VARYING_SLOT_COL1], vbspec[0]); in TAG()
124 SS_SPEC(v[2]->attrib[VARYING_SLOT_COL1], vbspec[0]); in TAG()
204 COPY_4V(v[0]->attrib[VARYING_SLOT_COL1], saved_spec[0]); in TAG()
[all …]
Dss_triangle.c142 COPY_4V(s[0], v0->attrib[VARYING_SLOT_COL1]); in _swsetup_render_tri()
143 COPY_4V(s[1], v1->attrib[VARYING_SLOT_COL1]); in _swsetup_render_tri()
148 COPY_4V(v0->attrib[VARYING_SLOT_COL1], v2->attrib[VARYING_SLOT_COL1]); in _swsetup_render_tri()
149 COPY_4V(v1->attrib[VARYING_SLOT_COL1], v2->attrib[VARYING_SLOT_COL1]); in _swsetup_render_tri()
155 COPY_4V(v0->attrib[VARYING_SLOT_COL1], s[0]); in _swsetup_render_tri()
156 COPY_4V(v1->attrib[VARYING_SLOT_COL1], s[1]); in _swsetup_render_tri()
Dss_context.c139 EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_4F, attrib[VARYING_SLOT_COL1]); in setup_vertex_format()
296 dest->attrib[VARYING_SLOT_COL1]); in _swsetup_Translate()
/external/mesa3d/src/mesa/swrast/
Ds_lines.c174 rSum = CHAN_TO_FLOAT(ncv0->color[0]) + ncv0->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_line()
175 gSum = CHAN_TO_FLOAT(ncv0->color[1]) + ncv0->attrib[VARYING_SLOT_COL1][1]; in _swrast_add_spec_terms_line()
176 bSum = CHAN_TO_FLOAT(ncv0->color[2]) + ncv0->attrib[VARYING_SLOT_COL1][2]; in _swrast_add_spec_terms_line()
181 rSum = CHAN_TO_FLOAT(ncv1->color[0]) + ncv1->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_line()
182 gSum = CHAN_TO_FLOAT(ncv1->color[1]) + ncv1->attrib[VARYING_SLOT_COL1][1]; in _swrast_add_spec_terms_line()
183 bSum = CHAN_TO_FLOAT(ncv1->color[2]) + ncv1->attrib[VARYING_SLOT_COL1][2]; in _swrast_add_spec_terms_line()
Ds_triangle.c943 rSum = CHAN_TO_FLOAT(ncv0->color[0]) + ncv0->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_triangle()
944 gSum = CHAN_TO_FLOAT(ncv0->color[1]) + ncv0->attrib[VARYING_SLOT_COL1][1]; in _swrast_add_spec_terms_triangle()
945 bSum = CHAN_TO_FLOAT(ncv0->color[2]) + ncv0->attrib[VARYING_SLOT_COL1][2]; in _swrast_add_spec_terms_triangle()
950 rSum = CHAN_TO_FLOAT(ncv1->color[0]) + ncv1->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_triangle()
951 gSum = CHAN_TO_FLOAT(ncv1->color[1]) + ncv1->attrib[VARYING_SLOT_COL1][1]; in _swrast_add_spec_terms_triangle()
952 bSum = CHAN_TO_FLOAT(ncv1->color[2]) + ncv1->attrib[VARYING_SLOT_COL1][2]; in _swrast_add_spec_terms_triangle()
957 rSum = CHAN_TO_FLOAT(ncv2->color[0]) + ncv2->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_triangle()
958 gSum = CHAN_TO_FLOAT(ncv2->color[1]) + ncv2->attrib[VARYING_SLOT_COL1][1]; in _swrast_add_spec_terms_triangle()
959 bSum = CHAN_TO_FLOAT(ncv2->color[2]) + ncv2->attrib[VARYING_SLOT_COL1][2]; in _swrast_add_spec_terms_triangle()
Ds_context.c541 if (i == VARYING_SLOT_COL0 || i == VARYING_SLOT_COL1) in _swrast_update_active_attribs()
949 v->attrib[VARYING_SLOT_COL1][0], in _swrast_print_vertex()
950 v->attrib[VARYING_SLOT_COL1][1], in _swrast_print_vertex()
951 v->attrib[VARYING_SLOT_COL1][2], in _swrast_print_vertex()
952 v->attrib[VARYING_SLOT_COL1][3]); in _swrast_print_vertex()
Ds_points.c524 rSum = CHAN_TO_FLOAT(ncv0->color[0]) + ncv0->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_point()
525 gSum = CHAN_TO_FLOAT(ncv0->color[1]) + ncv0->attrib[VARYING_SLOT_COL1][1]; in _swrast_add_spec_terms_point()
526 bSum = CHAN_TO_FLOAT(ncv0->color[2]) + ncv0->attrib[VARYING_SLOT_COL1][2]; in _swrast_add_spec_terms_point()
Ds_span.c118 COPY_4V(span->attrStart[VARYING_SLOT_COL1], ctx->Current.RasterSecondaryColor); in _swrast_span_default_attribs()
119 ASSIGN_4V(span->attrStepX[VARYING_SLOT_COL1], 0.0, 0.0, 0.0, 0.0); in _swrast_span_default_attribs()
120 ASSIGN_4V(span->attrStepY[VARYING_SLOT_COL1], 0.0, 0.0, 0.0, 0.0); in _swrast_span_default_attribs()
839 GLfloat (*col1)[4] = span->array->attribs[VARYING_SLOT_COL1]; in add_specular()
/external/mesa3d/src/intel/compiler/
Dbrw_vue_map.c149 if (slots_valid & BITFIELD64_BIT(VARYING_SLOT_COL1)) in brw_compute_vue_map()
150 assign_vue_slot(vue_map, VARYING_SLOT_COL1, slot++); in brw_compute_vue_map()
Dbrw_interpolation_map.c86 if (location == VARYING_SLOT_COL0 || location == VARYING_SLOT_COL1) { in brw_setup_vue_interpolation()
Dbrw_clip_unfilled.c129 !(brw_clip_have_varying(c, VARYING_SLOT_COL1) && in copy_bfc()
163 if (brw_clip_have_varying(c, VARYING_SLOT_COL1) && in copy_bfc()
168 VARYING_SLOT_COL1)), in copy_bfc()
Dbrw_vec4_vs_visitor.cpp71 case VARYING_SLOT_COL1: in emit_urb_slot()
/external/mesa3d/src/compiler/
Dshader_enums.h191 VARYING_SLOT_COL1, enumerator
271 #define VARYING_BIT_COL1 BITFIELD64_BIT(VARYING_SLOT_COL1)
Dshader_enums.c136 ENUM(VARYING_SLOT_COL1), in gl_varying_slot_name()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_shader.h429 slot = VARYING_SLOT_COL1; in ir3_find_output()
432 } else if (slot == VARYING_SLOT_COL1) { in ir3_find_output()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_from_mesa.c77 case VARYING_SLOT_COL1: in tgsi_get_gl_varying_semantic()
/external/mesa3d/src/compiler/nir/
Dnir_lower_clamp_color_outputs.c41 case VARYING_SLOT_COL1: in is_color_output()
Dnir_lower_two_sided_color.c100 case VARYING_SLOT_COL1: in setup_inputs()
/external/mesa3d/src/compiler/glsl/
Dopt_dead_builtin_varyings.cpp183 case VARYING_SLOT_COL1: in visit()
220 case VARYING_SLOT_COL1: in get()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_shader.c187 VARYING_SLOT_COL1 | in st_update_vp()
Dst_cb_rasterpos.c162 VARYING_SLOT_COL1, VERT_ATTRIB_COLOR1); in rastpos_point()
Dst_atifs_to_tgsi.c143 return t->inputs[t->inputMapping[VARYING_SLOT_COL1]]; in get_source()
591 prog->info.inputs_read |= BITFIELD64_BIT(VARYING_SLOT_COL1); in st_init_atifs_prog()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_vs.c99 outputs_written |= BITFIELD64_BIT(VARYING_SLOT_COL1); in brw_vs_outputs_written()
/external/mesa3d/src/mesa/tnl/
Dt_vb_program.c436 VB->AttribPtr[VERT_ATTRIB_COLOR1] = &store->results[VARYING_SLOT_COL1]; in run_vp()
/external/mesa3d/src/mesa/main/
Dffvertex_prog.c1088 struct ureg res1 = register_output( p, VARYING_SLOT_COL1 ); in build_lighting()
1185 res1 = register_output( p, VARYING_SLOT_COL1 ); in build_lighting()
1580 emit_passthrough(p, VERT_ATTRIB_COLOR1, VARYING_SLOT_COL1); in build_tnl_program()

12