From: Eric Anholt Date: Sat, 22 Oct 2011 18:25:15 +0000 (-0700) Subject: i965/gen4: Move URB fence recalculate to emit() time. X-Git-Tag: mesa-8.0-rc1~1389 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f0a54e6ffab12f745eeccc5a98d6a243404fe67;p=platform%2Fupstream%2Fmesa.git 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 Acked-by: Paul Berry --- diff --git a/src/mesa/drivers/dri/i965/brw_urb.c b/src/mesa/drivers/dri/i965/brw_urb.c index cef44b5..7643dc2 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 };