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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f0a54e6ffab12f745eeccc5a98d6a243404fe67;p=mesa.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 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 };