summaryrefslogtreecommitdiff
path: root/include/spirv/unified1
diff options
context:
space:
mode:
authorpradyumans <95509728+pradyumans@users.noreply.github.com>2023-10-04 08:44:53 -0700
committerGitHub <noreply@github.com>2023-10-04 08:44:53 -0700
commite867c06631767a2d96424cbec530f9ee5e78180f (patch)
treec7f28f5c3703fa9185b9880517c95eedd34f44ab /include/spirv/unified1
parentf62c82d6b74992641aae1f8db75867b2e53aff08 (diff)
downloadSPIRV-Headers-upstream.tar.gz
SPIRV-Headers-upstream.tar.bz2
SPIRV-Headers-upstream.zip
Add a Source Language for Slang (#383)upstream/1.3.268upstream
* Add a Source Language for Slang * Changed src lang name from SLANG to Slang
Diffstat (limited to 'include/spirv/unified1')
-rw-r--r--include/spirv/unified1/spirv.bf1
-rw-r--r--include/spirv/unified1/spirv.core.grammar.json5
-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
10 files changed, 15 insertions, 1 deletions
diff --git a/include/spirv/unified1/spirv.bf b/include/spirv/unified1/spirv.bf
index 59419c4..bd86e70 100644
--- a/include/spirv/unified1/spirv.bf
+++ b/include/spirv/unified1/spirv.bf
@@ -69,6 +69,7 @@ namespace Spv
HERO_C = 8,
NZSL = 9,
WGSL = 10,
+ Slang = 11,
}
[AllowDuplicates, CRepr] public enum ExecutionModel
diff --git a/include/spirv/unified1/spirv.core.grammar.json b/include/spirv/unified1/spirv.core.grammar.json
index d023ec7..161a8f2 100644
--- a/include/spirv/unified1/spirv.core.grammar.json
+++ b/include/spirv/unified1/spirv.core.grammar.json
@@ -10579,6 +10579,11 @@
"enumerant" : "WGSL",
"value" : 10,
"version" : "1.0"
+ },
+ {
+ "enumerant" : "Slang",
+ "value" : 11,
+ "version" : "1.0"
}
]
},
diff --git a/include/spirv/unified1/spirv.cs b/include/spirv/unified1/spirv.cs
index 345ae5f..0906c28 100644
--- a/include/spirv/unified1/spirv.cs
+++ b/include/spirv/unified1/spirv.cs
@@ -68,6 +68,7 @@ namespace Spv
HERO_C = 8,
NZSL = 9,
WGSL = 10,
+ Slang = 11,
}
public enum ExecutionModel
diff --git a/include/spirv/unified1/spirv.h b/include/spirv/unified1/spirv.h
index 2a9650e..bae4784 100644
--- a/include/spirv/unified1/spirv.h
+++ b/include/spirv/unified1/spirv.h
@@ -76,6 +76,7 @@ typedef enum SpvSourceLanguage_ {
SpvSourceLanguageHERO_C = 8,
SpvSourceLanguageNZSL = 9,
SpvSourceLanguageWGSL = 10,
+ SpvSourceLanguageSlang = 11,
SpvSourceLanguageMax = 0x7fffffff,
} SpvSourceLanguage;
diff --git a/include/spirv/unified1/spirv.hpp b/include/spirv/unified1/spirv.hpp
index 0cdf36c..1531e8b 100644
--- a/include/spirv/unified1/spirv.hpp
+++ b/include/spirv/unified1/spirv.hpp
@@ -72,6 +72,7 @@ enum SourceLanguage {
SourceLanguageHERO_C = 8,
SourceLanguageNZSL = 9,
SourceLanguageWGSL = 10,
+ SourceLanguageSlang = 11,
SourceLanguageMax = 0x7fffffff,
};
diff --git a/include/spirv/unified1/spirv.hpp11 b/include/spirv/unified1/spirv.hpp11
index 478d8a6..5ac8310 100644
--- a/include/spirv/unified1/spirv.hpp11
+++ b/include/spirv/unified1/spirv.hpp11
@@ -72,6 +72,7 @@ enum class SourceLanguage : unsigned {
HERO_C = 8,
NZSL = 9,
WGSL = 10,
+ Slang = 11,
Max = 0x7fffffff,
};
diff --git a/include/spirv/unified1/spirv.json b/include/spirv/unified1/spirv.json
index 6c6cd27..04af9e4 100644
--- a/include/spirv/unified1/spirv.json
+++ b/include/spirv/unified1/spirv.json
@@ -78,7 +78,8 @@
"SYCL": 7,
"HERO_C": 8,
"NZSL": 9,
- "WGSL": 10
+ "WGSL": 10,
+ "Slang": 11
}
},
{
diff --git a/include/spirv/unified1/spirv.lua b/include/spirv/unified1/spirv.lua
index b4259c2..d76a39c 100644
--- a/include/spirv/unified1/spirv.lua
+++ b/include/spirv/unified1/spirv.lua
@@ -63,6 +63,7 @@ spv = {
HERO_C = 8,
NZSL = 9,
WGSL = 10,
+ Slang = 11,
},
ExecutionModel = {
diff --git a/include/spirv/unified1/spirv.py b/include/spirv/unified1/spirv.py
index 2f65c43..477283e 100644
--- a/include/spirv/unified1/spirv.py
+++ b/include/spirv/unified1/spirv.py
@@ -63,6 +63,7 @@ spv = {
'HERO_C' : 8,
'NZSL' : 9,
'WGSL' : 10,
+ 'Slang' : 11,
},
'ExecutionModel' : {
diff --git a/include/spirv/unified1/spv.d b/include/spirv/unified1/spv.d
index 162081b..34b3204 100644
--- a/include/spirv/unified1/spv.d
+++ b/include/spirv/unified1/spv.d
@@ -71,6 +71,7 @@ enum SourceLanguage : uint
HERO_C = 8,
NZSL = 9,
WGSL = 10,
+ Slang = 11,
}
enum ExecutionModel : uint