From 7a874d04a8410a2b778b29ba85797eaf45d96c84 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sat, 22 Oct 2011 10:48:26 -0700 Subject: i965/gen4: Move CC VP to emit() time, since it's only needed by CC's emit(). Reviewed-by: Kenneth Graunke Acked-by: Paul Berry --- src/mesa/drivers/dri/i965/brw_cc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/i965/brw_cc.c') diff --git a/src/mesa/drivers/dri/i965/brw_cc.c b/src/mesa/drivers/dri/i965/brw_cc.c index c8ef8dbabae..d1804e36b95 100644 --- a/src/mesa/drivers/dri/i965/brw_cc.c +++ b/src/mesa/drivers/dri/i965/brw_cc.c @@ -38,7 +38,7 @@ #include "intel_batchbuffer.h" static void -prepare_cc_vp(struct brw_context *brw) +brw_upload_cc_vp(struct brw_context *brw) { struct gl_context *ctx = &brw->intel.ctx; struct brw_cc_viewport *ccv; @@ -65,7 +65,7 @@ const struct brw_tracked_state brw_cc_vp = { .brw = BRW_NEW_BATCH, .cache = 0 }, - .prepare = prepare_cc_vp + .emit = brw_upload_cc_vp }; /** -- cgit v1.2.3