Update SPIR-V generator version
authorGraeme Leese <gleese@broadcom.com>
Mon, 22 Jun 2020 10:03:46 +0000 (11:03 +0100)
committerGraeme Leese <gleese@broadcom.com>
Mon, 22 Jun 2020 10:03:46 +0000 (11:03 +0100)
Change to 10 to reflect the change to generating unordered !=
operations.

SPIRV/GlslangToSpv.cpp

index 4d9acd0..b63d901 100644 (file)
@@ -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