From: Eric Anholt Date: Sat, 22 Oct 2011 18:32:05 +0000 (-0700) Subject: i965/gen4: Move CURBE offset calculation to emit() time. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0969568fce93bde927797ed4eeae0df6546806a3;p=mesa.git i965/gen4: Move CURBE offset calculation to emit() time. This is consumed by the unit state. Reviewed-by: Kenneth Graunke Acked-by: Paul Berry --- 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 };