i965/gen4: Move CC VP to emit() time, since it's only needed by CC's emit().

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Paul Berry <stereotype441@gmail.com>
This commit is contained in:
Eric Anholt 2011-10-22 10:48:26 -07:00
parent 9015969e6e
commit 7a874d04a8

View file

@ -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
};
/**