mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 07:00:12 +01:00
anv: fix release build unused variable warnings
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
This commit is contained in:
parent
90c29784c6
commit
3a1b15c392
2 changed files with 3 additions and 2 deletions
|
|
@ -909,7 +909,8 @@ anv_cmd_buffer_alloc_blorp_binding_table(struct anv_cmd_buffer *cmd_buffer,
|
|||
state_offset);
|
||||
if (bt_state.map == NULL) {
|
||||
/* We ran out of space. Grab a new binding table block. */
|
||||
VkResult result = anv_cmd_buffer_new_binding_table_block(cmd_buffer);
|
||||
MAYBE_UNUSED VkResult result =
|
||||
anv_cmd_buffer_new_binding_table_block(cmd_buffer);
|
||||
assert(result == VK_SUCCESS);
|
||||
|
||||
/* Re-emit state base addresses so we get the new surface state base
|
||||
|
|
|
|||
|
|
@ -697,7 +697,7 @@ genX(cmd_buffer_config_l3)(struct anv_cmd_buffer *cmd_buffer,
|
|||
assert(!urb_low_bw || cfg->n[GEN_L3P_URB] == cfg->n[GEN_L3P_SLM]);
|
||||
|
||||
/* Minimum number of ways that can be allocated to the URB. */
|
||||
const unsigned n0_urb = (devinfo->is_baytrail ? 32 : 0);
|
||||
MAYBE_UNUSED const unsigned n0_urb = devinfo->is_baytrail ? 32 : 0;
|
||||
assert(cfg->n[GEN_L3P_URB] >= n0_urb);
|
||||
|
||||
uint32_t l3sqcr1, l3cr2, l3cr3;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue