From: Eric Anholt Date: Sat, 22 Oct 2011 17:48:26 +0000 (-0700) Subject: i965/gen4: Move CC VP to emit() time, since it's only needed by CC's emit(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a874d04a8410a2b778b29ba85797eaf45d96c84;p=mesa.git 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 --- 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 }; /**