[Mesa-dev] [PATCH 23/33] i965/gen4: Move CURBE offset calculation to emit() time.

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


This is consumed by the unit state.
---
 src/mesa/drivers/dri/i965/brw_curbe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_curbe.c b/src/mesa/drivers/dri/i965/brw_curbe.c
index 86a39d9..93ee709 100644
--- a/src/mesa/drivers/dri/i965/brw_curbe.c
+++ b/src/mesa/drivers/dri/i965/brw_curbe.c
@@ -133,7 +133,7 @@ const struct brw_tracked_state brw_curbe_offsets = {
       .brw  = BRW_NEW_VERTEX_PROGRAM | BRW_NEW_CONTEXT,
       .cache = CACHE_NEW_WM_PROG
    },
-   .prepare = calculate_curbe_offsets
+   .emit = calculate_curbe_offsets
 };
 
 
-- 
1.7.7



More information about the mesa-dev mailing list