Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
nir_builder *b = &state->builder;
b->cursor = nir_before_instr(&intrin->instr);
- const bool use_bindless = state->pdevice->has_bindless_images;
+ ASSERTED const bool use_bindless = state->pdevice->has_bindless_images;
if (intrin->intrinsic == nir_intrinsic_image_deref_load_param_intel) {
b->cursor = nir_instr_remove(&intrin->instr);
const struct _mesa_prim *prim)
{
bool object_preemption = true;
- const struct gen_device_info *devinfo = &brw->screen->devinfo;
+ ASSERTED const struct gen_device_info *devinfo = &brw->screen->devinfo;
/* Only apply these workarounds for gen9 */
assert(devinfo->gen == 9);
void
brw_enable_obj_preemption(struct brw_context *brw, bool enable)
{
- const struct gen_device_info *devinfo = &brw->screen->devinfo;
+ ASSERTED const struct gen_device_info *devinfo = &brw->screen->devinfo;
assert(devinfo->gen >= 9);
if (enable == brw->object_preemption)