summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2011-10-22 11:57:44 -0700
committerEric Anholt <eric@anholt.net>2011-10-29 12:17:13 -0700
commitbd27c25ff9379454c92a65b9e6f4f1ee23e3665c (patch)
treedc4d8fe675153485f2722f20da550db70108e32b
parentc83bfeabc6af82f061d53b8b5923ee26f14efb58 (diff)
i965: Finally, move the global fallbacks check to emit() time.
This was the last prepare() function, and it's the first state atom, so it must be ready to move. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
-rw-r--r--src/mesa/drivers/dri/i965/brw_fallback.c2
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 708bd0e9a54..81fc23a4451 100644
--- a/src/mesa/drivers/dri/i965/brw_fallback.c
+++ b/src/mesa/drivers/dri/i965/brw_fallback.c
@@ -69,7 +69,7 @@ const struct brw_tracked_state brw_check_fallback = {
.brw = 0,
.cache = 0
},
- .prepare = check_fallback
+ .emit = check_fallback
};