Home
last modified time | relevance | path

Searched refs:VARYING_SLOT_COL1 (Results 1 – 25 of 50) 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.c536 if (i == VARYING_SLOT_COL0 || i == VARYING_SLOT_COL1) in _swrast_update_active_attribs()
944 v->attrib[VARYING_SLOT_COL1][0], in _swrast_print_vertex()
945 v->attrib[VARYING_SLOT_COL1][1], in _swrast_print_vertex()
946 v->attrib[VARYING_SLOT_COL1][2], in _swrast_print_vertex()
947 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.c119 COPY_4V(span->attrStart[VARYING_SLOT_COL1], ctx->Current.RasterSecondaryColor); in _swrast_span_default_attribs()
120 ASSIGN_4V(span->attrStepX[VARYING_SLOT_COL1], 0.0, 0.0, 0.0, 0.0); in _swrast_span_default_attribs()
121 ASSIGN_4V(span->attrStepY[VARYING_SLOT_COL1], 0.0, 0.0, 0.0, 0.0); in _swrast_span_default_attribs()
840 GLfloat (*col1)[4] = span->array->attribs[VARYING_SLOT_COL1]; in add_specular()
/external/mesa3d/src/compiler/nir/
Dnir_lower_flatshade.c33 var->data.location == VARYING_SLOT_COL1 || in lower_input()
Dnir_lower_clamp_color_outputs.c42 case VARYING_SLOT_COL1: in is_color_output()
Dnir_lower_two_sided_color.c108 case VARYING_SLOT_COL1: in setup_inputs()
/external/mesa3d/src/intel/compiler/
Dbrw_vue_map.c166 if (slots_valid & BITFIELD64_BIT(VARYING_SLOT_COL1)) in brw_compute_vue_map()
167 assign_vue_slot(vue_map, VARYING_SLOT_COL1, slot++); in brw_compute_vue_map()
Dbrw_vec4_vs_visitor.cpp71 case VARYING_SLOT_COL1: in emit_urb_slot()
Dbrw_interpolation_map.c85 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()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_shader.c214 VARYING_SLOT_COL1 | in st_update_vp()
279 VARYING_SLOT_COL1 | in st_update_common_program()
Dst_cb_rasterpos.c168 VARYING_SLOT_COL1, VERT_ATTRIB_COLOR1); in rastpos_point()
/external/mesa3d/src/compiler/
Dshader_enums.h261 VARYING_SLOT_COL1, enumerator
342 #define VARYING_BIT_COL1 BITFIELD64_BIT(VARYING_SLOT_COL1)
Dshader_enums.c163 ENUM(VARYING_SLOT_COL1), in gl_varying_slot_name()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_shader_geometry.cpp90 input->data.location == VARYING_SLOT_COL1 || in do_process_inputs()
116 output->data.location == VARYING_SLOT_COL1 || in do_process_outputs()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_from_mesa.c77 case VARYING_SLOT_COL1: in tgsi_get_gl_varying_semantic()
/external/mesa3d/src/compiler/glsl/
Dopt_dead_builtin_varyings.cpp184 case VARYING_SLOT_COL1: in visit()
221 case VARYING_SLOT_COL1: in get()
/external/mesa3d/src/freedreno/ir3/
Dir3_shader.h819 slot = VARYING_SLOT_COL1; in ir3_find_output()
822 } else if (slot == VARYING_SLOT_COL1) { in ir3_find_output()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_vs.c449 case VARYING_SLOT_COL1: in si_build_param_exports()
493 outputs[i].semantic != VARYING_SLOT_COL1 && in si_vertex_color_clamping()
517 outputs[i].semantic != VARYING_SLOT_COL1 && in si_vertex_color_clamping()
532 outputs[i].semantic != VARYING_SLOT_COL1 && in si_vertex_color_clamping()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_vs.c99 outputs_written |= BITFIELD64_BIT(VARYING_SLOT_COL1); in brw_vs_outputs_written()

12