summaryrefslogtreecommitdiff
path: root/lib/mesa/src/compiler/nir/nir_opt_undef.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/compiler/nir/nir_opt_undef.c')
-rw-r--r--lib/mesa/src/compiler/nir/nir_opt_undef.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/mesa/src/compiler/nir/nir_opt_undef.c b/lib/mesa/src/compiler/nir/nir_opt_undef.c
index 0f8ba31a6..c4777a86c 100644
--- a/lib/mesa/src/compiler/nir/nir_opt_undef.c
+++ b/lib/mesa/src/compiler/nir/nir_opt_undef.c
@@ -79,9 +79,7 @@ opt_undef_vecN(nir_builder *b, nir_alu_instr *alu)
{
if (alu->op != nir_op_vec2 &&
alu->op != nir_op_vec3 &&
- alu->op != nir_op_vec4 &&
- alu->op != nir_op_fmov &&
- alu->op != nir_op_imov)
+ alu->op != nir_op_vec4)
return false;
assert(alu->dest.dest.is_ssa);