diff options
author | Jose Maria Casanova Crespo <[email protected]> | 2018-07-09 02:01:14 +0200 |
---|---|---|
committer | Jose Maria Casanova Crespo <[email protected]> | 2018-07-10 00:14:50 +0200 |
commit | f29c19cd5c284037748021a80801fef463982082 (patch) | |
tree | 6deeba46e1465006a1fddeca7ad768c603e3933b | |
parent | cd0afab99b25eb77755779c4f8c9b8dbed345417 (diff) |
spirv: Include headers and grammar for SPV_KHR_8bit_storage
Updates headers and grammar to ff684ffc6a35d2a58f0f63108877d0064ea33feb
Acked-by: Jason Ekstrand <[email protected]>
-rw-r--r-- | src/compiler/spirv/spirv.core.grammar.json | 44 | ||||
-rw-r--r-- | src/compiler/spirv/spirv.h | 3 |
2 files changed, 40 insertions, 7 deletions
diff --git a/src/compiler/spirv/spirv.core.grammar.json b/src/compiler/spirv/spirv.core.grammar.json index a03c024335c..cb641420d07 100644 --- a/src/compiler/spirv/spirv.core.grammar.json +++ b/src/compiler/spirv/spirv.core.grammar.json @@ -3914,7 +3914,7 @@ { "kind" : "IdRef", "name" : "'Target'" }, { "kind" : "Decoration" } ], - "extensions" : [ "SPV_GOOGLE_decorate_string" ], + "extensions" : [ "SPV_GOOGLE_decorate_string", "SPV_GOOGLE_hlsl_functionality1" ], "version" : "None" }, { @@ -3925,7 +3925,7 @@ { "kind" : "LiteralInteger", "name" : "'Member'" }, { "kind" : "Decoration" } ], - "extensions" : [ "SPV_GOOGLE_decorate_string" ], + "extensions" : [ "SPV_GOOGLE_decorate_string", "SPV_GOOGLE_hlsl_functionality1" ], "version" : "None" }, { @@ -3991,6 +3991,7 @@ { "enumerant" : "ConstOffsets", "value" : "0x0020", + "capabilities" : [ "ImageGatherExtended" ], "parameters" : [ { "kind" : "IdRef" } ] @@ -5550,12 +5551,14 @@ "enumerant" : "OverrideCoverageNV", "value" : 5248, "capabilities" : [ "SampleMaskOverrideCoverageNV" ], + "extensions" : [ "SPV_NV_sample_mask_override_coverage" ], "version" : "None" }, { "enumerant" : "PassthroughNV", "value" : 5250, "capabilities" : [ "GeometryShaderPassthroughNV" ], + "extensions" : [ "SPV_NV_geometry_shader_passthrough" ], "version" : "None" }, { @@ -5568,6 +5571,7 @@ "enumerant" : "SecondaryViewportRelativeNV", "value" : 5256, "capabilities" : [ "ShaderStereoViewNV" ], + "extensions" : [ "SPV_NV_stereo_view_rendering" ], "version" : "None", "parameters" : [ { "kind" : "LiteralInteger", "name" : "'Offset'" } @@ -5960,12 +5964,14 @@ "enumerant" : "SecondaryPositionNV", "value" : 5257, "capabilities" : [ "ShaderStereoViewNV" ], + "extensions" : [ "SPV_NV_stereo_view_rendering" ], "version" : "None" }, { "enumerant" : "SecondaryViewportMaskNV", "value" : 5258, "capabilities" : [ "ShaderStereoViewNV" ], + "extensions" : [ "SPV_NV_stereo_view_rendering" ], "version" : "None" }, { @@ -6043,17 +6049,23 @@ { "enumerant" : "PartitionedReduceNV", "value" : 6, - "capabilities" : [ "GroupNonUniformPartitionedNV" ] + "capabilities" : [ "GroupNonUniformPartitionedNV" ], + "extensions" : [ "SPV_NV_shader_subgroup_partitioned" ], + "version" : "None" }, { "enumerant" : "PartitionedInclusiveScanNV", "value" : 7, - "capabilities" : [ "GroupNonUniformPartitionedNV" ] + "capabilities" : [ "GroupNonUniformPartitionedNV" ], + "extensions" : [ "SPV_NV_shader_subgroup_partitioned" ], + "version" : "None" }, { "enumerant" : "PartitionedExclusiveScanNV", "value" : 8, - "capabilities" : [ "GroupNonUniformPartitionedNV" ] + "capabilities" : [ "GroupNonUniformPartitionedNV" ], + "extensions" : [ "SPV_NV_shader_subgroup_partitioned" ], + "version" : "None" } ] }, @@ -6260,8 +6272,7 @@ }, { "enumerant" : "Int8", - "value" : 39, - "capabilities" : [ "Kernel" ] + "value" : 39 }, { "enumerant" : "InputAttachment", @@ -6519,6 +6530,25 @@ "version" : "None" }, { + "enumerant" : "StorageBuffer8BitAccess", + "value" : 4448, + "extensions" : [ "SPV_KHR_8bit_storage" ], + "version" : "None" + }, + { + "enumerant" : "UniformAndStorageBuffer8BitAccess", + "value" : 4449, + "capabilities" : [ "StorageBuffer8BitAccess" ], + "extensions" : [ "SPV_KHR_8bit_storage" ], + "version" : "None" + }, + { + "enumerant" : "StoragePushConstant8", + "value" : 4450, + "extensions" : [ "SPV_KHR_8bit_storage" ], + "version" : "None" + }, + { "enumerant" : "Float16ImageAMD", "value" : 5008, "capabilities" : [ "Shader" ], diff --git a/src/compiler/spirv/spirv.h b/src/compiler/spirv/spirv.h index e0a0330ba63..4c90c936ce0 100644 --- a/src/compiler/spirv/spirv.h +++ b/src/compiler/spirv/spirv.h @@ -683,6 +683,9 @@ typedef enum SpvCapability_ { SpvCapabilityVariablePointers = 4442, SpvCapabilityAtomicStorageOps = 4445, SpvCapabilitySampleMaskPostDepthCoverage = 4447, + SpvCapabilityStorageBuffer8BitAccess = 4448, + SpvCapabilityUniformAndStorageBuffer8BitAccess = 4449, + SpvCapabilityStoragePushConstant8 = 4450, SpvCapabilityFloat16ImageAMD = 5008, SpvCapabilityImageGatherBiasLodAMD = 5009, SpvCapabilityFragmentMaskAMD = 5010, |