[Mesa-dev] [PATCH 28/33] i965: Finally, move the global fallbacks check to emit() time.

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


This was the last prepare() function, and it's the first state atom,
so it must be ready to move.
---
 src/mesa/drivers/dri/i965/brw_fallback.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_fallback.c b/src/mesa/drivers/dri/i965/brw_fallback.c
index ae08cf5..b408dae 100644
--- a/src/mesa/drivers/dri/i965/brw_fallback.c
+++ b/src/mesa/drivers/dri/i965/brw_fallback.c
@@ -84,7 +84,7 @@ const struct brw_tracked_state brw_check_fallback = {
       .brw  = 0,
       .cache = 0
    },
-   .prepare = check_fallback
+   .emit = check_fallback
 };
 
 
-- 
1.7.7



More information about the mesa-dev mailing list