From ea01b54d4e304417e171f00a2d0cc724a6d57e67 Mon Sep 17 00:00:00 2001 From: PENGUINLIONG Date: Sat, 23 Oct 2021 14:22:46 +0800 Subject: [PATCH] Add `deprecatedVersion` field to annotate phase-out features --- include/spirv/unified1/spirv.core.grammar.json | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/include/spirv/unified1/spirv.core.grammar.json b/include/spirv/unified1/spirv.core.grammar.json index 53aaf354e..a052de5af 100644 --- a/include/spirv/unified1/spirv.core.grammar.json +++ b/include/spirv/unified1/spirv.core.grammar.json @@ -799,7 +799,8 @@ "opcode" : 73, "operands" : [ { "kind" : "IdResult" } - ] + ], + "deprecatedVersion": "1.3" }, { "opname" : "OpGroupDecorate", @@ -808,7 +809,8 @@ "operands" : [ { "kind" : "IdRef", "name" : "'Decoration Group'" }, { "kind" : "IdRef", "quantifier" : "*", "name" : "'Targets'" } - ] + ], + "deprecatedVersion": "1.3" }, { "opname" : "OpGroupMemberDecorate", @@ -817,7 +819,8 @@ "operands" : [ { "kind" : "IdRef", "name" : "'Decoration Group'" }, { "kind" : "PairIdRefLiteralInteger", "quantifier" : "*", "name" : "'Targets'" } - ] + ], + "deprecatedVersion": "1.3" }, { "opname" : "OpVectorExtractDynamic", @@ -2420,7 +2423,8 @@ { "kind" : "IdRef", "name" : "'Comparator'" } ], "capabilities" : [ "Kernel" ], - "lastVersion" : "1.3" + "lastVersion" : "1.3", + "deprecatedVersion": "1.2" }, { "opname" : "OpAtomicIIncrement", @@ -10683,7 +10687,8 @@ "enumerant" : "BufferBlock", "value" : 3, "capabilities" : [ "Shader" ], - "lastVersion" : "1.3" + "lastVersion" : "1.3", + "deprecatedVersion": "1.3" }, { "enumerant" : "RowMajor",