mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
nir: tag cls variable as maybe unused
Windows release builds strips asserts resulting in variable seen as unused (/we4189) Co-authored-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36915>
This commit is contained in:
parent
9b8fdca8bc
commit
836891ad44
1 changed files with 1 additions and 1 deletions
|
|
@ -1708,7 +1708,7 @@ print_intrinsic_instr(nir_intrinsic_instr *instr, print_state *state)
|
|||
|
||||
case NIR_INTRINSIC_PREAMBLE_CLASS: {
|
||||
/* "General" handled above */
|
||||
nir_preamble_class cls = nir_intrinsic_preamble_class(instr);
|
||||
ASSERTED nir_preamble_class cls = nir_intrinsic_preamble_class(instr);
|
||||
assert(cls == nir_preamble_class_image);
|
||||
fprintf(fp, "class=image");
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue