summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965simple/brw_clip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/i965simple/brw_clip.h')
-rw-r--r--src/gallium/drivers/i965simple/brw_clip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965simple/brw_clip.h b/src/gallium/drivers/i965simple/brw_clip.h
index a89d08b7910..d70fc094ff5 100644
--- a/src/gallium/drivers/i965simple/brw_clip.h
+++ b/src/gallium/drivers/i965simple/brw_clip.h
@@ -116,7 +116,7 @@ struct brw_clip_compile {
unsigned last_mrf;
unsigned header_position_offset;
- unsigned offset[PIPE_ATTRIB_MAX];
+ unsigned offset[PIPE_MAX_ATTRIBS];
};
#define ATTR_SIZE (4*4)