From: Eric Anholt Date: Sat, 22 Oct 2011 18:57:44 +0000 (-0700) Subject: i965: Finally, move the global fallbacks check to emit() time. X-Git-Tag: mesa-8.0-rc1~1381 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bd27c25ff9379454c92a65b9e6f4f1ee23e3665c;p=platform%2Fupstream%2Fmesa.git 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 Acked-by: Paul Berry --- diff --git a/src/mesa/drivers/dri/i965/brw_fallback.c b/src/mesa/drivers/dri/i965/brw_fallback.c index 708bd0e..81fc23a 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 };