From 2d31bdaccf937c7b045d6a8ea705ebb52f2aaaa8 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 b45d992212..1ad0a6d445 100644 --- a/lib/SPIRV/libSPIRV/SPIRVDecorate.h +++ b/lib/SPIRV/libSPIRV/SPIRVDecorate.h @@ -100,6 +100,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: