summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_cc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/i965/brw_cc.c')
-rw-r--r--src/gallium/drivers/i965/brw_cc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_cc.c b/src/gallium/drivers/i965/brw_cc.c
index 94e2c99c3ef..f05728ea5d7 100644
--- a/src/gallium/drivers/i965/brw_cc.c
+++ b/src/gallium/drivers/i965/brw_cc.c
@@ -150,7 +150,7 @@ cc_unit_create_from_key(struct brw_context *brw,
ret = brw_upload_cache(&brw->cache, BRW_CC_UNIT,
key, sizeof(*key),
- reloc, Elements(reloc),
+ reloc, 1,
&cc, sizeof(cc),
NULL, NULL,
bo_out);