diff options
author | Sidorov, Dmitry <dmitry.sidorov@intel.com> | 2023-04-19 09:22:35 -0700 |
---|---|---|
committer | Sidorov, Dmitry <dmitry.sidorov@intel.com> | 2023-04-19 09:22:51 -0700 |
commit | c8f869ffb473c477ffc5cfc24fbf82c1cb5af74e (patch) | |
tree | 908f06281bb13d0fcf58b6effd459c55687fd757 /include/spirv | |
parent | cfbe4feef20c3c0628712c2792624f0221e378ac (diff) | |
download | SPIRV-Headers-c8f869ffb473c477ffc5cfc24fbf82c1cb5af74e.tar.gz SPIRV-Headers-c8f869ffb473c477ffc5cfc24fbf82c1cb5af74e.tar.bz2 SPIRV-Headers-c8f869ffb473c477ffc5cfc24fbf82c1cb5af74e.zip |
Fix TileImage capabilities order
I'm getting:
Error: "Capability" enumerant "TileImageColorReadAccessEXT" is out of
order. It has value 4166 but follows the enumerant with value 4450
without this patch.
Also the script generated .bf file
Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
Diffstat (limited to 'include/spirv')
-rw-r--r-- | include/spirv/unified1/spirv.bf | 11 | ||||
-rw-r--r-- | include/spirv/unified1/spirv.core.grammar.json | 36 |
2 files changed, 29 insertions, 18 deletions
diff --git a/include/spirv/unified1/spirv.bf b/include/spirv/unified1/spirv.bf index f8a5bb2..a5b0950 100644 --- a/include/spirv/unified1/spirv.bf +++ b/include/spirv/unified1/spirv.bf @@ -153,6 +153,9 @@ namespace Spv SubgroupsPerWorkgroupId = 37, LocalSizeId = 38, LocalSizeHintId = 39, + NonCoherentColorAttachmentReadEXT = 4169, + NonCoherentDepthAttachmentReadEXT = 4170, + NonCoherentStencilAttachmentReadEXT = 4171, SubgroupUniformControlFlowKHR = 4421, PostDepthCoverage = 4446, DenormPreserve = 4459, @@ -212,6 +215,7 @@ namespace Spv AtomicCounter = 10, Image = 11, StorageBuffer = 12, + TileImageEXT = 4172, CallableDataKHR = 5328, CallableDataNV = 5328, IncomingCallableDataKHR = 5329, @@ -242,6 +246,7 @@ namespace Spv Rect = 4, Buffer = 5, SubpassData = 6, + TileImageDataEXT = 4173, } [AllowDuplicates, CRepr] public enum SamplerAddressingMode @@ -993,6 +998,9 @@ namespace Spv ShaderViewportIndex = 70, UniformDecoration = 71, CoreBuiltinsARM = 4165, + TileImageColorReadAccessEXT = 4166, + TileImageDepthReadAccessEXT = 4167, + TileImageStencilReadAccessEXT = 4168, FragmentShadingRateKHR = 4422, SubgroupBallotKHR = 4423, DrawParameters = 4427, @@ -1613,6 +1621,9 @@ namespace Spv OpPtrEqual = 401, OpPtrNotEqual = 402, OpPtrDiff = 403, + OpColorAttachmentReadEXT = 4160, + OpDepthAttachmentReadEXT = 4161, + OpStencilAttachmentReadEXT = 4162, OpTerminateInvocation = 4416, OpSubgroupBallotKHR = 4421, OpSubgroupFirstInvocationKHR = 4422, diff --git a/include/spirv/unified1/spirv.core.grammar.json b/include/spirv/unified1/spirv.core.grammar.json index ec4844e..f72c7f6 100644 --- a/include/spirv/unified1/spirv.core.grammar.json +++ b/include/spirv/unified1/spirv.core.grammar.json @@ -14067,6 +14067,24 @@ "extensions" : [ "SPV_ARM_core_builtins" ] }, { + "enumerant" : "TileImageColorReadAccessEXT", + "value" : 4166, + "extensions" : [ "SPV_EXT_shader_tile_image" ], + "version" : "None" + }, + { + "enumerant" : "TileImageDepthReadAccessEXT", + "value" : 4167, + "extensions" : [ "SPV_EXT_shader_tile_image" ], + "version" : "None" + }, + { + "enumerant" : "TileImageStencilReadAccessEXT", + "value" : 4168, + "extensions" : [ "SPV_EXT_shader_tile_image" ], + "version" : "None" + }, + { "enumerant" : "FragmentShadingRateKHR", "value" : 4422, "capabilities" : [ "Shader" ], @@ -14216,24 +14234,6 @@ "version" : "1.5" }, { - "enumerant" : "TileImageColorReadAccessEXT", - "value" : 4166, - "extensions" : [ "SPV_EXT_shader_tile_image" ], - "version" : "None" - }, - { - "enumerant" : "TileImageDepthReadAccessEXT", - "value" : 4167, - "extensions" : [ "SPV_EXT_shader_tile_image" ], - "version" : "None" - }, - { - "enumerant" : "TileImageStencilReadAccessEXT", - "value" : 4168, - "extensions" : [ "SPV_EXT_shader_tile_image" ], - "version" : "None" - }, - { "enumerant" : "DenormPreserve", "value" : 4464, "extensions" : [ "SPV_KHR_float_controls" ], |