/external/mesa3d/src/mesa/swrast/ |
D | s_tritemp.h | 372 … span.attrStepX[VARYING_SLOT_COL0][0] = oneOverArea * (eMaj_dr * eBot.dy - eMaj.dy * eBot_dr); in NAME() 373 … span.attrStepY[VARYING_SLOT_COL0][0] = oneOverArea * (eMaj.dx * eBot_dr - eMaj_dr * eBot.dx); in NAME() 374 … span.attrStepX[VARYING_SLOT_COL0][1] = oneOverArea * (eMaj_dg * eBot.dy - eMaj.dy * eBot_dg); in NAME() 375 … span.attrStepY[VARYING_SLOT_COL0][1] = oneOverArea * (eMaj.dx * eBot_dg - eMaj_dg * eBot.dx); in NAME() 376 … span.attrStepX[VARYING_SLOT_COL0][2] = oneOverArea * (eMaj_db * eBot.dy - eMaj.dy * eBot_db); in NAME() 377 … span.attrStepY[VARYING_SLOT_COL0][2] = oneOverArea * (eMaj.dx * eBot_db - eMaj_db * eBot.dx); in NAME() 378 span.redStep = SignedFloatToFixed(span.attrStepX[VARYING_SLOT_COL0][0]); in NAME() 379 span.greenStep = SignedFloatToFixed(span.attrStepX[VARYING_SLOT_COL0][1]); in NAME() 380 span.blueStep = SignedFloatToFixed(span.attrStepX[VARYING_SLOT_COL0][2]); in NAME() 382 … span.attrStepX[VARYING_SLOT_COL0][3] = oneOverArea * (eMaj_da * eBot.dy - eMaj.dy * eBot_da); in NAME() [all …]
|
D | s_fog.c | 176 GLfloat (*rgba)[4] = span->array->attribs[VARYING_SLOT_COL0]; in _swrast_fog_rgba_span() 195 GLfloat (*rgba)[4] = span->array->attribs[VARYING_SLOT_COL0]; in _swrast_fog_rgba_span() 214 GLfloat (*rgba)[4] = span->array->attribs[VARYING_SLOT_COL0]; in _swrast_fog_rgba_span() 239 GLfloat (*rgba)[4] = span->array->attribs[VARYING_SLOT_COL0]; in _swrast_fog_rgba_span()
|
D | s_zoom.c | 168 zoomed.array->rgba = (GLchan (*)[4]) zoomed.array->attribs[VARYING_SLOT_COL0]; in zoom_span() 237 COPY_4V(zoomed.array->attribs[VARYING_SLOT_COL0][i], rgba[j]); in zoom_span() 275 zoomed.array->attribs[VARYING_SLOT_COL0][i][0] = rgb[j][0]; in zoom_span() 276 zoomed.array->attribs[VARYING_SLOT_COL0][i][1] = rgb[j][1]; in zoom_span() 277 zoomed.array->attribs[VARYING_SLOT_COL0][i][2] = rgb[j][2]; in zoom_span() 278 zoomed.array->attribs[VARYING_SLOT_COL0][i][3] = 1.0F; in zoom_span()
|
D | s_span.c | 111 COPY_4V(span->attrStart[VARYING_SLOT_COL0], ctx->Current.RasterColor); in _swrast_span_default_attribs() 112 ASSIGN_4V(span->attrStepX[VARYING_SLOT_COL0], 0.0, 0.0, 0.0, 0.0); in _swrast_span_default_attribs() 113 ASSIGN_4V(span->attrStepY[VARYING_SLOT_COL0], 0.0, 0.0, 0.0, 0.0); in _swrast_span_default_attribs() 324 GLfloat (*col0)[4] = span->array->attribs[VARYING_SLOT_COL0]; in interpolate_float_colors() 838 GLfloat (*col0)[4] = span->array->attribs[VARYING_SLOT_COL0]; in add_specular() 904 GLfloat (*rgba)[4] = span->array->attribs[VARYING_SLOT_COL0]; in apply_aa_coverage() 919 GLfloat (*rgba)[4] = span->array->attribs[VARYING_SLOT_COL0]; in clamp_colors() 943 src = span->array->attribs[VARYING_SLOT_COL0 + output]; in convert_color_type() 961 dst = span->array->attribs[VARYING_SLOT_COL0]; in convert_color_type() 987 span->array->rgba = (void *) span->array->attribs[VARYING_SLOT_COL0]; in shade_texture_span() [all …]
|
D | s_fragprog.c | 219 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()
|
D | s_feedback.c | 40 const GLfloat *color = v->attrib[VARYING_SLOT_COL0]; in feedback_vertex()
|
D | s_alpha.c | 125 GLfloat (*rgba)[4] = span->array->attribs[VARYING_SLOT_COL0]; in _swrast_alpha_test()
|
D | s_masking.c | 93 GLuint (*src)[4] = (GLuint (*)[4]) span->array->attribs[VARYING_SLOT_COL0]; in _swrast_mask_rgba_span()
|
D | swrast.h | 107 #define VARYING_SLOT_CI VARYING_SLOT_COL0
|
D | s_logic.c | 215 (GLuint *) span->array->attribs[VARYING_SLOT_COL0], in _swrast_logicop_rgba_span()
|
D | s_atifragshader.c | 558 COPY_4V(inputs[ATI_FS_INPUT_PRIMARY], span->array->attribs[VARYING_SLOT_COL0][col]); in init_machine() 588 COPY_4V(span->array->attribs[VARYING_SLOT_COL0][i], colOut); in _swrast_exec_fragment_shader()
|
/external/mesa3d/src/mesa/swrast_setup/ |
D | ss_tritmp.h | 77 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 …]
|
D | ss_context.c | 135 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/ |
D | brw_interpolation_map.c | 86 if (location == VARYING_SLOT_COL0 || location == VARYING_SLOT_COL1) { in brw_setup_vue_interpolation() 87 location = location + VARYING_SLOT_BFC0 - VARYING_SLOT_COL0; in brw_setup_vue_interpolation()
|
D | brw_vue_map.c | 145 if (slots_valid & BITFIELD64_BIT(VARYING_SLOT_COL0)) in brw_compute_vue_map() 146 assign_vue_slot(vue_map, VARYING_SLOT_COL0, slot++); in brw_compute_vue_map()
|
D | brw_clip_unfilled.c | 127 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()
|
D | brw_vec4_vs_visitor.cpp | 70 case VARYING_SLOT_COL0: in emit_urb_slot()
|
D | brw_compile_sf.c | 134 if (have_attr(c, VARYING_SLOT_COL0+i) && in copy_bfc() 137 get_varying(c, vert, VARYING_SLOT_COL0+i), in copy_bfc() 157 if (!(have_attr(c, VARYING_SLOT_COL0) && have_attr(c, VARYING_SLOT_BFC0)) && in do_twoside_color()
|
/external/mesa3d/src/compiler/glsl/tests/ |
D | invalidate_locations_test.cpp | 185 var->data.location = VARYING_SLOT_COL0; in TEST_F() 192 EXPECT_EQ(VARYING_SLOT_COL0, var->data.location); in TEST_F()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_two_sided_color.c | 99 case VARYING_SLOT_COL0: in setup_inputs() 116 if (state->colors[i].front->data.location == VARYING_SLOT_COL0) in setup_inputs()
|
D | nir_lower_clamp_color_outputs.c | 40 case VARYING_SLOT_COL0: in is_color_output()
|
/external/mesa3d/src/compiler/ |
D | shader_enums.h | 190 VARYING_SLOT_COL0, /* COL0 and COL1 must be contiguous */ enumerator 270 #define VARYING_BIT_COL0 BITFIELD64_BIT(VARYING_SLOT_COL0)
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_shader.h | 427 slot = VARYING_SLOT_COL0; in ir3_find_output() 430 } else if (slot == VARYING_SLOT_COL0) { in ir3_find_output()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_from_mesa.c | 73 case VARYING_SLOT_COL0: in tgsi_get_gl_varying_semantic()
|
/external/mesa3d/src/compiler/glsl/ |
D | opt_dead_builtin_varyings.cpp | 179 case VARYING_SLOT_COL0: in visit() 216 case VARYING_SLOT_COL0: in get()
|