aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Leese <gleese@broadcom.com>2020-06-22 11:03:46 +0100
committerGraeme Leese <gleese@broadcom.com>2020-06-22 11:03:46 +0100
commit060882fd3773d95b6d6a816215efec15e678bc6a (patch)
tree2cf8c8fcc0a23bf4b267351a2087b31234a548d4
parentff4b156e91bbeb6e0d6dfe6a7cbe894a42cb7981 (diff)
downloadglslang-060882fd3773d95b6d6a816215efec15e678bc6a.tar.gz
Update SPIR-V generator version
Change to 10 to reflect the change to generating unordered != operations.
-rw-r--r--SPIRV/GlslangToSpv.cpp3
1 files changed, 2 insertions, 1 deletions
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