mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
nir: don't return void
Fixes: 14531d676b ("nir: make nir_const_value scalar")
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
This commit is contained in:
parent
7797823afa
commit
3acc4278ad
1 changed files with 2 additions and 1 deletions
|
|
@ -414,7 +414,8 @@ nir_eval_const_opcode(nir_op op, nir_const_value *dest,
|
|||
switch (op) {
|
||||
% for name in sorted(opcodes.keys()):
|
||||
case nir_op_${name}:
|
||||
return evaluate_${name}(dest, num_components, bit_width, src);
|
||||
evaluate_${name}(dest, num_components, bit_width, src);
|
||||
return;
|
||||
% endfor
|
||||
default:
|
||||
unreachable("shouldn't get here");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue