Home
last modified time | relevance | path

Searched refs:VARYING_SLOT_COL0 (Results 1 – 25 of 66) sorted by relevance

123

/external/mesa3d/src/mesa/swrast/
Ds_tritemp.h373 … span.attrStepX[VARYING_SLOT_COL0][0] = oneOverArea * (eMaj_dr * eBot.dy - eMaj.dy * eBot_dr); in NAME()
374 … span.attrStepY[VARYING_SLOT_COL0][0] = oneOverArea * (eMaj.dx * eBot_dr - eMaj_dr * eBot.dx); in NAME()
375 … span.attrStepX[VARYING_SLOT_COL0][1] = oneOverArea * (eMaj_dg * eBot.dy - eMaj.dy * eBot_dg); in NAME()
376 … span.attrStepY[VARYING_SLOT_COL0][1] = oneOverArea * (eMaj.dx * eBot_dg - eMaj_dg * eBot.dx); in NAME()
377 … span.attrStepX[VARYING_SLOT_COL0][2] = oneOverArea * (eMaj_db * eBot.dy - eMaj.dy * eBot_db); in NAME()
378 … span.attrStepY[VARYING_SLOT_COL0][2] = oneOverArea * (eMaj.dx * eBot_db - eMaj_db * eBot.dx); in NAME()
379 span.redStep = SignedFloatToFixed(span.attrStepX[VARYING_SLOT_COL0][0]); in NAME()
380 span.greenStep = SignedFloatToFixed(span.attrStepX[VARYING_SLOT_COL0][1]); in NAME()
381 span.blueStep = SignedFloatToFixed(span.attrStepX[VARYING_SLOT_COL0][2]); in NAME()
383 … span.attrStepX[VARYING_SLOT_COL0][3] = oneOverArea * (eMaj_da * eBot.dy - eMaj.dy * eBot_da); in NAME()
[all …]
Ds_fog.c177 GLfloat (*rgba)[4] = span->array->attribs[VARYING_SLOT_COL0]; in _swrast_fog_rgba_span()
196 GLfloat (*rgba)[4] = span->array->attribs[VARYING_SLOT_COL0]; in _swrast_fog_rgba_span()
215 GLfloat (*rgba)[4] = span->array->attribs[VARYING_SLOT_COL0]; in _swrast_fog_rgba_span()
240 GLfloat (*rgba)[4] = span->array->attribs[VARYING_SLOT_COL0]; in _swrast_fog_rgba_span()
Ds_zoom.c169 zoomed.array->rgba = (GLchan (*)[4]) zoomed.array->attribs[VARYING_SLOT_COL0]; in zoom_span()
238 COPY_4V(zoomed.array->attribs[VARYING_SLOT_COL0][i], rgba[j]); in zoom_span()
276 zoomed.array->attribs[VARYING_SLOT_COL0][i][0] = rgb[j][0]; in zoom_span()
277 zoomed.array->attribs[VARYING_SLOT_COL0][i][1] = rgb[j][1]; in zoom_span()
278 zoomed.array->attribs[VARYING_SLOT_COL0][i][2] = rgb[j][2]; in zoom_span()
279 zoomed.array->attribs[VARYING_SLOT_COL0][i][3] = 1.0F; in zoom_span()
Ds_span.c112 COPY_4V(span->attrStart[VARYING_SLOT_COL0], ctx->Current.RasterColor); in _swrast_span_default_attribs()
113 ASSIGN_4V(span->attrStepX[VARYING_SLOT_COL0], 0.0, 0.0, 0.0, 0.0); in _swrast_span_default_attribs()
114 ASSIGN_4V(span->attrStepY[VARYING_SLOT_COL0], 0.0, 0.0, 0.0, 0.0); in _swrast_span_default_attribs()
325 GLfloat (*col0)[4] = span->array->attribs[VARYING_SLOT_COL0]; in interpolate_float_colors()
839 GLfloat (*col0)[4] = span->array->attribs[VARYING_SLOT_COL0]; in add_specular()
905 GLfloat (*rgba)[4] = span->array->attribs[VARYING_SLOT_COL0]; in apply_aa_coverage()
920 GLfloat (*rgba)[4] = span->array->attribs[VARYING_SLOT_COL0]; in clamp_colors()
944 src = span->array->attribs[VARYING_SLOT_COL0 + output]; in convert_color_type()
962 dst = span->array->attribs[VARYING_SLOT_COL0]; in convert_color_type()
988 span->array->rgba = (void *) span->array->attribs[VARYING_SLOT_COL0]; in shade_texture_span()
[all …]
Ds_fragprog.c219 COPY_4V(span->array->attribs[VARYING_SLOT_COL0][i], in run_program()
230 COPY_4V(span->array->attribs[VARYING_SLOT_COL0 + buf][i], in run_program()
Ds_feedback.c40 const GLfloat *color = v->attrib[VARYING_SLOT_COL0]; in feedback_vertex()
Ds_alpha.c125 GLfloat (*rgba)[4] = span->array->attribs[VARYING_SLOT_COL0]; in _swrast_alpha_test()
Ds_masking.c99 GLuint (*src)[4] = (GLuint (*)[4]) span->array->attribs[VARYING_SLOT_COL0]; in _swrast_mask_rgba_span()
Dswrast.h107 #define VARYING_SLOT_CI VARYING_SLOT_COL0
/external/mesa3d/src/mesa/swrast_setup/
Dss_tritmp.h77 COPY_4V(saved_col0[0], v[0]->attrib[VARYING_SLOT_COL0]); in TAG()
78 COPY_4V(saved_col0[1], v[1]->attrib[VARYING_SLOT_COL0]); in TAG()
79 COPY_4V(saved_col0[2], v[2]->attrib[VARYING_SLOT_COL0]); in TAG()
89 COPY_4V(v[0]->attrib[VARYING_SLOT_COL0], vbcolor[e0]); in TAG()
90 COPY_4V(v[1]->attrib[VARYING_SLOT_COL0], vbcolor[e1]); in TAG()
91 COPY_4V(v[2]->attrib[VARYING_SLOT_COL0], vbcolor[e2]); in TAG()
102 COPY_4V(v[0]->attrib[VARYING_SLOT_COL0], vbcolor[0]); in TAG()
103 COPY_4V(v[1]->attrib[VARYING_SLOT_COL0], vbcolor[0]); in TAG()
104 COPY_4V(v[2]->attrib[VARYING_SLOT_COL0], vbcolor[0]); in TAG()
197 COPY_4V(v[0]->attrib[VARYING_SLOT_COL0], saved_col0[0]); in TAG()
[all …]
Dss_context.c135 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4F, attrib[VARYING_SLOT_COL0]); in setup_vertex_format()
291 dest->attrib[VARYING_SLOT_COL0] ); in _swsetup_Translate()
293 UNCLAMPED_FLOAT_TO_RGBA_CHAN(dest->color, dest->attrib[VARYING_SLOT_COL0]); in _swsetup_Translate()
/external/mesa3d/src/intel/compiler/
Dbrw_interpolation_map.c85 if (location == VARYING_SLOT_COL0 || location == VARYING_SLOT_COL1) { in brw_setup_vue_interpolation()
86 location = location + VARYING_SLOT_BFC0 - VARYING_SLOT_COL0; in brw_setup_vue_interpolation()
Dbrw_vue_map.c162 if (slots_valid & BITFIELD64_BIT(VARYING_SLOT_COL0)) in brw_compute_vue_map()
163 assign_vue_slot(vue_map, VARYING_SLOT_COL0, slot++); in brw_compute_vue_map()
Dbrw_vec4_vs_visitor.cpp70 case VARYING_SLOT_COL0: in emit_urb_slot()
Dbrw_clip_unfilled.c127 if (!(brw_clip_have_varying(c, VARYING_SLOT_COL0) && in copy_bfc()
153 if (brw_clip_have_varying(c, VARYING_SLOT_COL0) && in copy_bfc()
158 VARYING_SLOT_COL0)), in copy_bfc()
/external/mesa3d/src/compiler/glsl/tests/
Dinvalidate_locations_test.cpp189 var->data.location = VARYING_SLOT_COL0; in TEST_F()
196 EXPECT_EQ(VARYING_SLOT_COL0, var->data.location); in TEST_F()
/external/mesa3d/src/compiler/nir/
Dnir_lower_flatshade.c32 (var->data.location == VARYING_SLOT_COL0 || in lower_input()
Dnir_lower_two_sided_color.c107 case VARYING_SLOT_COL0: in setup_inputs()
124 if (state->colors[i].front->data.location == VARYING_SLOT_COL0) in setup_inputs()
Dnir_lower_clamp_color_outputs.c41 case VARYING_SLOT_COL0: in is_color_output()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_shader.c213 (VARYING_SLOT_COL0 | in st_update_vp()
278 (VARYING_SLOT_COL0 | in st_update_common_program()
/external/mesa3d/src/compiler/
Dshader_enums.h260 VARYING_SLOT_COL0, /* COL0 and COL1 must be contiguous */ enumerator
341 #define VARYING_BIT_COL0 BITFIELD64_BIT(VARYING_SLOT_COL0)
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_shader_geometry.cpp89 input->data.location == VARYING_SLOT_COL0 || in do_process_inputs()
115 if (output->data.location == VARYING_SLOT_COL0 || in do_process_outputs()
/external/mesa3d/src/compiler/glsl/
Dopt_dead_builtin_varyings.cpp180 case VARYING_SLOT_COL0: in visit()
217 case VARYING_SLOT_COL0: in get()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_from_mesa.c73 case VARYING_SLOT_COL0: in tgsi_get_gl_varying_semantic()
/external/mesa3d/src/freedreno/ir3/
Dir3_shader.h817 slot = VARYING_SLOT_COL0; in ir3_find_output()
820 } else if (slot == VARYING_SLOT_COL0) { in ir3_find_output()

123