elk: remove alu fddx/fddy check

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31014>
This commit is contained in:
Georg Lehmann
2024-09-04 12:45:44 +02:00
committed by Marge Bot
parent 1371a8fe2b
commit 6cb6bc7133
-8
View File
@@ -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: