Browse Source

Updated spirv-headers.

Бранимир Караџић 9 months ago
parent
commit
f991ac345b

+ 3 - 2
3rdparty/spirv-headers/include/spirv/spir-v.xml

@@ -90,14 +90,15 @@
         <id value="37"  vendor="heroseh" tool="Hero C Compiler" comment="https://github.com/heroseh/hcc"/>
         <id value="38"  vendor="Meta" tool="SparkSL" comment="Contact Dunfan Lu, [email protected], https://sparkar.facebook.com/ar-studio/learn/sparksl/sparksl-overview"/>
         <id value="39"  vendor="SirLynix" tool="Nazara ShaderLang Compiler" comment="Contact Jérôme Leclercq, https://github.com/NazaraEngine/ShaderLang"/>
-        <id value="40"  vendor="NVIDIA" tool="Slang Compiler" comment="Contact Theresa Foley, [email protected], https://github.com/shader-slang/slang/"/>
+        <id value="40"  vendor="Khronos" tool="Slang Compiler" comment="https://shader-slang.org"/>
         <id value="41"  vendor="Zig Software Foundation" tool="Zig Compiler" comment="Contact Robin Voetter, https://github.com/Snektron"/>
         <id value="42"  vendor="Rendong Liang" tool="spq" comment="Contact Rendong Liang, [email protected], https://github.com/PENGUINLIONG/spq-rs"/>
         <id value="43"  vendor="LLVM" tool="LLVM SPIR-V Backend" comment="Contact Michal Paszkowski, [email protected], https://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/SPIRV"/>
         <id value="44"  vendor="Robert Konrad" tool="Kongruent" comment="Contact Robert Konrad, https://github.com/Kode/Kongruent"/>
         <id value="45"  vendor="Kitsunebi Games" tool="Nuvk SPIR-V Emitter and DLSL compiler" comment="Contact Luna Nielsen, [email protected], https://github.com/Inochi2D/nuvk"/>
         <id value="46"  vendor="Nintendo" comment="Contact Steve Urquhart, [email protected]"/>
-        <unused start="47" end="0xFFFF" comment="Tool ID range reservable for future use by vendors"/>
+        <id value="47"  vendor="ARM" comment="Contact Christopher Gautier, [email protected]"/>
+        <unused start="48" end="0xFFFF" comment="Tool ID range reservable for future use by vendors"/>
     </ids>
 
     <!-- SECTION: SPIR-V Opcodes and Enumerants -->

+ 2 - 1
3rdparty/spirv-headers/include/spirv/unified1/NonSemanticClspvReflection.h

