aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-10-22 11:25:15 -0700
committerEric Anholt <[email protected]>2011-10-29 12:16:54 -0700
commit8f0a54e6ffab12f745eeccc5a98d6a243404fe67 (patch)
tree0fd45e6cbf1ae77b79c0a03003424f52edc2f4bb
parentab8637b03fbf2594bd1ed9ea70982b166ef991be (diff)
i965/gen4: Move URB fence recalculate to emit() time.
This is used by the unit state, which is at emit() time. Reviewed-by: Kenneth Graunke <[email protected]> Acked-by: Paul Berry <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_urb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_urb.c b/src/mesa/drivers/dri/i965/brw_urb.c
index cef44b56cbf..7643dc26848 100644
--- a/src/mesa/drivers/dri/i965/brw_urb.c
+++ b/src/mesa/drivers/dri/i965/brw_urb.c
@@ -216,7 +216,7 @@ const struct brw_tracked_state brw_recalculate_urb_fence = {
.cache = (CACHE_NEW_VS_PROG |
CACHE_NEW_SF_PROG)
},
- .prepare = recalculate_urb_fence
+ .emit = recalculate_urb_fence
};