aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/gen6_cc.c8
-rw-r--r--src/mesa/drivers/dri/i965/gen6_depthstencil.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_cc.c b/src/mesa/drivers/dri/i965/gen6_cc.c
index b3ad157d032..916ec7d0456 100644
--- a/src/mesa/drivers/dri/i965/gen6_cc.c
+++ b/src/mesa/drivers/dri/i965/gen6_cc.c
@@ -33,7 +33,7 @@
#include "main/macros.h"
static void
-prepare_blend_state(struct brw_context *brw)
+gen6_upload_blend_state(struct brw_context *brw)
{
struct gl_context *ctx = &brw->intel.ctx;
struct gen6_blend_state *blend;
@@ -151,11 +151,11 @@ const struct brw_tracked_state gen6_blend_state = {
.brw = BRW_NEW_BATCH,
.cache = 0,
},
- .prepare = prepare_blend_state,
+ .emit = gen6_upload_blend_state,
};
static void
-gen6_prepare_color_calc_state(struct brw_context *brw)
+gen6_upload_color_calc_state(struct brw_context *brw)
{
struct gl_context *ctx = &brw->intel.ctx;
struct gen6_color_calc_state *cc;
@@ -187,7 +187,7 @@ const struct brw_tracked_state gen6_color_calc_state = {
.brw = BRW_NEW_BATCH,
.cache = 0,
},
- .prepare = gen6_prepare_color_calc_state,
+ .emit = gen6_upload_color_calc_state,
};
static void upload_cc_state_pointers(struct brw_context *brw)
diff --git a/src/mesa/drivers/dri/i965/gen6_depthstencil.c b/src/mesa/drivers/dri/i965/gen6_depthstencil.c
index 5d14147db3d..72e86879b2b 100644
--- a/src/mesa/drivers/dri/i965/gen6_depthstencil.c
+++ b/src/mesa/drivers/dri/i965/gen6_depthstencil.c
@@ -29,7 +29,7 @@
#include "brw_state.h"
static void
-gen6_prepare_depth_stencil_state(struct brw_context *brw)
+gen6_upload_depth_stencil_state(struct brw_context *brw)
{
struct gl_context *ctx = &brw->intel.ctx;
struct gen6_depth_stencil_state *ds;
@@ -92,5 +92,5 @@ const struct brw_tracked_state gen6_depth_stencil_state = {
.brw = BRW_NEW_BATCH,
.cache = 0,
},
- .prepare = gen6_prepare_depth_stencil_state,
+ .emit = gen6_upload_depth_stencil_state,
};