From 8f0a54e6ffab12f745eeccc5a98d6a243404fe67 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sat, 22 Oct 2011 11:25:15 -0700 Subject: [PATCH] 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 --- src/mesa/drivers/dri/i965/brw_urb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }; -- 2.30.2