Home
last modified time | relevance | path

Searched refs:_TNL_ATTRIB_COLOR0 (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_maos_arrays.c192 if (VB->AttribPtr[_TNL_ATTRIB_COLOR0]->size == 4 && in radeonEmitArrays()
193 (VB->AttribPtr[_TNL_ATTRIB_COLOR0]->stride != 0 || in radeonEmitArrays()
194 VB->AttribPtr[_TNL_ATTRIB_COLOR0]->data[0][3] != 1.0)) { in radeonEmitArrays()
207 (char *)VB->AttribPtr[_TNL_ATTRIB_COLOR0]->data, in radeonEmitArrays()
209 VB->AttribPtr[_TNL_ATTRIB_COLOR0]->stride, in radeonEmitArrays()
Dradeon_maos_vbtmp.h125 if (VB->AttribPtr[_TNL_ATTRIB_COLOR0]) { in TAG()
126 col = VB->AttribPtr[_TNL_ATTRIB_COLOR0]->data; in TAG()
127 col_stride = VB->AttribPtr[_TNL_ATTRIB_COLOR0]->stride; in TAG()
Dradeon_swtcl.c127 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4UB_4F_RGBA, in radeonSetVertexFormat()
130 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4UB_4F_ABGR, in radeonSetVertexFormat()
/external/mesa3d/src/mesa/swrast_setup/
Dss_context.c131 if (index_bitset & BITFIELD64_BIT(_TNL_ATTRIB_COLOR0)) { in setup_vertex_format()
133 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4CHAN_4F_RGBA, color ); in setup_vertex_format()
135 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4F, attrib[VARYING_SLOT_COL0]); in setup_vertex_format()
290 _tnl_get_attr( ctx, vertex, _TNL_ATTRIB_COLOR0, in _swsetup_Translate()
/external/mesa3d/src/mesa/tnl/
Dt_vb_lighttmp.h74 VB->AttribPtr[_TNL_ATTRIB_COLOR0] = &store->LitColor[0]; in TAG()
258 VB->AttribPtr[_TNL_ATTRIB_COLOR0] = &store->LitColor[0]; in TAG()
442 VB->AttribPtr[_TNL_ATTRIB_COLOR0] = &store->LitColor[0]; in TAG()
548 VB->AttribPtr[_TNL_ATTRIB_COLOR0] = &store->LitColor[0]; in TAG()
Dt_context.c153 tnl->render_inputs_bitset |= BITFIELD64_BIT(_TNL_ATTRIB_COLOR0); in _tnl_InvalidateState()
Dt_context.h83 _TNL_ATTRIB_COLOR0, enumerator
Dt_vb_light.c240 VB->AttribPtr[_TNL_ATTRIB_COLOR0]; in prepare_materials()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_render.c82 swtnl_emit_attr(ctx, &map[n++], _TNL_ATTRIB_COLOR0, EMIT_4UB_4F_BGRA); in swtnl_choose_attrs()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tris.c449 _tnl_get_attr(ctx, v0, _TNL_ATTRIB_COLOR0, col); in intel_atten_point()
468 _tnl_set_attr(ctx, v0, _TNL_ATTRIB_COLOR0, col); in intel_atten_point()
476 _tnl_set_attr(ctx, v0, _TNL_ATTRIB_COLOR0, col); in intel_atten_point()
Di830_vtbl.c109 EMIT_ATTR(_TNL_ATTRIB_COLOR0, EMIT_4UB_4F_BGRA, VFT0_DIFFUSE); in i830_render_start()
Di915_fragprog.c1268 EMIT_ATTR(_TNL_ATTRIB_COLOR0, EMIT_4UB_4F_BGRA, S4_VFMT_COLOR, 4); in i915ValidateFragmentProgram()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_swtcl.c120 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4UB_4F_RGBA, (R200_VTX_PK_RGBA << R200_VTX_COLOR_0_SHIFT) ); in r200SetVertexFormat()
122 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4UB_4F_ABGR, (R200_VTX_PK_RGBA << R200_VTX_COLOR_0_SHIFT) ); in r200SetVertexFormat()