summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_clip.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-10-24 13:18:34 +0100
committerKeith Whitwell <[email protected]>2009-10-24 13:19:26 +0100
commit074606a806df755ecbb84e0a1182c66fd0b2a8dd (patch)
tree7a1bbe361281dbd7000cceaa813cab03585a8a8c /src/gallium/drivers/i965/brw_clip.h
parent7ee60648a3696d8166d76b20156c4b43fddf9e71 (diff)
i965g: more files compiling
Diffstat (limited to 'src/gallium/drivers/i965/brw_clip.h')
-rw-r--r--src/gallium/drivers/i965/brw_clip.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gallium/drivers/i965/brw_clip.h b/src/gallium/drivers/i965/brw_clip.h
index d80ec819b97..cfe51bf2920 100644
--- a/src/gallium/drivers/i965/brw_clip.h
+++ b/src/gallium/drivers/i965/brw_clip.h
@@ -42,8 +42,7 @@
* up polygon offset and flatshading at this point:
*/
struct brw_clip_prog_key {
- GLuint attrs:32;
-
+ GLuint nr_attrs:5;
GLuint primitive:4;
GLuint nr_userclip:3;
GLuint do_flat_shading:1;
@@ -55,7 +54,7 @@ struct brw_clip_prog_key {
GLuint copy_bfc_cw:1;
GLuint copy_bfc_ccw:1;
GLuint clip_mode:3;
- GLuint pad1:12;
+ GLuint pad1:7;
GLfloat offset_factor;
GLfloat offset_units;
@@ -117,7 +116,7 @@ struct brw_clip_compile {
GLuint last_mrf;
GLuint header_position_offset;
- GLuint offset[VERT_ATTRIB_MAX];
+ GLuint offset[PIPE_MAX_SHADER_OUTPUTS];
GLboolean need_ff_sync;
};