summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_quad.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2009-02-11 21:38:20 -0700
committerBrian <[email protected]>2009-02-11 21:38:20 -0700
commit253d2d1676e07ddfc566f3761e409f9cabde1937 (patch)
tree5c6a7f127639ed873c3803261efa6aa608ef8b94 /src/gallium/drivers/softpipe/sp_quad.h
parent7925274da323d5a896b557181d4016e0391f026f (diff)
softpipe: rename PRIM_x to QUAD_PRIM_x
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 37c03bfc092..0ef425a310f 100644
--- a/src/gallium/drivers/softpipe/sp_quad.h
+++ b/src/gallium/drivers/softpipe/sp_quad.h
@@ -34,9 +34,9 @@
#include "pipe/p_state.h"
#include "tgsi/tgsi_exec.h"
-#define PRIM_POINT 1
-#define PRIM_LINE 2
-#define PRIM_TRI 3
+#define QUAD_PRIM_POINT 1
+#define QUAD_PRIM_LINE 2
+#define QUAD_PRIM_TRI 3
/* The rasterizer generates 2x2 quads of fragment and feeds them to
@@ -65,7 +65,7 @@ struct quad_header_input
int y0;
float coverage[QUAD_SIZE]; /** fragment coverage for antialiasing */
unsigned facing:1; /**< Front (0) or back (1) facing? */
- unsigned prim:2; /**< PRIM_POINT, LINE, TRI */
+ unsigned prim:2; /**< QUAD_PRIM_POINT, LINE, TRI */
};
struct quad_header_inout