nir/lower_variables_scalar: Silence a compiler warning
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
This commit is contained in:
parent
63eb32950e
commit
ea1eefe13f
|
@ -369,6 +369,8 @@ reg_const_load_single_instr(nir_reg_dest reg, nir_constant *constant,
|
|||
instr->value.u[i] = constant->value.u[i + offset] ?
|
||||
NIR_TRUE : NIR_FALSE;
|
||||
break;
|
||||
default:
|
||||
unreachable("Invalid immediate type");
|
||||
}
|
||||
}
|
||||
instr->dest.reg = reg;
|
||||
|
|
Loading…
Reference in New Issue