summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-10-22 10:48:26 -0700
committerEric Anholt <[email protected]>2011-10-29 12:16:20 -0700
commit7a874d04a8410a2b778b29ba85797eaf45d96c84 (patch)
tree5387f019c1c9e05f78b66957a82817ee73344a2e /src/mesa/drivers/dri
parent9015969e6e9ce38d183e77a633f1d55117e07b26 (diff)
i965/gen4: Move CC VP to emit() time, since it's only needed by CC's emit().
Reviewed-by: Kenneth Graunke <[email protected]> Acked-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_cc.c4
1 files changed, 2 insertions, 2 deletions
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
};
/**