Skip to content

Commit 3caac02

Browse files
vmaksimosys-ce-bb
authored andcommitted
CounterBuffer decoration is supported from 1.4 without extension (#2478)
Do nothing for now, as it's not used in translator. Addresses p.6 of #2460 Original commit: KhronosGroup/SPIRV-LLVM-Translator@2c3b505879dcaf1
1 parent 6da5644 commit 3caac02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm-spirv/lib/SPIRV/libSPIRV/SPIRVDecorate.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ class SPIRVDecorateGeneric : public SPIRVAnnotationGeneric {
100100
case DecorationMaxByteOffset:
101101
return VersionNumber::SPIRV_1_1;
102102
case DecorationUserSemantic:
103+
case DecorationCounterBuffer:
103104
return VersionNumber::SPIRV_1_4;
104105

105106
default:

0 commit comments

Comments
 (0)