[Mesa-dev] [PATCH 25/33] i965: Move the WM input sizes calculation to emit() time.

Eric Anholt eric at anholt.net
Mon Oct 24 14:17:12 PDT 2011


It's used for program compile.
---
 src/mesa/drivers/dri/i965/brw_vs_constval.c |    2 +-
 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 013a9cc..8b7993a 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
 };
 
-- 
1.7.7



More information about the mesa-dev mailing list