summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_quad.h
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-01-14 08:46:05 -0500
committerTom Stellard <[email protected]>2012-01-30 13:37:00 -0500
commit6b63e25b3d7a6ac0bd738c139ead0c7e7ad84368 (patch)
treecd2731a2d948eb1cd48e1783b4045e8f8fce4e3b /src/gallium/drivers/softpipe/sp_quad.h
parent9ee1bcf7a5442ccb517a5cfbaf024755bd4d2738 (diff)
gallium: Prefix #defines in tgsi_exec.h with TGSI_
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_quad.h')
-rw-r--r--src/gallium/drivers/softpipe/sp_quad.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/softpipe/sp_quad.h b/src/gallium/drivers/softpipe/sp_quad.h
index e745aa80619..9d456b5eb4d 100644
--- a/src/gallium/drivers/softpipe/sp_quad.h
+++ b/src/gallium/drivers/softpipe/sp_quad.h
@@ -62,7 +62,7 @@
struct quad_header_input
{
int x0, y0; /**< quad window pos, always even */
- float coverage[QUAD_SIZE]; /**< fragment coverage for antialiasing */
+ float coverage[TGSI_QUAD_SIZE]; /**< fragment coverage for antialiasing */
unsigned facing:1; /**< Front (0) or back (1) facing? */
unsigned prim:2; /**< QUAD_PRIM_POINT, LINE, TRI */
};
@@ -83,9 +83,9 @@ struct quad_header_inout
struct quad_header_output
{
/** colors in SOA format (rrrr, gggg, bbbb, aaaa) */
- float color[PIPE_MAX_COLOR_BUFS][NUM_CHANNELS][QUAD_SIZE];
- float depth[QUAD_SIZE];
- uint8_t stencil[QUAD_SIZE];
+ float color[PIPE_MAX_COLOR_BUFS][TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE];
+ float depth[TGSI_QUAD_SIZE];
+ uint8_t stencil[TGSI_QUAD_SIZE];
};