diff --git a/SPIRV/doc.cpp b/SPIRV/doc.cpp index b0351e495d7d37799119412b8dd3fc2cf1cbd7c2..b497bba7ed181b1f14417592367ee1a2921f2cd6 100755 --- a/SPIRV/doc.cpp +++ b/SPIRV/doc.cpp @@ -1171,8 +1171,8 @@ const char* OpcodeString(int op) case 4421: return "OpSubgroupBallotKHR"; case 4422: return "OpSubgroupFirstInvocationKHR"; - case 4428: return "OpSubgroupAnyKHR"; - case 4429: return "OpSubgroupAllKHR"; + case 4428: return "OpSubgroupAllKHR"; + case 4429: return "OpSubgroupAnyKHR"; case 4430: return "OpSubgroupAllEqualKHR"; case 4432: return "OpSubgroupReadInvocationKHR"; diff --git a/Test/baseResults/spv.shaderGroupVote.comp.out b/Test/baseResults/spv.shaderGroupVote.comp.out index 464787f6dd406db84771527e1004cb7c53c50f37..027714941d1543836baafff1c5580591596908cc 100644 --- a/Test/baseResults/spv.shaderGroupVote.comp.out +++ b/Test/baseResults/spv.shaderGroupVote.comp.out @@ -48,10 +48,10 @@ Warning, version 450 is not yet complete; most version-specific features are pre 19: 6(bool) INotEqual 17 18 Store 8(b1) 19 20: 6(bool) Load 8(b1) - 21: 6(bool) SubgroupAllKHR 20 + 21: 6(bool) SubgroupAnyKHR 20 Store 8(b1) 21 22: 6(bool) Load 8(b1) - 23: 6(bool) SubgroupAnyKHR 22 + 23: 6(bool) SubgroupAllKHR 22 Store 8(b1) 23 24: 6(bool) Load 8(b1) 25: 6(bool) SubgroupAllEqualKHR 24