summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-10-22 11:34:49 -0700
committerEric Anholt <[email protected]>2011-10-29 12:17:07 -0700
commitbf11c9e4c1be307add4bb9355e6c0b5f4c44629f (patch)
treec37e624fb1b3aded29b90710987666f1b32e84df /src
parentdc9a753f6687133d2d057597e5af86abcdc56781 (diff)
i965: Move the WM input sizes calculation to emit() time.
It's used for program compile. Reviewed-by: Kenneth Graunke <[email protected]> Acked-by: Paul Berry <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs_constval.c2
1 files changed, 1 insertions, 1 deletions
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
};