Skip to content

Commit 2c3b505

Browse files
authored
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
1 parent cf64d9a commit 2c3b505

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/SPIRV/libSPIRV/SPIRVDecorate.h

+1
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)