mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 15:00:10 +01:00
spirv: Silence unused variable warnings in release mode
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
0421813588
commit
4483c5d57c
1 changed files with 1 additions and 0 deletions
|
|
@ -1149,6 +1149,7 @@ vtn_handle_constant(struct vtn_builder *b, SpvOp opcode,
|
|||
glsl_get_bit_size(v1->type->type);
|
||||
|
||||
assert(bit_size == bit_size0 && bit_size == bit_size1);
|
||||
(void)bit_size0; (void)bit_size1;
|
||||
|
||||
if (bit_size == 64) {
|
||||
uint64_t u64[8];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue