From: Eric Anholt Date: Sat, 22 Oct 2011 18:34:49 +0000 (-0700) Subject: i965: Move the WM input sizes calculation to emit() time. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf11c9e4c1be307add4bb9355e6c0b5f4c44629f;p=mesa.git i965: Move the WM input sizes calculation to emit() time. It's used for program compile. Reviewed-by: Kenneth Graunke Acked-by: Paul Berry --- diff --git a/src/mesa/drivers/dri/i965/brw_vs_constval.c b/src/mesa/drivers/dri/i965/brw_vs_constval.c index 013a9cc4005..8b7993a7dec 100644 --- a/src/mesa/drivers/dri/i965/brw_vs_constval.c +++ b/src/mesa/drivers/dri/i965/brw_vs_constval.c @@ -237,6 +237,6 @@ const struct brw_tracked_state brw_wm_input_sizes = { .brw = BRW_NEW_VERTEX_PROGRAM | BRW_NEW_INPUT_DIMENSIONS, .cache = 0 }, - .prepare = calc_wm_input_sizes + .emit = calc_wm_input_sizes };