/external/mesa3d/src/mesa/swrast_setup/ |
D | ss_context.c | 97 #define EMIT_ATTR( ATTR, STYLE, MEMBER ) \ macro 129 EMIT_ATTR( _TNL_ATTRIB_POS, EMIT_4F_VIEWPORT, attrib[VARYING_SLOT_POS] ); 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() 139 EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_4F, attrib[VARYING_SLOT_COL1]); in setup_vertex_format() 144 EMIT_ATTR( _TNL_ATTRIB_FOG, emit, attrib[VARYING_SLOT_FOGC]); in setup_vertex_format() 151 EMIT_ATTR( _TNL_ATTRIB_TEX(i), EMIT_4F, in setup_vertex_format() 161 EMIT_ATTR( _TNL_ATTRIB_GENERIC(i), VARYING_EMIT_STYLE, in setup_vertex_format() 168 EMIT_ATTR( _TNL_ATTRIB_POINTSIZE, EMIT_1F, pointSize ); in setup_vertex_format()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_swtcl.c | 65 #define EMIT_ATTR( ATTR, STYLE, F0 ) \ macro 115 EMIT_ATTR( _TNL_ATTRIB_POS, EMIT_4F, in radeonSetVertexFormat() 120 EMIT_ATTR( _TNL_ATTRIB_POS, EMIT_3F, in radeonSetVertexFormat() 127 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4UB_4F_RGBA, in radeonSetVertexFormat() 130 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4UB_4F_ABGR, in radeonSetVertexFormat() 142 EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_3UB_3F_RGB, in radeonSetVertexFormat() 150 EMIT_ATTR( _TNL_ATTRIB_FOG, EMIT_1UB_1F, in radeonSetVertexFormat() 158 EMIT_ATTR( _TNL_ATTRIB_FOG, EMIT_1UB_1F, in radeonSetVertexFormat() 167 EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_3UB_3F_BGR, in radeonSetVertexFormat() 186 EMIT_ATTR( _TNL_ATTRIB_TEX0+i, EMIT_2F, in radeonSetVertexFormat() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_swtcl.c | 61 #define EMIT_ATTR( ATTR, STYLE, F0 ) \ macro 105 EMIT_ATTR( _TNL_ATTRIB_POS, EMIT_4F, R200_VTX_XY | R200_VTX_Z0 | R200_VTX_W0 ); in r200SetVertexFormat() 109 EMIT_ATTR( _TNL_ATTRIB_POS, EMIT_3F, R200_VTX_XY | R200_VTX_Z0 ); in r200SetVertexFormat() 114 EMIT_ATTR( _TNL_ATTRIB_POINTSIZE, EMIT_1F, R200_VTX_POINT_SIZE ); in r200SetVertexFormat() 120 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() 133 EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_3UB_3F_RGB, (R200_VTX_PK_RGBA << R200_VTX_COLOR_1_SHIFT) ); in r200SetVertexFormat() 140 EMIT_ATTR( _TNL_ATTRIB_FOG, EMIT_1UB_1F, (R200_VTX_PK_RGBA << R200_VTX_COLOR_1_SHIFT) ); in r200SetVertexFormat() 147 EMIT_ATTR( _TNL_ATTRIB_FOG, EMIT_1UB_1F, (R200_VTX_PK_RGBA << R200_VTX_COLOR_1_SHIFT) ); in r200SetVertexFormat() 155 EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_3UB_3F_BGR, (R200_VTX_PK_RGBA << R200_VTX_COLOR_1_SHIFT) ); in r200SetVertexFormat() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i830_vtbl.c | 51 #define EMIT_ATTR( ATTR, STYLE, V0 ) \ macro 97 EMIT_ATTR(_TNL_ATTRIB_POS, EMIT_4F_VIEWPORT, VFT0_XYZW); in i830_render_start() 101 EMIT_ATTR(_TNL_ATTRIB_POS, EMIT_3F_VIEWPORT, VFT0_XYZ); in i830_render_start() 106 EMIT_ATTR(_TNL_ATTRIB_POINTSIZE, EMIT_1F, VFT0_POINT_WIDTH); in i830_render_start() 109 EMIT_ATTR(_TNL_ATTRIB_COLOR0, EMIT_4UB_4F_BGRA, VFT0_DIFFUSE); in i830_render_start() 116 EMIT_ATTR(_TNL_ATTRIB_COLOR1, EMIT_3UB_3F_BGR, VFT0_SPEC); in i830_render_start() 122 EMIT_ATTR(_TNL_ATTRIB_FOG, EMIT_1UB_1F, VFT0_SPEC); in i830_render_start() 160 EMIT_ATTR(_TNL_ATTRIB_TEX0 + i, emit, 0); in i830_render_start()
|
D | i915_fragprog.c | 1260 EMIT_ATTR(_TNL_ATTRIB_POS, EMIT_4F_VIEWPORT, S4_VFMT_XYZW, 16); in i915ValidateFragmentProgram() 1264 EMIT_ATTR(_TNL_ATTRIB_POINTSIZE, EMIT_1F, S4_VFMT_POINT_WIDTH, 4); in i915ValidateFragmentProgram() 1268 EMIT_ATTR(_TNL_ATTRIB_COLOR0, EMIT_4UB_4F_BGRA, S4_VFMT_COLOR, 4); in i915ValidateFragmentProgram() 1273 EMIT_ATTR(_TNL_ATTRIB_COLOR1, EMIT_4UB_4F_BGRA, S4_VFMT_SPEC_FOG, 4); in i915ValidateFragmentProgram() 1277 EMIT_ATTR(_TNL_ATTRIB_FOG, EMIT_1F, S4_VFMT_FOG_PARAM, 4); in i915ValidateFragmentProgram() 1288 EMIT_ATTR(_TNL_ATTRIB_TEX0 + i, EMIT_SZ(sz), 0, sz * 4); in i915ValidateFragmentProgram() 1297 EMIT_ATTR(_TNL_ATTRIB_GENERIC0 + i, EMIT_SZ(sz), 0, sz * 4); in i915ValidateFragmentProgram()
|
D | i915_context.h | 294 #define EMIT_ATTR( ATTR, STYLE, S4, SZ ) \ macro
|