summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_cc.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-06 10:38:19 +0000
committerKeith Whitwell <[email protected]>2009-11-06 10:38:19 +0000
commitcaf2cf884cb32883e9af07dbe36ca9648bae1821 (patch)
tree013c74f1282859ec0ab9c0055b050df4e5c17a1d /src/gallium/drivers/i965/brw_cc.c
parent212fb8adbd0e5e28a5d20b0cc03cde46df2831f4 (diff)
i965g: fix some reloc counts
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);