summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_headers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_headers.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_headers.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mesa/pipe/softpipe/sp_headers.h b/src/mesa/pipe/softpipe/sp_headers.h
index bcc0f99add..68a84621f2 100644
--- a/src/mesa/pipe/softpipe/sp_headers.h
+++ b/src/mesa/pipe/softpipe/sp_headers.h
@@ -64,17 +64,16 @@ struct setup_coefficient {
-/* Encodes everything we need to know about a 2x2 pixel block. Uses
+/**
+ * Encodes everything we need to know about a 2x2 pixel block. Uses
* "Channel-Serial" or "SoA" layout.
- *
- * Will expand to include non-attribute things like AA coverage and
- * maybe prefetched depth from the depth buffer.
*/
struct quad_header {
GLint x0;
GLint y0;
- GLuint mask;
- GLuint facing; /**< Front (0) or back (1) facing? */
+ GLuint mask:4;
+ GLuint facing:1; /**< Front (0) or back (1) facing? */
+ GLuint prim:2; /**< PRIM_POINT, LINE, TRI */
struct {
GLfloat color[4][QUAD_SIZE]; /* rrrr, gggg, bbbb, aaaa */