/external/mesa3d/src/mesa/swrast_setup/ |
D | ss_context.c | 96 #define EMIT_ATTR( ATTR, STYLE, MEMBER ) \ macro 128 EMIT_ATTR( _TNL_ATTRIB_POS, EMIT_4F_VIEWPORT, attrib[FRAG_ATTRIB_WPOS] ); in setup_vertex_format() 132 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4CHAN_4F_RGBA, color ); in setup_vertex_format() 134 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4F, attrib[FRAG_ATTRIB_COL0]); in setup_vertex_format() 138 EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_4F, attrib[FRAG_ATTRIB_COL1]); in setup_vertex_format() 143 EMIT_ATTR( _TNL_ATTRIB_FOG, emit, attrib[FRAG_ATTRIB_FOGC]); in setup_vertex_format() 150 EMIT_ATTR( _TNL_ATTRIB_TEX(i), EMIT_4F, in setup_vertex_format() 160 EMIT_ATTR( _TNL_ATTRIB_GENERIC(i), VARYING_EMIT_STYLE, in setup_vertex_format() 167 EMIT_ATTR( _TNL_ATTRIB_POINTSIZE, EMIT_1F, pointSize ); in setup_vertex_format()
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast_setup/ |
D | ss_context.c | 96 #define EMIT_ATTR( ATTR, STYLE, MEMBER ) \ macro 128 EMIT_ATTR( _TNL_ATTRIB_POS, EMIT_4F_VIEWPORT, attrib[FRAG_ATTRIB_WPOS] ); in setup_vertex_format() 132 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4CHAN_4F_RGBA, color ); in setup_vertex_format() 134 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4F, attrib[FRAG_ATTRIB_COL0]); in setup_vertex_format() 138 EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_4F, attrib[FRAG_ATTRIB_COL1]); in setup_vertex_format() 143 EMIT_ATTR( _TNL_ATTRIB_FOG, emit, attrib[FRAG_ATTRIB_FOGC]); in setup_vertex_format() 150 EMIT_ATTR( _TNL_ATTRIB_TEX(i), EMIT_4F, in setup_vertex_format() 160 EMIT_ATTR( _TNL_ATTRIB_GENERIC(i), VARYING_EMIT_STYLE, in setup_vertex_format() 167 EMIT_ATTR( _TNL_ATTRIB_POINTSIZE, EMIT_1F, pointSize ); in setup_vertex_format()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_swtcl.c | 67 #define EMIT_ATTR( ATTR, STYLE, F0 ) \ macro 117 EMIT_ATTR( _TNL_ATTRIB_POS, EMIT_4F, in radeonSetVertexFormat() 122 EMIT_ATTR( _TNL_ATTRIB_POS, EMIT_3F, in radeonSetVertexFormat() 129 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4UB_4F_RGBA, in radeonSetVertexFormat() 132 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4UB_4F_ABGR, in radeonSetVertexFormat() 144 EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_3UB_3F_RGB, in radeonSetVertexFormat() 152 EMIT_ATTR( _TNL_ATTRIB_FOG, EMIT_1UB_1F, in radeonSetVertexFormat() 160 EMIT_ATTR( _TNL_ATTRIB_FOG, EMIT_1UB_1F, in radeonSetVertexFormat() 169 EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_3UB_3F_BGR, in radeonSetVertexFormat() 188 EMIT_ATTR( _TNL_ATTRIB_TEX0+i, EMIT_2F, in radeonSetVertexFormat() [all …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
D | radeon_swtcl.c | 67 #define EMIT_ATTR( ATTR, STYLE, F0 ) \ macro 117 EMIT_ATTR( _TNL_ATTRIB_POS, EMIT_4F, in radeonSetVertexFormat() 122 EMIT_ATTR( _TNL_ATTRIB_POS, EMIT_3F, in radeonSetVertexFormat() 129 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4UB_4F_RGBA, in radeonSetVertexFormat() 132 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4UB_4F_ABGR, in radeonSetVertexFormat() 144 EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_3UB_3F_RGB, in radeonSetVertexFormat() 152 EMIT_ATTR( _TNL_ATTRIB_FOG, EMIT_1UB_1F, in radeonSetVertexFormat() 160 EMIT_ATTR( _TNL_ATTRIB_FOG, EMIT_1UB_1F, in radeonSetVertexFormat() 169 EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_3UB_3F_BGR, in radeonSetVertexFormat() 188 EMIT_ATTR( _TNL_ATTRIB_TEX0+i, EMIT_2F, in radeonSetVertexFormat() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_swtcl.c | 62 #define EMIT_ATTR( ATTR, STYLE, F0 ) \ macro 106 EMIT_ATTR( _TNL_ATTRIB_POS, EMIT_4F, R200_VTX_XY | R200_VTX_Z0 | R200_VTX_W0 ); in r200SetVertexFormat() 110 EMIT_ATTR( _TNL_ATTRIB_POS, EMIT_3F, R200_VTX_XY | R200_VTX_Z0 ); in r200SetVertexFormat() 115 EMIT_ATTR( _TNL_ATTRIB_POINTSIZE, EMIT_1F, R200_VTX_POINT_SIZE ); in r200SetVertexFormat() 121 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4UB_4F_RGBA, (R200_VTX_PK_RGBA << R200_VTX_COLOR_0_SHIFT) ); in r200SetVertexFormat() 123 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4UB_4F_ABGR, (R200_VTX_PK_RGBA << R200_VTX_COLOR_0_SHIFT) ); in r200SetVertexFormat() 134 EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_3UB_3F_RGB, (R200_VTX_PK_RGBA << R200_VTX_COLOR_1_SHIFT) ); in r200SetVertexFormat() 141 EMIT_ATTR( _TNL_ATTRIB_FOG, EMIT_1UB_1F, (R200_VTX_PK_RGBA << R200_VTX_COLOR_1_SHIFT) ); in r200SetVertexFormat() 148 EMIT_ATTR( _TNL_ATTRIB_FOG, EMIT_1UB_1F, (R200_VTX_PK_RGBA << R200_VTX_COLOR_1_SHIFT) ); in r200SetVertexFormat() 156 EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_3UB_3F_BGR, (R200_VTX_PK_RGBA << R200_VTX_COLOR_1_SHIFT) ); in r200SetVertexFormat() [all …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
D | r200_swtcl.c | 62 #define EMIT_ATTR( ATTR, STYLE, F0 ) \ macro 106 EMIT_ATTR( _TNL_ATTRIB_POS, EMIT_4F, R200_VTX_XY | R200_VTX_Z0 | R200_VTX_W0 ); in r200SetVertexFormat() 110 EMIT_ATTR( _TNL_ATTRIB_POS, EMIT_3F, R200_VTX_XY | R200_VTX_Z0 ); in r200SetVertexFormat() 115 EMIT_ATTR( _TNL_ATTRIB_POINTSIZE, EMIT_1F, R200_VTX_POINT_SIZE ); in r200SetVertexFormat() 121 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4UB_4F_RGBA, (R200_VTX_PK_RGBA << R200_VTX_COLOR_0_SHIFT) ); in r200SetVertexFormat() 123 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4UB_4F_ABGR, (R200_VTX_PK_RGBA << R200_VTX_COLOR_0_SHIFT) ); in r200SetVertexFormat() 134 EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_3UB_3F_RGB, (R200_VTX_PK_RGBA << R200_VTX_COLOR_1_SHIFT) ); in r200SetVertexFormat() 141 EMIT_ATTR( _TNL_ATTRIB_FOG, EMIT_1UB_1F, (R200_VTX_PK_RGBA << R200_VTX_COLOR_1_SHIFT) ); in r200SetVertexFormat() 148 EMIT_ATTR( _TNL_ATTRIB_FOG, EMIT_1UB_1F, (R200_VTX_PK_RGBA << R200_VTX_COLOR_1_SHIFT) ); in r200SetVertexFormat() 156 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() 159 EMIT_ATTR(_TNL_ATTRIB_TEX0 + i, emit, 0); in i830_render_start()
|
D | i915_fragprog.c | 1365 EMIT_ATTR(_TNL_ATTRIB_POS, EMIT_4F_VIEWPORT, S4_VFMT_XYZW, 16); in i915ValidateFragmentProgram() 1368 EMIT_ATTR(_TNL_ATTRIB_POS, EMIT_3F_VIEWPORT, S4_VFMT_XYZ, 12); in i915ValidateFragmentProgram() 1373 EMIT_ATTR(_TNL_ATTRIB_POINTSIZE, EMIT_1F, S4_VFMT_POINT_WIDTH, 4); in i915ValidateFragmentProgram() 1377 EMIT_ATTR(_TNL_ATTRIB_COLOR0, EMIT_4UB_4F_BGRA, S4_VFMT_COLOR, 4); in i915ValidateFragmentProgram() 1382 EMIT_ATTR(_TNL_ATTRIB_COLOR1, EMIT_4UB_4F_BGRA, S4_VFMT_SPEC_FOG, 4); in i915ValidateFragmentProgram() 1386 EMIT_ATTR(_TNL_ATTRIB_FOG, EMIT_1F, S4_VFMT_FOG_PARAM, 4); in i915ValidateFragmentProgram() 1396 EMIT_ATTR(_TNL_ATTRIB_TEX0 + i, EMIT_SZ(sz), 0, sz * 4); in i915ValidateFragmentProgram() 1404 EMIT_ATTR(_TNL_ATTRIB_GENERIC0 + i, EMIT_SZ(sz), 0, sz * 4); in i915ValidateFragmentProgram()
|
D | i915_context.h | 299 #define EMIT_ATTR( ATTR, STYLE, S4, SZ ) \ macro
|
/external/chromium_org/third_party/mesa/src/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() 159 EMIT_ATTR(_TNL_ATTRIB_TEX0 + i, emit, 0); in i830_render_start()
|
D | i915_fragprog.c | 1365 EMIT_ATTR(_TNL_ATTRIB_POS, EMIT_4F_VIEWPORT, S4_VFMT_XYZW, 16); in i915ValidateFragmentProgram() 1368 EMIT_ATTR(_TNL_ATTRIB_POS, EMIT_3F_VIEWPORT, S4_VFMT_XYZ, 12); in i915ValidateFragmentProgram() 1373 EMIT_ATTR(_TNL_ATTRIB_POINTSIZE, EMIT_1F, S4_VFMT_POINT_WIDTH, 4); in i915ValidateFragmentProgram() 1377 EMIT_ATTR(_TNL_ATTRIB_COLOR0, EMIT_4UB_4F_BGRA, S4_VFMT_COLOR, 4); in i915ValidateFragmentProgram() 1382 EMIT_ATTR(_TNL_ATTRIB_COLOR1, EMIT_4UB_4F_BGRA, S4_VFMT_SPEC_FOG, 4); in i915ValidateFragmentProgram() 1386 EMIT_ATTR(_TNL_ATTRIB_FOG, EMIT_1F, S4_VFMT_FOG_PARAM, 4); in i915ValidateFragmentProgram() 1396 EMIT_ATTR(_TNL_ATTRIB_TEX0 + i, EMIT_SZ(sz), 0, sz * 4); in i915ValidateFragmentProgram() 1404 EMIT_ATTR(_TNL_ATTRIB_GENERIC0 + i, EMIT_SZ(sz), 0, sz * 4); in i915ValidateFragmentProgram()
|
D | i915_context.h | 299 #define EMIT_ATTR( ATTR, STYLE, S4, SZ ) \ macro
|