summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_cc.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-01 19:30:53 +0000
committerKeith Whitwell <[email protected]>2009-11-01 19:30:53 +0000
commit15a8ac2c9d6ed13468ef88f3f3bd3ccf4ee2fd0e (patch)
treef84ed0c5a9169caf1486b7325a7bc9dc6f40b63f /src/gallium/drivers/i965/brw_cc.c
parentefda453d646c767fbf0f8e85aa09178095ab04d6 (diff)
i965g: driver and winsys compile
A milestone of sorts. Still a long way from something working -- the old one compiled too, at least some of the time...
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 bdd6418ae10..cf3791e11e3 100644
--- a/src/gallium/drivers/i965/brw_cc.c
+++ b/src/gallium/drivers/i965/brw_cc.c
@@ -137,7 +137,7 @@ cc_unit_create_from_key(struct brw_context *brw, struct brw_cc_unit_key *key)
cc.cc3 = key->cc3;
/* CACHE_NEW_CC_VP */
- cc.cc4.cc_viewport_state_offset = brw->cc.vp_bo->offset >> 5; /* reloc */
+ cc.cc4.cc_viewport_state_offset = *(brw->cc.vp_bo->offset) >> 5; /* reloc */
cc.cc5 = key->cc5;
cc.cc6 = key->cc6;