#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;
.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;
.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)
#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;
.brw = BRW_NEW_BATCH,
.cache = 0,
},
- .prepare = gen6_prepare_depth_stencil_state,
+ .emit = gen6_upload_depth_stencil_state,
};