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 Jun 18, 2024
1 parent b48b389 commit bda27dd
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 bda27dd

Please sign in to comment.