mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 23:20:08 +01:00
i965/nir/vec4: "noise" ops should already be lowered
Marked them as unreachable. Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
This commit is contained in:
parent
fa4731f4a5
commit
3f10c2f3d7
1 changed files with 18 additions and 0 deletions
|
|
@ -1024,6 +1024,24 @@ vec4_visitor::nir_emit_alu(nir_alu_instr *instr)
|
|||
emit(CMP(dst, op[0], src_reg(0), BRW_CONDITIONAL_NZ));
|
||||
break;
|
||||
|
||||
case nir_op_fnoise1_1:
|
||||
case nir_op_fnoise1_2:
|
||||
case nir_op_fnoise1_3:
|
||||
case nir_op_fnoise1_4:
|
||||
case nir_op_fnoise2_1:
|
||||
case nir_op_fnoise2_2:
|
||||
case nir_op_fnoise2_3:
|
||||
case nir_op_fnoise2_4:
|
||||
case nir_op_fnoise3_1:
|
||||
case nir_op_fnoise3_2:
|
||||
case nir_op_fnoise3_3:
|
||||
case nir_op_fnoise3_4:
|
||||
case nir_op_fnoise4_1:
|
||||
case nir_op_fnoise4_2:
|
||||
case nir_op_fnoise4_3:
|
||||
case nir_op_fnoise4_4:
|
||||
unreachable("not reached: should be handled by lower_noise");
|
||||
|
||||
default:
|
||||
unreachable("Unimplemented ALU operation");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue