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.
  • Loading branch information
vmaksimo authored and MrSidims committed May 29, 2024
1 parent c807a73 commit 2d31bda
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 static_cast<SPIRVWord>(VersionNumber::SPIRV_1_1);
case DecorationUserSemantic:
case DecorationCounterBuffer:
return static_cast<SPIRVWord>(VersionNumber::SPIRV_1_4);

default:
Expand Down

0 comments on commit 2d31bda

Please sign in to comment.