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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd27c25ff9379454c92a65b9e6f4f1ee23e3665c;p=mesa.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 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 };