diff options
author | Brian <[email protected]> | 2007-07-13 11:15:10 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-07-13 11:15:10 -0600 |
commit | 80362a90d8ad1fca14d7276169fc962f953d936d (patch) | |
tree | c798bf18631edb8b57979ea59d58dca414acab24 /src/mesa/pipe/softpipe/sp_headers.h | |
parent | 46bba80a54afbcabc0f064433cc2194473661c30 (diff) |
Add 'prim' field to quad so that stipple and aa coverage stages can do the right thing.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_headers.h')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_headers.h | 11 |
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 bcc0f99add7..68a84621f2c 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 */ |