From ab090f6b4c5d20b8cf9a14c49d8b376b2e1c8a9f Mon Sep 17 00:00:00 2001 From: Viktoria Maximova Date: Tue, 9 Apr 2024 14:01:37 +0200 Subject: [PATCH] CounterBuffer decoration is supported from 1.4 without extension Do nothing for now, as it's not used in translator. --- lib/SPIRV/libSPIRV/SPIRVDecorate.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/SPIRV/libSPIRV/SPIRVDecorate.h b/lib/SPIRV/libSPIRV/SPIRVDecorate.h index 294002d81a..c9e58fdc80 100644 --- a/lib/SPIRV/libSPIRV/SPIRVDecorate.h +++ b/lib/SPIRV/libSPIRV/SPIRVDecorate.h @@ -95,6 +95,7 @@ class SPIRVDecorateGeneric : public SPIRVAnnotationGeneric { case DecorationMaxByteOffset: return static_cast(VersionNumber::SPIRV_1_1); case DecorationUserSemantic: + case DecorationCounterBuffer: return static_cast(VersionNumber::SPIRV_1_4); default: