mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
i965: Shut up a few unused variable warnings.
If asserts are disabled, you get pointless warnings about devinfo being used (it's used to assert on devinfo->gen).
This commit is contained in:
parent
a140aeb619
commit
a693a6f51a
1 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@
|
|||
static void
|
||||
gen10_emit_wa_cs_stall_flush(struct brw_context *brw)
|
||||
{
|
||||
const struct gen_device_info *devinfo = &brw->screen->devinfo;
|
||||
UNUSED const struct gen_device_info *devinfo = &brw->screen->devinfo;
|
||||
assert(devinfo->gen == 10);
|
||||
brw_emit_pipe_control_flush(brw,
|
||||
PIPE_CONTROL_CS_STALL |
|
||||
|
|
@ -54,7 +54,7 @@ gen10_emit_wa_cs_stall_flush(struct brw_context *brw)
|
|||
static void
|
||||
gen10_emit_wa_lri_to_cache_mode_zero(struct brw_context *brw)
|
||||
{
|
||||
const struct gen_device_info *devinfo = &brw->screen->devinfo;
|
||||
UNUSED const struct gen_device_info *devinfo = &brw->screen->devinfo;
|
||||
assert(devinfo->gen == 10);
|
||||
|
||||
/* Write to CACHE_MODE_0 (0x7000) */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue