Skip to content

Commit

Permalink
CounterBuffer decoration is supported from 1.4 without extension
Browse files Browse the repository at this point in the history
Do nothing for now, as it's not used in translator.

Addresses p.6 of KhronosGroup#2460
  • Loading branch information
vmaksimo committed Apr 3, 2024
1 parent a384e03 commit fa567b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/SPIRV/libSPIRV/SPIRVDecorate.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ class SPIRVDecorateGeneric : public SPIRVAnnotationGeneric {
case DecorationMaxByteOffset:
return VersionNumber::SPIRV_1_1;
case DecorationUserSemantic:
case DecorationCounterBuffer:
return VersionNumber::SPIRV_1_4;

default:
Expand Down

0 comments on commit fa567b8

Please sign in to comment.