[Mesa-dev] [PATCH 20/33] i965/gen4: Move URB fence recalculate to emit() time.

Eric Anholt eric at anholt.net
Mon Oct 24 14:17:07 PDT 2011


This is used by the unit state, which is at emit() time.
---
 src/mesa/drivers/dri/i965/brw_urb.c |    2 +-
 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 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
 };
 
 
-- 
1.7.7



More information about the mesa-dev mailing list