From 6cb6bc713376bc23f3c7eb74e1bb1f5d2f96a1c9 Mon Sep 17 00:00:00 2001 From: Georg Lehmann Date: Wed, 4 Sep 2024 12:45:44 +0200 Subject: [PATCH] elk: remove alu fddx/fddy check Reviewed-by: Alyssa Rosenzweig Reviewed-by: Rob Clark Part-of: --- src/intel/compiler/elk/elk_vec4_nir.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/intel/compiler/elk/elk_vec4_nir.cpp b/src/intel/compiler/elk/elk_vec4_nir.cpp index 431e620f5f2..abe0ba2b962 100644 --- a/src/intel/compiler/elk/elk_vec4_nir.cpp +++ b/src/intel/compiler/elk/elk_vec4_nir.cpp @@ -1397,14 +1397,6 @@ vec4_visitor::nir_emit_alu(nir_alu_instr *instr) inst = emit_minmax(ELK_CONDITIONAL_GE, dst, op[0], op[1]); break; - case nir_op_fddx: - case nir_op_fddx_coarse: - case nir_op_fddx_fine: - case nir_op_fddy: - case nir_op_fddy_coarse: - case nir_op_fddy_fine: - unreachable("derivatives are not valid in vertex shaders"); - case nir_op_ilt32: case nir_op_ult32: case nir_op_ige32: