void
gen7_emit_vs_workaround_flush(struct brw_context *brw)
{
- const struct gen_device_info *devinfo = &brw->screen->devinfo;
+ MAYBE_UNUSED const struct gen_device_info *devinfo = &brw->screen->devinfo;
assert(devinfo->gen == 7);
brw_emit_pipe_control_write(brw,
break;
switch ((enum driver_cache_blob_part)part_type) {
case GEN_PART: {
- uint32_t gen_size = blob_read_uint32(&reader);
+ MAYBE_UNUSED uint32_t gen_size = blob_read_uint32(&reader);
assert(!reader.overrun &&
(uintptr_t)(reader.end - reader.current) > gen_size);
deserialize_gen_program(&reader, ctx, prog, stage);
break;
}
case NIR_PART: {
- uint32_t nir_size = blob_read_uint32(&reader);
+ MAYBE_UNUSED uint32_t nir_size = blob_read_uint32(&reader);
assert(!reader.overrun &&
(uintptr_t)(reader.end - reader.current) > nir_size);
const struct nir_shader_compiler_options *options =