This is consumed by the WM unit, which is already at emit().
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Paul Berry <stereotype441@gmail.com>
* FIXME: simplify all the different new texture state flags.
*/
static void
-prepare_wm_samplers(struct brw_context *brw)
+brw_upload_wm_samplers(struct brw_context *brw)
{
struct gl_context *ctx = &brw->intel.ctx;
struct brw_sampler_state *samplers;
.brw = BRW_NEW_BATCH,
.cache = 0
},
- .prepare = prepare_wm_samplers,
+ .emit = brw_upload_wm_samplers,
};
* FIXME: simplify all the different new texture state flags.
*/
static void
-gen7_prepare_samplers(struct brw_context *brw)
+gen7_upload_samplers(struct brw_context *brw)
{
struct gl_context *ctx = &brw->intel.ctx;
struct gen7_sampler_state *samplers;
.brw = BRW_NEW_BATCH,
.cache = 0
},
- .prepare = gen7_prepare_samplers,
+ .emit = gen7_upload_samplers,
};