mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
glsl: Silence unused value warning.
This commit is contained in:
parent
7eaf33ad03
commit
ba0ac64f06
1 changed files with 2 additions and 0 deletions
|
|
@ -1122,6 +1122,8 @@ emit_clamp(slang_emit_info *emitInfo, slang_ir_node *n)
|
|||
return inst;
|
||||
}
|
||||
}
|
||||
#else
|
||||
(void) inst;
|
||||
#endif
|
||||
|
||||
if (!alloc_node_storage(emitInfo, n, n->Children[0]->Store->Size))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue