summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaun Krisch <raun.krisch@gmail.com>2021-06-30 10:47:38 -0500
committerGitHub <noreply@github.com>2021-06-30 10:47:38 -0500
commit8aec5fcf95cc69c54321007ba959ff6b1954a0dd (patch)
tree9b94481c0590199a1861e060acbb039a1bc219b4
parent71b51d4f4c41b1253e1d9a1052f85cb05a684c50 (diff)
parent0320c5dd2a5669df86ae99b4f830df316d4824cc (diff)
downloadSPIRV-Headers-8aec5fcf95cc69c54321007ba959ff6b1954a0dd.tar.gz
SPIRV-Headers-8aec5fcf95cc69c54321007ba959ff6b1954a0dd.tar.bz2
SPIRV-Headers-8aec5fcf95cc69c54321007ba959ff6b1954a0dd.zip
Merge pull request #224 from Fznamznon/upstream-debug-module-ext
Upstream SPV_INTEL_debug_module extension
-rw-r--r--include/spirv/unified1/OpenCLDebugInfo100.h1
-rw-r--r--include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json15
-rw-r--r--include/spirv/unified1/spirv.core.grammar.json6
-rw-r--r--include/spirv/unified1/spirv.cs1
-rw-r--r--include/spirv/unified1/spirv.h1
-rw-r--r--include/spirv/unified1/spirv.hpp1
-rw-r--r--include/spirv/unified1/spirv.hpp111
-rw-r--r--include/spirv/unified1/spirv.json3
-rw-r--r--include/spirv/unified1/spirv.lua1
-rw-r--r--include/spirv/unified1/spirv.py1
-rw-r--r--include/spirv/unified1/spv.d1
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 10cafc4..2852c09 100644
--- a/include/spirv/unified1/spirv.core.grammar.json
+++ b/include/spirv/unified1/spirv.core.grammar.json
@@ -13433,6 +13433,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 a44598d..859f0e7 100644
--- a/include/spirv/unified1/spirv.cs
+++ b/include/spirv/unified1/spirv.cs
@@ -1054,6 +1054,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 f86b019..34f90d3 100644
--- a/include/spirv/unified1/spirv.h
+++ b/include/spirv/unified1/spirv.h
@@ -1054,6 +1054,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 2bacf83..a0b35b3 100644
--- a/include/spirv/unified1/spirv.hpp
+++ b/include/spirv/unified1/spirv.hpp
@@ -1050,6 +1050,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 c98eb9d..e17c6c6 100644
--- a/include/spirv/unified1/spirv.hpp11
+++ b/include/spirv/unified1/spirv.hpp11
@@ -1050,6 +1050,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 b09c84a..1c63036 100644
--- a/include/spirv/unified1/spirv.json
+++ b/include/spirv/unified1/spirv.json
@@ -1036,7 +1036,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 dcc15ac..afdaec9 100644
--- a/include/spirv/unified1/spirv.lua
+++ b/include/spirv/unified1/spirv.lua
@@ -1012,6 +1012,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 2f7870d..09755a2 100644
--- a/include/spirv/unified1/spirv.py
+++ b/include/spirv/unified1/spirv.py
@@ -1012,6 +1012,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 79e9e85..179a6b1 100644
--- a/include/spirv/unified1/spv.d
+++ b/include/spirv/unified1/spv.d
@@ -1057,6 +1057,7 @@ enum Capability : uint
AtomicFloat64AddEXT = 6034,
LongConstantCompositeINTEL = 6089,
AtomicFloat16AddEXT = 6095,
+ DebugInfoModuleINTEL = 6114,
}
enum RayFlagsShift : uint