diff options
author | Mariya Podchishchaeva <mariya.podchishchaeva@intel.com> | 2021-06-25 13:44:25 +0300 |
---|---|---|
committer | Mariya Podchishchaeva <mariya.podchishchaeva@intel.com> | 2021-06-25 13:44:25 +0300 |
commit | 0320c5dd2a5669df86ae99b4f830df316d4824cc (patch) | |
tree | dddea480f97bae45a59c356f3bfab8cdb5ab5a9b | |
parent | f95c3b3761ee1b1903f54ae69b526ed6f0edc3b9 (diff) | |
download | SPIRV-Headers-0320c5dd2a5669df86ae99b4f830df316d4824cc.tar.gz SPIRV-Headers-0320c5dd2a5669df86ae99b4f830df316d4824cc.tar.bz2 SPIRV-Headers-0320c5dd2a5669df86ae99b4f830df316d4824cc.zip |
Upstream SPV_INTEL_debug_module
Spec https://github.com/intel/llvm/pull/3976
-rw-r--r-- | include/spirv/unified1/OpenCLDebugInfo100.h | 1 | ||||
-rw-r--r-- | include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json | 15 | ||||
-rw-r--r-- | include/spirv/unified1/spirv.core.grammar.json | 6 | ||||
-rw-r--r-- | include/spirv/unified1/spirv.cs | 1 | ||||
-rw-r--r-- | include/spirv/unified1/spirv.h | 1 | ||||
-rw-r--r-- | include/spirv/unified1/spirv.hpp | 1 | ||||
-rw-r--r-- | include/spirv/unified1/spirv.hpp11 | 1 | ||||
-rw-r--r-- | include/spirv/unified1/spirv.json | 3 | ||||
-rw-r--r-- | include/spirv/unified1/spirv.lua | 1 | ||||
-rw-r--r-- | include/spirv/unified1/spirv.py | 1 | ||||
-rw-r--r-- | include/spirv/unified1/spv.d | 1 |
11 files changed, 31 insertions, 1 deletions
diff --git a/include/spirv/unified1/OpenCLDebugInfo100.h b/include/spirv/unified1/OpenCLDebugInfo100.h index 7285bd4..e3847c9 100644 --- a/include/spirv/unified1/OpenCLDebugInfo100.h +++ b/include/spirv/unified1/OpenCLDebugInfo100.h @@ -75,6 +75,7 @@ enum OpenCLDebugInfo100Instructions { OpenCLDebugInfo100DebugMacroUndef = 33, OpenCLDebugInfo100DebugImportedEntity = 34, OpenCLDebugInfo100DebugSource = 35, + OpenCLDebugInfo100DebugModuleINTEL = 36, OpenCLDebugInfo100InstructionsMax = 0x7fffffff }; diff --git a/include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json b/include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json index d4cfab2..699fe40 100644 --- a/include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json +++ b/include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json @@ -395,6 +395,21 @@ { "kind" : "IdRef", "name" : "'File'" }, { "kind" : "IdRef", "name" : "'Text'", "quantifier" : "?" } ] + }, + { + "opname" : "DebugModuleINTEL", + "opcode" : 36, + "operands" : [ + { "kind" : "IdRef", "name" : "'Name'" }, + { "kind" : "IdRef", "name" : "'Source'" }, + { "kind" : "IdRef", "name" : "'Parent'" }, + { "kind" : "LiteralInteger", "name" : "'Line'" }, + { "kind" : "IdRef", "name" : "'ConfigurationMacros'" }, + { "kind" : "IdRef", "name" : "'IncludePath'" }, + { "kind" : "IdRef", "name" : "'APINotesFile'" }, + { "kind" : "LiteralInteger", "name" : "'IsDeclaration'" } + ], + "capability" : "DebugInfoModuleINTEL" } ], "operand_kinds" : [ diff --git a/include/spirv/unified1/spirv.core.grammar.json b/include/spirv/unified1/spirv.core.grammar.json index 04eb87e..f454740 100644 --- a/include/spirv/unified1/spirv.core.grammar.json +++ b/include/spirv/unified1/spirv.core.grammar.json @@ -13427,6 +13427,12 @@ "capabilities" : [ "Shader" ], "extensions" : [ "SPV_EXT_shader_atomic_float16_add" ], "version" : "None" + }, + { + "enumerant" : "DebugInfoModuleINTEL", + "value" : 6114, + "extensions" : [ "SPV_INTEL_debug_module" ], + "version" : "None" } ] }, diff --git a/include/spirv/unified1/spirv.cs b/include/spirv/unified1/spirv.cs index f2d8aaa..6310945 100644 --- a/include/spirv/unified1/spirv.cs +++ b/include/spirv/unified1/spirv.cs @@ -1053,6 +1053,7 @@ namespace Spv AtomicFloat64AddEXT = 6034, LongConstantCompositeINTEL = 6089, AtomicFloat16AddEXT = 6095, + DebugInfoModuleINTEL = 6114, } public enum RayFlagsShift diff --git a/include/spirv/unified1/spirv.h b/include/spirv/unified1/spirv.h index 68e9a9a..51757fb 100644 --- a/include/spirv/unified1/spirv.h +++ b/include/spirv/unified1/spirv.h @@ -1053,6 +1053,7 @@ typedef enum SpvCapability_ { SpvCapabilityAtomicFloat64AddEXT = 6034, SpvCapabilityLongConstantCompositeINTEL = 6089, SpvCapabilityAtomicFloat16AddEXT = 6095, + SpvCapabilityDebugInfoModuleINTEL = 6114, SpvCapabilityMax = 0x7fffffff, } SpvCapability; diff --git a/include/spirv/unified1/spirv.hpp b/include/spirv/unified1/spirv.hpp index 098ab39..991c916 100644 --- a/include/spirv/unified1/spirv.hpp +++ b/include/spirv/unified1/spirv.hpp @@ -1049,6 +1049,7 @@ enum Capability { CapabilityAtomicFloat64AddEXT = 6034, CapabilityLongConstantCompositeINTEL = 6089, CapabilityAtomicFloat16AddEXT = 6095, + CapabilityDebugInfoModuleINTEL = 6114, CapabilityMax = 0x7fffffff, }; diff --git a/include/spirv/unified1/spirv.hpp11 b/include/spirv/unified1/spirv.hpp11 index 8bfd57f..341f3b5 100644 --- a/include/spirv/unified1/spirv.hpp11 +++ b/include/spirv/unified1/spirv.hpp11 @@ -1049,6 +1049,7 @@ enum class Capability : unsigned { AtomicFloat64AddEXT = 6034, LongConstantCompositeINTEL = 6089, AtomicFloat16AddEXT = 6095, + DebugInfoModuleINTEL = 6114, Max = 0x7fffffff, }; diff --git a/include/spirv/unified1/spirv.json b/include/spirv/unified1/spirv.json index f4f13bc..cc3827b 100644 --- a/include/spirv/unified1/spirv.json +++ b/include/spirv/unified1/spirv.json @@ -1035,7 +1035,8 @@ "AtomicFloat32AddEXT": 6033, "AtomicFloat64AddEXT": 6034, "LongConstantCompositeINTEL": 6089, - "AtomicFloat16AddEXT": 6095 + "AtomicFloat16AddEXT": 6095, + "DebugInfoModuleINTEL": 6114 } }, { diff --git a/include/spirv/unified1/spirv.lua b/include/spirv/unified1/spirv.lua index 9f05c99..e6aacf7 100644 --- a/include/spirv/unified1/spirv.lua +++ b/include/spirv/unified1/spirv.lua @@ -1011,6 +1011,7 @@ spv = { AtomicFloat64AddEXT = 6034, LongConstantCompositeINTEL = 6089, AtomicFloat16AddEXT = 6095, + DebugInfoModuleINTEL = 6114, }, RayFlagsShift = { diff --git a/include/spirv/unified1/spirv.py b/include/spirv/unified1/spirv.py index fbef918..764a94a 100644 --- a/include/spirv/unified1/spirv.py +++ b/include/spirv/unified1/spirv.py @@ -1011,6 +1011,7 @@ spv = { 'AtomicFloat64AddEXT' : 6034, 'LongConstantCompositeINTEL' : 6089, 'AtomicFloat16AddEXT' : 6095, + 'DebugInfoModuleINTEL' : 6114, }, 'RayFlagsShift' : { diff --git a/include/spirv/unified1/spv.d b/include/spirv/unified1/spv.d index 65ea536..cf5969b 100644 --- a/include/spirv/unified1/spv.d +++ b/include/spirv/unified1/spv.d @@ -1056,6 +1056,7 @@ enum Capability : uint AtomicFloat64AddEXT = 6034, LongConstantCompositeINTEL = 6089, AtomicFloat16AddEXT = 6095, + DebugInfoModuleINTEL = 6114, } enum RayFlagsShift : uint |