Skip to content

Commit fa567b8

Browse files
committed
CounterBuffer decoration is supported from 1.4 without extension
Do nothing for now, as it's not used in translator. Addresses p.6 of KhronosGroup#2460
1 parent a384e03 commit fa567b8

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)