[Mesa-dev] [PATCH 10/33] i965/gen4: Move CC VP to emit() time, since it's only needed by CC's emit().
Eric Anholt
eric at anholt.net
Mon Oct 24 14:16:57 PDT 2011
---
src/mesa/drivers/dri/i965/brw_cc.c | 4 ++--
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 c8ef8db..d1804e3 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
};
/**
--
1.7.7
More information about the mesa-dev
mailing list