@@ -33,7 +33,7 @@ extern "C" {
 #endif
 
 enum {
-    NonSemanticClspvReflectionRevision = 6,
+    NonSemanticClspvReflectionRevision = 7,
     NonSemanticClspvReflectionRevision_BitWidthPadding = 0x7fffffff
 };
 
@@ -79,6 +79,7 @@ enum NonSemanticClspvReflectionInstructions {
     NonSemanticClspvReflectionPrintfBufferStorageBuffer = 39,
     NonSemanticClspvReflectionPrintfBufferPointerPushConstant = 40,
     NonSemanticClspvReflectionNormalizedSamplerMaskPushConstant = 41,
+    NonSemanticClspvReflectionWorkgroupVariableSize = 42,
     NonSemanticClspvReflectionInstructionsMax = 0x7fffffff
 };
 

+ 9 - 1
3rdparty/spirv-headers/include/spirv/unified1/extinst.nonsemantic.clspvreflection.grammar.json

@@ -1,5 +1,5 @@
 {
-  "revision" : 6,
+  "revision" : 7,
   "instructions" : [
     {
       "opname" : "Kernel",
@@ -405,6 +405,14 @@
       { "kind" : "IdRef", "name" : "Offset" },
       { "kind" : "IdRef", "name" : "Size" }
       ]
+    },
+    {
+    "opname" : "WorkgroupVariableSize",
+    "opcode" : 42,
+    "operands" : [
+      { "kind" : "IdRef", "name" : "Variable" },
+      { "kind" : "IdRef", "name" : "Size" }
+      ]
     }
   ],
   "operand_kinds" : [

+ 1 - 11
3rdparty/spirv-headers/include/spirv/unified1/spirv.core.grammar.json

@@ -9759,7 +9759,6 @@
       "operands" : [
         { "kind" : "IdResultType" },
         { "kind" : "IdResult" },
-        { "kind" : "IdRef", "name" : "'Input Type'" },
         { "kind" : "IdRef", "name" : "'Input'" },
         { "kind" : "LiteralInteger", "name" : "'S'" },
         { "kind" : "LiteralInteger", "name" : "'I'" },
@@ -9777,7 +9776,6 @@
       "operands" : [
         { "kind" : "IdResultType" },
         { "kind" : "IdResult" },
-        { "kind" : "IdRef", "name" : "'Input Type'" },
         { "kind" : "IdRef", "name" : "'Input'" },
         { "kind" : "LiteralInteger", "name" : "'S'" },
         { "kind" : "LiteralInteger", "name" : "'I'" },
@@ -9795,7 +9793,6 @@
       "operands" : [
         { "kind" : "IdResultType" },
         { "kind" : "IdResult" },
-        { "kind" : "IdRef", "name" : "'Input Type'" },
         { "kind" : "IdRef", "name" : "'Input'" },
         { "kind" : "LiteralInteger", "name" : "'S'" },
         { "kind" : "LiteralInteger", "name" : "'I'" },
@@ -9813,7 +9810,6 @@
       "operands" : [
         { "kind" : "IdResultType" },
         { "kind" : "IdResult" },
-        { "kind" : "IdRef", "name" : "'Input Type'" },
         { "kind" : "IdRef", "name" : "'Input'" },
         { "kind" : "LiteralInteger", "name" : "'S'" },
         { "kind" : "LiteralInteger", "name" : "'I'" },
@@ -9831,7 +9827,6 @@
       "operands" : [
         { "kind" : "IdResultType" },
         { "kind" : "IdResult" },
-        { "kind" : "IdRef", "name" : "'Input Type'" },
         { "kind" : "IdRef", "name" : "'Input'" },
         { "kind" : "LiteralInteger", "name" : "'S'" },
         { "kind" : "LiteralInteger", "name" : "'I'" },
@@ -9849,7 +9844,6 @@
       "operands" : [
         { "kind" : "IdResultType" },
         { "kind" : "IdResult" },
-        { "kind" : "IdRef", "name" : "'Input Type'" },
         { "kind" : "IdRef", "name" : "'Input'" },
         { "kind" : "LiteralInteger", "name" : "'S'" },
         { "kind" : "LiteralInteger", "name" : "'I'" },
@@ -9867,7 +9861,6 @@
       "operands" : [
         { "kind" : "IdResultType" },
         { "kind" : "IdResult" },
-        { "kind" : "IdRef", "name" : "'Input Type'" },
         { "kind" : "IdRef", "name" : "'Input'" },
         { "kind" : "LiteralInteger", "name" : "'S'" },
         { "kind" : "LiteralInteger", "name" : "'I'" },
@@ -9885,7 +9878,6 @@
       "operands" : [
         { "kind" : "IdResultType" },
         { "kind" : "IdResult" },
-        { "kind" : "IdRef", "name" : "'Input Type'" },
         { "kind" : "IdRef", "name" : "'Input'" },
         { "kind" : "LiteralInteger", "name" : "'S'" },
         { "kind" : "LiteralInteger", "name" : "'I'" },
@@ -9903,7 +9895,6 @@
       "operands" : [
         { "kind" : "IdResultType" },
         { "kind" : "IdResult" },
-        { "kind" : "IdRef", "name" : "'Input Type'" },
         { "kind" : "IdRef", "name" : "'Input'" },
         { "kind" : "LiteralInteger", "name" : "'S'" },
         { "kind" : "LiteralInteger", "name" : "'I'" },
@@ -9921,7 +9912,6 @@
       "operands" : [
         { "kind" : "IdResultType" },
         { "kind" : "IdResult" },
-        { "kind" : "IdRef", "name" : "'Input Type'" },
         { "kind" : "IdRef", "name" : "'Input'" },
         { "kind" : "LiteralInteger", "name" : "'S'" },
         { "kind" : "LiteralInteger", "name" : "'I'" },
@@ -9939,7 +9929,6 @@
       "operands" : [
         { "kind" : "IdResultType" },
         { "kind" : "IdResult" },
-        { "kind" : "IdRef", "name" : "'Input Type'" },
         { "kind" : "IdRef", "name" : "'Input'" },
         { "kind" : "LiteralInteger", "name" : "'S'" },
         { "kind" : "LiteralInteger", "name" : "'I'" },
@@ -16112,6 +16101,7 @@
         {
           "enumerant" : "AtomicStorageOps",
           "value" : 4445,
+          "capabilities" : [ "AtomicStorage" ],
           "extensions" : [ "SPV_KHR_shader_atomic_counter_ops" ],
           "version" : "None"
         },