Fix grammar for PackedVectorFormat
authorKevin Petit <kevin.petit@arm.com>
Wed, 7 Jul 2021 18:42:53 +0000 (19:42 +0100)
committerKevin Petit <kevin.petit@arm.com>
Wed, 7 Jul 2021 18:42:53 +0000 (19:42 +0100)
PackedVectorFormat4x8BitKHR should be enabled by the SPV_KHR_integer_dot_product
extension that first introduced it and not the DotProductInput4x8BitPackedKHR
as per the extension specification.

See http://htmlpreview.github.io/?https://github.com/KhronosGroup/SPIRV-Registry/blob/master/extensions/KHR/SPV_KHR_integer_dot_product.html

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
include/spirv/unified1/spirv.core.grammar.json

index 2852c09..7ab318f 100644 (file)
         {
           "enumerant" : "PackedVectorFormat4x8BitKHR",
           "value" : 0,
-          "capabilities" : [ "DotProductInput4x8BitPackedKHR" ],
+          "extensions" : [ "SPV_KHR_integer_dot_product" ],
           "version" : "None"
         }
       ]