From 060882fd3773d95b6d6a816215efec15e678bc6a Mon Sep 17 00:00:00 2001 From: Graeme Leese Date: Mon, 22 Jun 2020 11:03:46 +0100 Subject: [PATCH] Update SPIR-V generator version Change to 10 to reflect the change to generating unordered != operations. --- SPIRV/GlslangToSpv.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SPIRV/GlslangToSpv.cpp b/SPIRV/GlslangToSpv.cpp index 4d9acd0f..b63d901c 100644 --- a/SPIRV/GlslangToSpv.cpp +++ b/SPIRV/GlslangToSpv.cpp @@ -8655,7 +8655,8 @@ int GetSpirvGeneratorVersion() // versions 4 and 6 each generate OpArrayLength as it has long been done // return 7; // GLSL volatile keyword maps to both SPIR-V decorations Volatile and Coherent // return 8; // switch to new dead block eliminator; use OpUnreachable - return 9; // don't include opaque function parameters in OpEntryPoint global's operand list + // return 9; // don't include opaque function parameters in OpEntryPoint global's operand list + return 10; // Generate OpFUnordNotEqual for != comparisons } // Write SPIR-V out to a binary file