summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-10-22 11:32:05 -0700
committerEric Anholt <[email protected]>2011-10-29 12:17:01 -0700
commit0969568fce93bde927797ed4eeae0df6546806a3 (patch)
tree9bbcfb455d1977713c98766a104356358b39ce85
parent47c4d950cbc62f004ecdfe2eb197eb8a440cf1ae (diff)
i965/gen4: Move CURBE offset calculation to emit() time.
This is consumed by the unit state. Reviewed-by: Kenneth Graunke <[email protected]> Acked-by: Paul Berry <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_curbe.c2
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 86a39d982ff..93ee7091309 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
};