glsl: Drop the dead MOD_TO_FLOOR path.

It's now called lower_fmod in NIR.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8044>
This commit is contained in:
Emma Anholt
2022-03-28 15:54:31 -07:00
committed by Marge Bot
parent 7f13763690
commit 3a42e92a4f
3 changed files with 1 additions and 63 deletions
+1 -1
View File
@@ -1900,7 +1900,7 @@ vec4_visitor::nir_emit_alu(nir_alu_instr *instr)
unreachable("not reached: should be lowered by DIV_TO_MUL_RCP in the compiler");
case nir_op_fmod:
unreachable("not reached: should be lowered by MOD_TO_FLOOR in the compiler");
unreachable("not reached: should be lowered by lower_fmod in the compiler");
case nir_op_fsub:
case nir_op_isub: