Mesa (main): spirv: SpvOpFUnordNotEqual doesn't need special treatment

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Oct 6 02:17:30 UTC 2021


Module: Mesa
Branch: main
Commit: 1ce48ce91d3a2f5255876271645e20de67a2bb6e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ce48ce91d3a2f5255876271645e20de67a2bb6e

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Mar 11 16:31:39 2021 -0800

spirv: SpvOpFUnordNotEqual doesn't need special treatment

The NIR fneu opcode already matches the "unordered not equal" semantics
of the SPIR-V opcode.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12320>

---

 src/compiler/spirv/vtn_alu.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/compiler/spirv/vtn_alu.c b/src/compiler/spirv/vtn_alu.c
index 6d9794fc954..54019c37396 100644
--- a/src/compiler/spirv/vtn_alu.c
+++ b/src/compiler/spirv/vtn_alu.c
@@ -601,7 +601,6 @@ vtn_handle_alu(struct vtn_builder *b, SpvOp opcode,
    }
 
    case SpvOpFUnordEqual:
-   case SpvOpFUnordNotEqual:
    case SpvOpFUnordLessThan:
    case SpvOpFUnordGreaterThan:
    case SpvOpFUnordLessThanEqual:



More information about the mesa-commit mailing list