i965: Finally, move the global fallbacks check to emit() time.
authorEric Anholt <eric@anholt.net>
Sat, 22 Oct 2011 18:57:44 +0000 (11:57 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 29 Oct 2011 19:17:13 +0000 (12:17 -0700)
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>
src/mesa/drivers/dri/i965/brw_fallback.c

index 708bd0e9a54d2a12648ab21e235e4b04af788431..81fc23a4451cffc9a6c2f6559c5e2333f6e80e40 100644 (file)
@@ -69,7 +69,7 @@ const struct brw_tracked_state brw_check_fallback = {
       .brw  = 0,
       .cache = 0
    },
-   .prepare = check_fallback
+   .emit = check_fallback
 };