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 98f1d78 commit 3d0a9b0
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 @@ -95,6 +95,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 3d0a9b0

Please sign in to comment.