diff options
author | John Kessenich <cepheus@frii.com> | 2017-08-22 09:27:46 -0600 |
---|---|---|
committer | John Kessenich <cepheus@frii.com> | 2017-08-22 09:27:46 -0600 |
commit | 2f319b6391af124dc0b411a5efcc6e76ffbc7967 (patch) | |
tree | fac722dceec0354e215bd34584a92435e10a68d5 | |
parent | cd3088edf6258ae7c806686a6cdcba27350137af (diff) | |
download | SPIRV-Headers-2f319b6391af124dc0b411a5efcc6e76ffbc7967.tar.gz SPIRV-Headers-2f319b6391af124dc0b411a5efcc6e76ffbc7967.tar.bz2 SPIRV-Headers-2f319b6391af124dc0b411a5efcc6e76ffbc7967.zip |
Update all headers for SPV_EXT_shader_stencil_export.
-rw-r--r-- | include/spirv/1.0/spirv.core.grammar.json | 36 | ||||
-rw-r--r-- | include/spirv/1.0/spirv.h | 6 | ||||
-rw-r--r-- | include/spirv/1.0/spirv.hpp | 6 | ||||
-rw-r--r-- | include/spirv/1.0/spirv.hpp11 | 6 | ||||
-rw-r--r-- | include/spirv/1.0/spirv.json | 4 | ||||
-rw-r--r-- | include/spirv/1.0/spirv.lua | 4 | ||||
-rw-r--r-- | include/spirv/1.0/spirv.py | 4 | ||||
-rw-r--r-- | include/spirv/1.1/spirv.core.grammar.json | 36 | ||||
-rw-r--r-- | include/spirv/1.1/spirv.h | 6 | ||||
-rw-r--r-- | include/spirv/1.1/spirv.hpp | 6 | ||||
-rw-r--r-- | include/spirv/1.1/spirv.hpp11 | 6 | ||||
-rw-r--r-- | include/spirv/1.1/spirv.json | 4 | ||||
-rw-r--r-- | include/spirv/1.1/spirv.lua | 4 | ||||
-rw-r--r-- | include/spirv/1.1/spirv.py | 4 | ||||
-rw-r--r-- | include/spirv/1.2/spirv.core.grammar.json | 36 | ||||
-rw-r--r-- | include/spirv/1.2/spirv.h | 6 | ||||
-rw-r--r-- | include/spirv/1.2/spirv.hpp | 6 | ||||
-rw-r--r-- | include/spirv/1.2/spirv.hpp11 | 6 | ||||
-rw-r--r-- | include/spirv/1.2/spirv.json | 4 | ||||
-rw-r--r-- | include/spirv/1.2/spirv.lua | 4 | ||||
-rwxr-xr-x | include/spirv/1.2/spirv.py | 4 |
21 files changed, 132 insertions, 66 deletions
diff --git a/include/spirv/1.0/spirv.core.grammar.json b/include/spirv/1.0/spirv.core.grammar.json index 51bc36b..30456fb 100644 --- a/include/spirv/1.0/spirv.core.grammar.json +++ b/include/spirv/1.0/spirv.core.grammar.json @@ -27,7 +27,7 @@ "magic_number" : "0x07230203", "major_version" : 1, "minor_version" : 0, - "revision" : 11, + "revision" : 12, "instructions" : [ { "opname" : "OpNop", @@ -2410,7 +2410,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -2434,7 +2434,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -2446,7 +2446,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -2458,7 +2458,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -2470,7 +2470,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -3105,7 +3105,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -3129,7 +3129,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -3141,7 +3141,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -3153,7 +3153,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -3165,7 +3165,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] } @@ -4826,7 +4826,7 @@ { "enumerant" : "SampleMask", "value" : 20, - "capabilities" : [ "SampleRateShading" ] + "capabilities" : [ "Shader" ] }, { "enumerant" : "FragDepth", @@ -5006,6 +5006,11 @@ "value" : 4998 }, { + "enumerant" : "FragStencilRefEXT", + "value" : 5014, + "capabilities" : [ "StencilExportEXT" ] + }, + { "enumerant" : "ViewportMaskNV", "value" : 5253, "capabilities" : [ "ShaderViewportMaskNV" ] @@ -5456,7 +5461,6 @@ { "enumerant" : "SampleMaskPostDepthCoverage", "value" : 4447, - "capabilities" : [ "SampleRateShading" ], "extensions" : [ "SPV_KHR_post_depth_coverage" ] }, { @@ -5466,6 +5470,12 @@ "extensions" : [ "SPV_AMD_texture_gather_bias_lod" ] }, { + "enumerant" : "StencilExportEXT", + "value" : 5013, + "capabilities" : [ "Shader" ], + "extensions" : [ "SPV_EXT_shader_stencil_export" ] + }, + { "enumerant" : "SampleMaskOverrideCoverageNV", "value" : 5249, "capabilities" : [ "SampleRateShading" ], diff --git a/include/spirv/1.0/spirv.h b/include/spirv/1.0/spirv.h index fff91ae..4c8939a 100644 --- a/include/spirv/1.0/spirv.h +++ b/include/spirv/1.0/spirv.h @@ -51,11 +51,11 @@ typedef unsigned int SpvId; #define SPV_VERSION 0x10000 -#define SPV_REVISION 11 +#define SPV_REVISION 12 static const unsigned int SpvMagicNumber = 0x07230203; static const unsigned int SpvVersion = 0x00010000; -static const unsigned int SpvRevision = 11; +static const unsigned int SpvRevision = 12; static const unsigned int SpvOpCodeMask = 0xffff; static const unsigned int SpvWordCountShift = 16; @@ -448,6 +448,7 @@ typedef enum SpvBuiltIn_ { SpvBuiltInBaryCoordSmoothCentroidAMD = 4996, SpvBuiltInBaryCoordSmoothSampleAMD = 4997, SpvBuiltInBaryCoordPullModelAMD = 4998, + SpvBuiltInFragStencilRefEXT = 5014, SpvBuiltInViewportMaskNV = 5253, SpvBuiltInSecondaryPositionNV = 5257, SpvBuiltInSecondaryViewportMaskNV = 5258, @@ -644,6 +645,7 @@ typedef enum SpvCapability_ { SpvCapabilityAtomicStorageOps = 4445, SpvCapabilitySampleMaskPostDepthCoverage = 4447, SpvCapabilityImageGatherBiasLodAMD = 5009, + SpvCapabilityStencilExportEXT = 5013, SpvCapabilitySampleMaskOverrideCoverageNV = 5249, SpvCapabilityGeometryShaderPassthroughNV = 5251, SpvCapabilityShaderViewportIndexLayerEXT = 5254, diff --git a/include/spirv/1.0/spirv.hpp b/include/spirv/1.0/spirv.hpp index 30dc757..8bddf7e 100644 --- a/include/spirv/1.0/spirv.hpp +++ b/include/spirv/1.0/spirv.hpp @@ -47,11 +47,11 @@ namespace spv { typedef unsigned int Id; #define SPV_VERSION 0x10000 -#define SPV_REVISION 11 +#define SPV_REVISION 12 static const unsigned int MagicNumber = 0x07230203; static const unsigned int Version = 0x00010000; -static const unsigned int Revision = 11; +static const unsigned int Revision = 12; static const unsigned int OpCodeMask = 0xffff; static const unsigned int WordCountShift = 16; @@ -444,6 +444,7 @@ enum BuiltIn { BuiltInBaryCoordSmoothCentroidAMD = 4996, BuiltInBaryCoordSmoothSampleAMD = 4997, BuiltInBaryCoordPullModelAMD = 4998, + BuiltInFragStencilRefEXT = 5014, BuiltInViewportMaskNV = 5253, BuiltInSecondaryPositionNV = 5257, BuiltInSecondaryViewportMaskNV = 5258, @@ -640,6 +641,7 @@ enum Capability { CapabilityAtomicStorageOps = 4445, CapabilitySampleMaskPostDepthCoverage = 4447, CapabilityImageGatherBiasLodAMD = 5009, + CapabilityStencilExportEXT = 5013, CapabilitySampleMaskOverrideCoverageNV = 5249, CapabilityGeometryShaderPassthroughNV = 5251, CapabilityShaderViewportIndexLayerEXT = 5254, diff --git a/include/spirv/1.0/spirv.hpp11 b/include/spirv/1.0/spirv.hpp11 index a11d801..b2d3f3b 100644 --- a/include/spirv/1.0/spirv.hpp11 +++ b/include/spirv/1.0/spirv.hpp11 @@ -47,11 +47,11 @@ namespace spv { typedef unsigned int Id; #define SPV_VERSION 0x10000 -#define SPV_REVISION 11 +#define SPV_REVISION 12 static const unsigned int MagicNumber = 0x07230203; static const unsigned int Version = 0x00010000; -static const unsigned int Revision = 11; +static const unsigned int Revision = 12; static const unsigned int OpCodeMask = 0xffff; static const unsigned int WordCountShift = 16; @@ -444,6 +444,7 @@ enum class BuiltIn : unsigned { BaryCoordSmoothCentroidAMD = 4996, BaryCoordSmoothSampleAMD = 4997, BaryCoordPullModelAMD = 4998, + FragStencilRefEXT = 5014, ViewportMaskNV = 5253, SecondaryPositionNV = 5257, SecondaryViewportMaskNV = 5258, @@ -640,6 +641,7 @@ enum class Capability : unsigned { AtomicStorageOps = 4445, SampleMaskPostDepthCoverage = 4447, ImageGatherBiasLodAMD = 5009, + StencilExportEXT = 5013, SampleMaskOverrideCoverageNV = 5249, GeometryShaderPassthroughNV = 5251, ShaderViewportIndexLayerEXT = 5254, diff --git a/include/spirv/1.0/spirv.json b/include/spirv/1.0/spirv.json index 899f9de..bedc1d9 100644 --- a/include/spirv/1.0/spirv.json +++ b/include/spirv/1.0/spirv.json @@ -52,7 +52,7 @@ ], "MagicNumber": 119734787, "Version": 65536, - "Revision": 11, + "Revision": 12, "OpCodeMask": 65535, "WordCountShift": 16 }, @@ -487,6 +487,7 @@ "BaryCoordSmoothCentroidAMD": 4996, "BaryCoordSmoothSampleAMD": 4997, "BaryCoordPullModelAMD": 4998, + "FragStencilRefEXT": 5014, "ViewportMaskNV": 5253, "SecondaryPositionNV": 5257, "SecondaryViewportMaskNV": 5258, @@ -667,6 +668,7 @@ "AtomicStorageOps": 4445, "SampleMaskPostDepthCoverage": 4447, "ImageGatherBiasLodAMD": 5009, + "StencilExportEXT": 5013, "SampleMaskOverrideCoverageNV": 5249, "GeometryShaderPassthroughNV": 5251, "ShaderViewportIndexLayerEXT": 5254, diff --git a/include/spirv/1.0/spirv.lua b/include/spirv/1.0/spirv.lua index dfa7d74..63aebac 100644 --- a/include/spirv/1.0/spirv.lua +++ b/include/spirv/1.0/spirv.lua @@ -42,7 +42,7 @@ spv = { MagicNumber = 0x07230203, Version = 0x00010000, - Revision = 11, + Revision = 12, OpCodeMask = 0xffff, WordCountShift = 16, @@ -416,6 +416,7 @@ spv = { BaryCoordSmoothCentroidAMD = 4996, BaryCoordSmoothSampleAMD = 4997, BaryCoordPullModelAMD = 4998, + FragStencilRefEXT = 5014, ViewportMaskNV = 5253, SecondaryPositionNV = 5257, SecondaryViewportMaskNV = 5258, @@ -602,6 +603,7 @@ spv = { AtomicStorageOps = 4445, SampleMaskPostDepthCoverage = 4447, ImageGatherBiasLodAMD = 5009, + StencilExportEXT = 5013, SampleMaskOverrideCoverageNV = 5249, GeometryShaderPassthroughNV = 5251, ShaderViewportIndexLayerEXT = 5254, diff --git a/include/spirv/1.0/spirv.py b/include/spirv/1.0/spirv.py index 6bc799a..0131d6e 100644 --- a/include/spirv/1.0/spirv.py +++ b/include/spirv/1.0/spirv.py @@ -42,7 +42,7 @@ spv = { 'MagicNumber' : 0x07230203, 'Version' : 0x00010000, - 'Revision' : 11, + 'Revision' : 12, 'OpCodeMask' : 0xffff, 'WordCountShift' : 16, @@ -416,6 +416,7 @@ spv = { 'BaryCoordSmoothCentroidAMD' : 4996, 'BaryCoordSmoothSampleAMD' : 4997, 'BaryCoordPullModelAMD' : 4998, + 'FragStencilRefEXT' : 5014, 'ViewportMaskNV' : 5253, 'SecondaryPositionNV' : 5257, 'SecondaryViewportMaskNV' : 5258, @@ -602,6 +603,7 @@ spv = { 'AtomicStorageOps' : 4445, 'SampleMaskPostDepthCoverage' : 4447, 'ImageGatherBiasLodAMD' : 5009, + 'StencilExportEXT' : 5013, 'SampleMaskOverrideCoverageNV' : 5249, 'GeometryShaderPassthroughNV' : 5251, 'ShaderViewportIndexLayerEXT' : 5254, diff --git a/include/spirv/1.1/spirv.core.grammar.json b/include/spirv/1.1/spirv.core.grammar.json index dcb6097..dc65db7 100644 --- a/include/spirv/1.1/spirv.core.grammar.json +++ b/include/spirv/1.1/spirv.core.grammar.json @@ -27,7 +27,7 @@ "magic_number" : "0x07230203", "major_version" : 1, "minor_version" : 1, - "revision" : 7, + "revision" : 8, "instructions" : [ { "opname" : "OpNop", @@ -2410,7 +2410,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -2434,7 +2434,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -2446,7 +2446,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -2458,7 +2458,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -2470,7 +2470,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -3207,7 +3207,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -3231,7 +3231,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -3243,7 +3243,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -3255,7 +3255,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -3267,7 +3267,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] } @@ -4974,7 +4974,7 @@ { "enumerant" : "SampleMask", "value" : 20, - "capabilities" : [ "SampleRateShading" ] + "capabilities" : [ "Shader" ] }, { "enumerant" : "FragDepth", @@ -5154,6 +5154,11 @@ "value" : 4998 }, { + "enumerant" : "FragStencilRefEXT", + "value" : 5014, + "capabilities" : [ "StencilExportEXT" ] + }, + { "enumerant" : "ViewportMaskNV", "value" : 5253, "capabilities" : [ "ShaderViewportMaskNV" ] @@ -5619,7 +5624,6 @@ { "enumerant" : "SampleMaskPostDepthCoverage", "value" : 4447, - "capabilities" : [ "SampleRateShading" ], "extensions" : [ "SPV_KHR_post_depth_coverage" ] }, { @@ -5629,6 +5633,12 @@ "extensions" : [ "SPV_AMD_texture_gather_bias_lod" ] }, { + "enumerant" : "StencilExportEXT", + "value" : 5013, + "capabilities" : [ "Shader" ], + "extensions" : [ "SPV_EXT_shader_stencil_export" ] + }, + { "enumerant" : "SampleMaskOverrideCoverageNV", "value" : 5249, "capabilities" : [ "SampleRateShading" ], diff --git a/include/spirv/1.1/spirv.h b/include/spirv/1.1/spirv.h index 2ed8f86..f7ab125 100644 --- a/include/spirv/1.1/spirv.h +++ b/include/spirv/1.1/spirv.h @@ -51,11 +51,11 @@ typedef unsigned int SpvId; #define SPV_VERSION 0x10100 -#define SPV_REVISION 7 +#define SPV_REVISION 8 static const unsigned int SpvMagicNumber = 0x07230203; static const unsigned int SpvVersion = 0x00010100; -static const unsigned int SpvRevision = 7; +static const unsigned int SpvRevision = 8; static const unsigned int SpvOpCodeMask = 0xffff; static const unsigned int SpvWordCountShift = 16; @@ -453,6 +453,7 @@ typedef enum SpvBuiltIn_ { SpvBuiltInBaryCoordSmoothCentroidAMD = 4996, SpvBuiltInBaryCoordSmoothSampleAMD = 4997, SpvBuiltInBaryCoordPullModelAMD = 4998, + SpvBuiltInFragStencilRefEXT = 5014, SpvBuiltInViewportMaskNV = 5253, SpvBuiltInSecondaryPositionNV = 5257, SpvBuiltInSecondaryViewportMaskNV = 5258, @@ -656,6 +657,7 @@ typedef enum SpvCapability_ { SpvCapabilityAtomicStorageOps = 4445, SpvCapabilitySampleMaskPostDepthCoverage = 4447, SpvCapabilityImageGatherBiasLodAMD = 5009, + SpvCapabilityStencilExportEXT = 5013, SpvCapabilitySampleMaskOverrideCoverageNV = 5249, SpvCapabilityGeometryShaderPassthroughNV = 5251, SpvCapabilityShaderViewportIndexLayerEXT = 5254, diff --git a/include/spirv/1.1/spirv.hpp b/include/spirv/1.1/spirv.hpp index 9639858..c2da313 100644 --- a/include/spirv/1.1/spirv.hpp +++ b/include/spirv/1.1/spirv.hpp @@ -47,11 +47,11 @@ namespace spv { typedef unsigned int Id; #define SPV_VERSION 0x10100 -#define SPV_REVISION 7 +#define SPV_REVISION 8 static const unsigned int MagicNumber = 0x07230203; static const unsigned int Version = 0x00010100; -static const unsigned int Revision = 7; +static const unsigned int Revision = 8; static const unsigned int OpCodeMask = 0xffff; static const unsigned int WordCountShift = 16; @@ -449,6 +449,7 @@ enum BuiltIn { BuiltInBaryCoordSmoothCentroidAMD = 4996, BuiltInBaryCoordSmoothSampleAMD = 4997, BuiltInBaryCoordPullModelAMD = 4998, + BuiltInFragStencilRefEXT = 5014, BuiltInViewportMaskNV = 5253, BuiltInSecondaryPositionNV = 5257, BuiltInSecondaryViewportMaskNV = 5258, @@ -652,6 +653,7 @@ enum Capability { CapabilityAtomicStorageOps = 4445, CapabilitySampleMaskPostDepthCoverage = 4447, CapabilityImageGatherBiasLodAMD = 5009, + CapabilityStencilExportEXT = 5013, CapabilitySampleMaskOverrideCoverageNV = 5249, CapabilityGeometryShaderPassthroughNV = 5251, CapabilityShaderViewportIndexLayerEXT = 5254, diff --git a/include/spirv/1.1/spirv.hpp11 b/include/spirv/1.1/spirv.hpp11 index 04794f8..0c89185 100644 --- a/include/spirv/1.1/spirv.hpp11 +++ b/include/spirv/1.1/spirv.hpp11 @@ -47,11 +47,11 @@ namespace spv { typedef unsigned int Id; #define SPV_VERSION 0x10100 -#define SPV_REVISION 7 +#define SPV_REVISION 8 static const unsigned int MagicNumber = 0x07230203; static const unsigned int Version = 0x00010100; -static const unsigned int Revision = 7; +static const unsigned int Revision = 8; static const unsigned int OpCodeMask = 0xffff; static const unsigned int WordCountShift = 16; @@ -449,6 +449,7 @@ enum class BuiltIn : unsigned { BaryCoordSmoothCentroidAMD = 4996, BaryCoordSmoothSampleAMD = 4997, BaryCoordPullModelAMD = 4998, + FragStencilRefEXT = 5014, ViewportMaskNV = 5253, SecondaryPositionNV = 5257, SecondaryViewportMaskNV = 5258, @@ -652,6 +653,7 @@ enum class Capability : unsigned { AtomicStorageOps = 4445, SampleMaskPostDepthCoverage = 4447, ImageGatherBiasLodAMD = 5009, + StencilExportEXT = 5013, SampleMaskOverrideCoverageNV = 5249, GeometryShaderPassthroughNV = 5251, ShaderViewportIndexLayerEXT = 5254, diff --git a/include/spirv/1.1/spirv.json b/include/spirv/1.1/spirv.json index 38ce725..f328d33 100644 --- a/include/spirv/1.1/spirv.json +++ b/include/spirv/1.1/spirv.json @@ -52,7 +52,7 @@ ], "MagicNumber": 119734787, "Version": 65792, - "Revision": 7, + "Revision": 8, "OpCodeMask": 65535, "WordCountShift": 16 }, @@ -492,6 +492,7 @@ "BaryCoordSmoothCentroidAMD": 4996, "BaryCoordSmoothSampleAMD": 4997, "BaryCoordPullModelAMD": 4998, + "FragStencilRefEXT": 5014, "ViewportMaskNV": 5253, "SecondaryPositionNV": 5257, "SecondaryViewportMaskNV": 5258, @@ -677,6 +678,7 @@ "AtomicStorageOps": 4445, "SampleMaskPostDepthCoverage": 4447, "ImageGatherBiasLodAMD": 5009, + "StencilExportEXT": 5013, "SampleMaskOverrideCoverageNV": 5249, "GeometryShaderPassthroughNV": 5251, "ShaderViewportIndexLayerEXT": 5254, diff --git a/include/spirv/1.1/spirv.lua b/include/spirv/1.1/spirv.lua index 90b74aa..fe934d0 100644 --- a/include/spirv/1.1/spirv.lua +++ b/include/spirv/1.1/spirv.lua @@ -42,7 +42,7 @@ spv = { MagicNumber = 0x07230203, Version = 0x00010100, - Revision = 7, + Revision = 8, OpCodeMask = 0xffff, WordCountShift = 16, @@ -421,6 +421,7 @@ spv = { BaryCoordSmoothCentroidAMD = 4996, BaryCoordSmoothSampleAMD = 4997, BaryCoordPullModelAMD = 4998, + FragStencilRefEXT = 5014, ViewportMaskNV = 5253, SecondaryPositionNV = 5257, SecondaryViewportMaskNV = 5258, @@ -614,6 +615,7 @@ spv = { AtomicStorageOps = 4445, SampleMaskPostDepthCoverage = 4447, ImageGatherBiasLodAMD = 5009, + StencilExportEXT = 5013, SampleMaskOverrideCoverageNV = 5249, GeometryShaderPassthroughNV = 5251, ShaderViewportIndexLayerEXT = 5254, diff --git a/include/spirv/1.1/spirv.py b/include/spirv/1.1/spirv.py index d0f3d2f..bde7f1c 100644 --- a/include/spirv/1.1/spirv.py +++ b/include/spirv/1.1/spirv.py @@ -42,7 +42,7 @@ spv = { 'MagicNumber' : 0x07230203, 'Version' : 0x00010100, - 'Revision' : 7, + 'Revision' : 8, 'OpCodeMask' : 0xffff, 'WordCountShift' : 16, @@ -421,6 +421,7 @@ spv = { 'BaryCoordSmoothCentroidAMD' : 4996, 'BaryCoordSmoothSampleAMD' : 4997, 'BaryCoordPullModelAMD' : 4998, + 'FragStencilRefEXT' : 5014, 'ViewportMaskNV' : 5253, 'SecondaryPositionNV' : 5257, 'SecondaryViewportMaskNV' : 5258, @@ -614,6 +615,7 @@ spv = { 'AtomicStorageOps' : 4445, 'SampleMaskPostDepthCoverage' : 4447, 'ImageGatherBiasLodAMD' : 5009, + 'StencilExportEXT' : 5013, 'SampleMaskOverrideCoverageNV' : 5249, 'GeometryShaderPassthroughNV' : 5251, 'ShaderViewportIndexLayerEXT' : 5254, diff --git a/include/spirv/1.2/spirv.core.grammar.json b/include/spirv/1.2/spirv.core.grammar.json index 7b6ce36..15b0792 100644 --- a/include/spirv/1.2/spirv.core.grammar.json +++ b/include/spirv/1.2/spirv.core.grammar.json @@ -27,7 +27,7 @@ "magic_number" : "0x07230203", "major_version" : 1, "minor_version" : 2, - "revision" : 1, + "revision" : 2, "instructions" : [ { "opname" : "OpNop", @@ -2410,7 +2410,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -2434,7 +2434,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -2446,7 +2446,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -2458,7 +2458,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -2470,7 +2470,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -3223,7 +3223,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -3247,7 +3247,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -3259,7 +3259,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -3271,7 +3271,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] }, @@ -3283,7 +3283,7 @@ { "kind" : "IdResult" }, { "kind" : "IdScope", "name" : "'Execution'" }, { "kind" : "GroupOperation", "name" : "'Operation'" }, - { "kind" : "IdRef", "name" : "X" } + { "kind" : "IdRef", "name" : "'X'" } ], "capabilities" : [ "Groups" ] } @@ -5031,7 +5031,7 @@ { "enumerant" : "SampleMask", "value" : 20, - "capabilities" : [ "SampleRateShading" ] + "capabilities" : [ "Shader" ] }, { "enumerant" : "FragDepth", @@ -5211,6 +5211,11 @@ "value" : 4998 }, { + "enumerant" : "FragStencilRefEXT", + "value" : 5014, + "capabilities" : [ "StencilExportEXT" ] + }, + { "enumerant" : "ViewportMaskNV", "value" : 5253, "capabilities" : [ "ShaderViewportMaskNV" ] @@ -5676,7 +5681,6 @@ { "enumerant" : "SampleMaskPostDepthCoverage", "value" : 4447, - "capabilities" : [ "SampleRateShading" ], "extensions" : [ "SPV_KHR_post_depth_coverage" ] }, { @@ -5686,6 +5690,12 @@ "extensions" : [ "SPV_AMD_texture_gather_bias_lod" ] }, { + "enumerant" : "StencilExportEXT", + "value" : 5013, + "capabilities" : [ "Shader" ], + "extensions" : [ "SPV_EXT_shader_stencil_export" ] + }, + { "enumerant" : "SampleMaskOverrideCoverageNV", "value" : 5249, "capabilities" : [ "SampleRateShading" ], diff --git a/include/spirv/1.2/spirv.h b/include/spirv/1.2/spirv.h index cc9e872..554aace 100644 --- a/include/spirv/1.2/spirv.h +++ b/include/spirv/1.2/spirv.h @@ -51,11 +51,11 @@ typedef unsigned int SpvId; #define SPV_VERSION 0x10200 -#define SPV_REVISION 1 +#define SPV_REVISION 2 static const unsigned int SpvMagicNumber = 0x07230203; static const unsigned int SpvVersion = 0x00010200; -static const unsigned int SpvRevision = 1; +static const unsigned int SpvRevision = 2; static const unsigned int SpvOpCodeMask = 0xffff; static const unsigned int SpvWordCountShift = 16; @@ -458,6 +458,7 @@ typedef enum SpvBuiltIn_ { SpvBuiltInBaryCoordSmoothCentroidAMD = 4996, SpvBuiltInBaryCoordSmoothSampleAMD = 4997, SpvBuiltInBaryCoordPullModelAMD = 4998, + SpvBuiltInFragStencilRefEXT = 5014, SpvBuiltInViewportMaskNV = 5253, SpvBuiltInSecondaryPositionNV = 5257, SpvBuiltInSecondaryViewportMaskNV = 5258, @@ -661,6 +662,7 @@ typedef enum SpvCapability_ { SpvCapabilityAtomicStorageOps = 4445, SpvCapabilitySampleMaskPostDepthCoverage = 4447, SpvCapabilityImageGatherBiasLodAMD = 5009, + SpvCapabilityStencilExportEXT = 5013, SpvCapabilitySampleMaskOverrideCoverageNV = 5249, SpvCapabilityGeometryShaderPassthroughNV = 5251, SpvCapabilityShaderViewportIndexLayerEXT = 5254, diff --git a/include/spirv/1.2/spirv.hpp b/include/spirv/1.2/spirv.hpp index bbaa26b..05b034d 100644 --- a/include/spirv/1.2/spirv.hpp +++ b/include/spirv/1.2/spirv.hpp @@ -47,11 +47,11 @@ namespace spv { typedef unsigned int Id; #define SPV_VERSION 0x10200 -#define SPV_REVISION 1 +#define SPV_REVISION 2 static const unsigned int MagicNumber = 0x07230203; static const unsigned int Version = 0x00010200; -static const unsigned int Revision = 1; +static const unsigned int Revision = 2; static const unsigned int OpCodeMask = 0xffff; static const unsigned int WordCountShift = 16; @@ -454,6 +454,7 @@ enum BuiltIn { BuiltInBaryCoordSmoothCentroidAMD = 4996, BuiltInBaryCoordSmoothSampleAMD = 4997, BuiltInBaryCoordPullModelAMD = 4998, + BuiltInFragStencilRefEXT = 5014, BuiltInViewportMaskNV = 5253, BuiltInSecondaryPositionNV = 5257, BuiltInSecondaryViewportMaskNV = 5258, @@ -657,6 +658,7 @@ enum Capability { CapabilityAtomicStorageOps = 4445, CapabilitySampleMaskPostDepthCoverage = 4447, CapabilityImageGatherBiasLodAMD = 5009, + CapabilityStencilExportEXT = 5013, CapabilitySampleMaskOverrideCoverageNV = 5249, CapabilityGeometryShaderPassthroughNV = 5251, CapabilityShaderViewportIndexLayerEXT = 5254, diff --git a/include/spirv/1.2/spirv.hpp11 b/include/spirv/1.2/spirv.hpp11 index d8eb21a..7359179 100644 --- a/include/spirv/1.2/spirv.hpp11 +++ b/include/spirv/1.2/spirv.hpp11 @@ -47,11 +47,11 @@ namespace spv { typedef unsigned int Id; #define SPV_VERSION 0x10200 -#define SPV_REVISION 1 +#define SPV_REVISION 2 static const unsigned int MagicNumber = 0x07230203; static const unsigned int Version = 0x00010200; -static const unsigned int Revision = 1; +static const unsigned int Revision = 2; static const unsigned int OpCodeMask = 0xffff; static const unsigned int WordCountShift = 16; @@ -454,6 +454,7 @@ enum class BuiltIn : unsigned { BaryCoordSmoothCentroidAMD = 4996, BaryCoordSmoothSampleAMD = 4997, BaryCoordPullModelAMD = 4998, + FragStencilRefEXT = 5014, ViewportMaskNV = 5253, SecondaryPositionNV = 5257, SecondaryViewportMaskNV = 5258, @@ -657,6 +658,7 @@ enum class Capability : unsigned { AtomicStorageOps = 4445, SampleMaskPostDepthCoverage = 4447, ImageGatherBiasLodAMD = 5009, + StencilExportEXT = 5013, SampleMaskOverrideCoverageNV = 5249, GeometryShaderPassthroughNV = 5251, ShaderViewportIndexLayerEXT = 5254, diff --git a/include/spirv/1.2/spirv.json b/include/spirv/1.2/spirv.json index f5a2ae7..758da2c 100644 --- a/include/spirv/1.2/spirv.json +++ b/include/spirv/1.2/spirv.json @@ -52,7 +52,7 @@ ], "MagicNumber": 119734787, "Version": 66048, - "Revision": 1, + "Revision": 2, "OpCodeMask": 65535, "WordCountShift": 16 }, @@ -497,6 +497,7 @@ "BaryCoordSmoothCentroidAMD": 4996, "BaryCoordSmoothSampleAMD": 4997, "BaryCoordPullModelAMD": 4998, + "FragStencilRefEXT": 5014, "ViewportMaskNV": 5253, "SecondaryPositionNV": 5257, "SecondaryViewportMaskNV": 5258, @@ -682,6 +683,7 @@ "AtomicStorageOps": 4445, "SampleMaskPostDepthCoverage": 4447, "ImageGatherBiasLodAMD": 5009, + "StencilExportEXT": 5013, "SampleMaskOverrideCoverageNV": 5249, "GeometryShaderPassthroughNV": 5251, "ShaderViewportIndexLayerEXT": 5254, diff --git a/include/spirv/1.2/spirv.lua b/include/spirv/1.2/spirv.lua index 49d8320..2365b6b 100644 --- a/include/spirv/1.2/spirv.lua +++ b/include/spirv/1.2/spirv.lua @@ -42,7 +42,7 @@ spv = { MagicNumber = 0x07230203, Version = 0x00010200, - Revision = 1, + Revision = 2, OpCodeMask = 0xffff, WordCountShift = 16, @@ -426,6 +426,7 @@ spv = { BaryCoordSmoothCentroidAMD = 4996, BaryCoordSmoothSampleAMD = 4997, BaryCoordPullModelAMD = 4998, + FragStencilRefEXT = 5014, ViewportMaskNV = 5253, SecondaryPositionNV = 5257, SecondaryViewportMaskNV = 5258, @@ -619,6 +620,7 @@ spv = { AtomicStorageOps = 4445, SampleMaskPostDepthCoverage = 4447, ImageGatherBiasLodAMD = 5009, + StencilExportEXT = 5013, SampleMaskOverrideCoverageNV = 5249, GeometryShaderPassthroughNV = 5251, ShaderViewportIndexLayerEXT = 5254, diff --git a/include/spirv/1.2/spirv.py b/include/spirv/1.2/spirv.py index cd9d793..100b027 100755 --- a/include/spirv/1.2/spirv.py +++ b/include/spirv/1.2/spirv.py @@ -42,7 +42,7 @@ spv = { 'MagicNumber' : 0x07230203, 'Version' : 0x00010200, - 'Revision' : 1, + 'Revision' : 2, 'OpCodeMask' : 0xffff, 'WordCountShift' : 16, @@ -426,6 +426,7 @@ spv = { 'BaryCoordSmoothCentroidAMD' : 4996, 'BaryCoordSmoothSampleAMD' : 4997, 'BaryCoordPullModelAMD' : 4998, + 'FragStencilRefEXT' : 5014, 'ViewportMaskNV' : 5253, 'SecondaryPositionNV' : 5257, 'SecondaryViewportMaskNV' : 5258, @@ -619,6 +620,7 @@ spv = { 'AtomicStorageOps' : 4445, 'SampleMaskPostDepthCoverage' : 4447, 'ImageGatherBiasLodAMD' : 5009, + 'StencilExportEXT' : 5013, 'SampleMaskOverrideCoverageNV' : 5249, 'GeometryShaderPassthroughNV' : 5251, 'ShaderViewportIndexLayerEXT' : 5254, |