Skip to content

Commit

Permalink
CounterBuffer decoration is supported from 1.4 without extension (#2478)
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 #2460
  • Loading branch information
vmaksimo authored Apr 9, 2024
1 parent cf64d9a commit 2c3b505
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 2c3b505

Please sign in to comment.