i965/gen4: Move URB fence recalculate to emit() time.
authorEric Anholt <eric@anholt.net>
Sat, 22 Oct 2011 18:25:15 +0000 (11:25 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 29 Oct 2011 19:16:54 +0000 (12:16 -0700)
This is used by the unit state, which is at emit() time.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_urb.c

index cef44b56cbfd684042bd692494269250cbbb0e87..7643dc26848f628cdd9b2e6ab8f6848fabf9f72d 100644 (file)
@@ -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
 };