summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_quad.h
diff options
context:
space:
mode:
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