mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 07:10:15 +01:00
zink: lower away fdph
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3668>
This commit is contained in:
parent
0c36b1c0db
commit
fa915a724f
2 changed files with 4 additions and 0 deletions
|
|
@ -1025,6 +1025,9 @@ emit_alu(struct ntv_context *ctx, nir_alu_instr *alu)
|
|||
result = emit_binop(ctx, SpvOpDot, dest_type, src[0], src[1]);
|
||||
break;
|
||||
|
||||
case nir_op_fdph:
|
||||
unreachable("should already be lowered away");
|
||||
|
||||
case nir_op_seq:
|
||||
case nir_op_sne:
|
||||
case nir_op_slt:
|
||||
|
|
|
|||
|
|
@ -164,6 +164,7 @@ lower_discard_if(nir_shader *shader)
|
|||
static const struct nir_shader_compiler_options nir_options = {
|
||||
.lower_all_io_to_temps = true,
|
||||
.lower_ffma = true,
|
||||
.lower_fdph = true,
|
||||
.lower_flrp32 = true,
|
||||
.lower_fpow = true,
|
||||
.lower_fsat = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue