summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_cc.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-03 23:16:02 +0000
committerKeith Whitwell <[email protected]>2009-11-04 10:09:39 +0000
commita277bb20debc413f6ccf46f529497bf8bafa64dd (patch)
treeba3885ccdd386b674b221bc680be37c0cddd4eb8 /src/gallium/drivers/i965/brw_cc.c
parent4ea94c04c9ab7b11fa06c60f2487a911f1422844 (diff)
i965g: convert read/write domain pairs into single usage value
Easier to understand what's going on in the driver sources, convert stereotype usage values back to GEM read/write domain flags in the winsys.
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 c6267e1c606..20967f01911 100644
--- a/src/gallium/drivers/i965/brw_cc.c
+++ b/src/gallium/drivers/i965/brw_cc.c
@@ -151,7 +151,7 @@ cc_unit_create_from_key(struct brw_context *brw, struct brw_cc_unit_key *key)
/* Emit CC viewport relocation */
brw->sws->bo_emit_reloc(bo,
- I915_GEM_DOMAIN_INSTRUCTION, 0,
+ BRW_USAGE_STATE,
0,
offsetof(struct brw_cc_unit_state, cc4),
brw->cc.vp_bo);