From a5164829e8f0255392c481696b63763a5e80be3c Mon Sep 17 00:00:00 2001 From: Icyllis Milica Date: Wed, 8 Oct 2025 23:45:21 +0800 Subject: [PATCH 01/11] Register for Arc3D SPIR-V code generator (#548) --- include/spirv/spir-v.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/spirv/spir-v.xml b/include/spirv/spir-v.xml index b7c794763..ba45e3d08 100644 --- a/include/spirv/spir-v.xml +++ b/include/spirv/spir-v.xml @@ -81,7 +81,8 @@ - + + From 9268f3057354a2cb65991ba5f38b16d81e803692 Mon Sep 17 00:00:00 2001 From: gnl21 Date: Fri, 10 Oct 2025 02:46:27 +0100 Subject: [PATCH 02/11] Headers update for SPV_KHR_fma (#549) --- include/spirv/unified1/spirv.bf | 2 ++ .../spirv/unified1/spirv.core.grammar.json | 20 +++++++++++++++++++ include/spirv/unified1/spirv.cs | 2 ++ include/spirv/unified1/spirv.h | 5 +++++ include/spirv/unified1/spirv.hpp | 5 +++++ include/spirv/unified1/spirv.hpp11 | 5 +++++ include/spirv/unified1/spirv.json | 2 ++ include/spirv/unified1/spirv.lua | 2 ++ include/spirv/unified1/spirv.py | 2 ++ include/spirv/unified1/spv.d | 2 ++ 10 files changed, 47 insertions(+) diff --git a/include/spirv/unified1/spirv.bf b/include/spirv/unified1/spirv.bf index 1e4273e0d..d0cbdcc87 100644 --- a/include/spirv/unified1/spirv.bf +++ b/include/spirv/unified1/spirv.bf @@ -1290,6 +1290,7 @@ namespace Spv BitInstructions = 6025, GroupNonUniformRotateKHR = 6026, FloatControls2 = 6029, + FMAKHR = 6030, AtomicFloat32AddEXT = 6033, AtomicFloat64AddEXT = 6034, LongCompositesINTEL = 6089, @@ -2041,6 +2042,7 @@ namespace Spv OpUntypedInBoundsPtrAccessChainKHR = 4424, OpUntypedArrayLengthKHR = 4425, OpUntypedPrefetchKHR = 4426, + OpFmaKHR = 4427, OpSubgroupAllKHR = 4428, OpSubgroupAnyKHR = 4429, OpSubgroupAllEqualKHR = 4430, diff --git a/include/spirv/unified1/spirv.core.grammar.json b/include/spirv/unified1/spirv.core.grammar.json index eb247f72a..1c3ed72f8 100644 --- a/include/spirv/unified1/spirv.core.grammar.json +++ b/include/spirv/unified1/spirv.core.grammar.json @@ -4707,6 +4707,20 @@ { "kind" : "IdRef", "quantifier" : "?", "name" : "Cache Type" } ] }, + { + "opname" : "OpFmaKHR", + "class" : "Arithmetic", + "opcode" : 4427, + "operands" : [ + { "kind" : "IdResultType" }, + { "kind" : "IdResult" }, + { "kind" : "IdRef", "name" : "Operand 1" }, + { "kind" : "IdRef", "name" : "Operand 2" }, + { "kind" : "IdRef", "name" : "Operand 3" } + ], + "capabilities" : [ "FMAKHR" ], + "version" : "None" + }, { "opname" : "OpSubgroupAllKHR", "class" : "Group", @@ -17607,6 +17621,12 @@ "extensions" : [ "SPV_KHR_float_controls2" ], "version" : "None" }, + { + "enumerant" : "FMAKHR", + "value" : 6030, + "extensions" : [ "SPV_KHR_fma" ], + "version" : "None" + }, { "enumerant" : "AtomicFloat32AddEXT", "value" : 6033, diff --git a/include/spirv/unified1/spirv.cs b/include/spirv/unified1/spirv.cs index 62290d1f5..bc04a5770 100644 --- a/include/spirv/unified1/spirv.cs +++ b/include/spirv/unified1/spirv.cs @@ -1289,6 +1289,7 @@ public enum Capability BitInstructions = 6025, GroupNonUniformRotateKHR = 6026, FloatControls2 = 6029, + FMAKHR = 6030, AtomicFloat32AddEXT = 6033, AtomicFloat64AddEXT = 6034, LongCompositesINTEL = 6089, @@ -2040,6 +2041,7 @@ public enum Op OpUntypedInBoundsPtrAccessChainKHR = 4424, OpUntypedArrayLengthKHR = 4425, OpUntypedPrefetchKHR = 4426, + OpFmaKHR = 4427, OpSubgroupAllKHR = 4428, OpSubgroupAnyKHR = 4429, OpSubgroupAllEqualKHR = 4430, diff --git a/include/spirv/unified1/spirv.h b/include/spirv/unified1/spirv.h index 12d0bf9d9..26bc6d9d8 100644 --- a/include/spirv/unified1/spirv.h +++ b/include/spirv/unified1/spirv.h @@ -1260,6 +1260,7 @@ typedef enum SpvCapability_ { SpvCapabilityBitInstructions = 6025, SpvCapabilityGroupNonUniformRotateKHR = 6026, SpvCapabilityFloatControls2 = 6029, + SpvCapabilityFMAKHR = 6030, SpvCapabilityAtomicFloat32AddEXT = 6033, SpvCapabilityAtomicFloat64AddEXT = 6034, SpvCapabilityLongCompositesINTEL = 6089, @@ -1975,6 +1976,7 @@ typedef enum SpvOp_ { SpvOpUntypedInBoundsPtrAccessChainKHR = 4424, SpvOpUntypedArrayLengthKHR = 4425, SpvOpUntypedPrefetchKHR = 4426, + SpvOpFmaKHR = 4427, SpvOpSubgroupAllKHR = 4428, SpvOpSubgroupAnyKHR = 4429, SpvOpSubgroupAllEqualKHR = 4430, @@ -2819,6 +2821,7 @@ inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultTy case SpvOpUntypedInBoundsPtrAccessChainKHR: *hasResult = true; *hasResultType = true; break; case SpvOpUntypedArrayLengthKHR: *hasResult = true; *hasResultType = true; break; case SpvOpUntypedPrefetchKHR: *hasResult = false; *hasResultType = false; break; + case SpvOpFmaKHR: *hasResult = true; *hasResultType = true; break; case SpvOpSubgroupAllKHR: *hasResult = true; *hasResultType = true; break; case SpvOpSubgroupAnyKHR: *hasResult = true; *hasResultType = true; break; case SpvOpSubgroupAllEqualKHR: *hasResult = true; *hasResultType = true; break; @@ -4215,6 +4218,7 @@ inline const char* SpvCapabilityToString(SpvCapability value) { case SpvCapabilityBitInstructions: return "BitInstructions"; case SpvCapabilityGroupNonUniformRotateKHR: return "GroupNonUniformRotateKHR"; case SpvCapabilityFloatControls2: return "FloatControls2"; + case SpvCapabilityFMAKHR: return "FMAKHR"; case SpvCapabilityAtomicFloat32AddEXT: return "AtomicFloat32AddEXT"; case SpvCapabilityAtomicFloat64AddEXT: return "AtomicFloat64AddEXT"; case SpvCapabilityLongCompositesINTEL: return "LongCompositesINTEL"; @@ -4810,6 +4814,7 @@ inline const char* SpvOpToString(SpvOp value) { case SpvOpUntypedInBoundsPtrAccessChainKHR: return "OpUntypedInBoundsPtrAccessChainKHR"; case SpvOpUntypedArrayLengthKHR: return "OpUntypedArrayLengthKHR"; case SpvOpUntypedPrefetchKHR: return "OpUntypedPrefetchKHR"; + case SpvOpFmaKHR: return "OpFmaKHR"; case SpvOpSubgroupAllKHR: return "OpSubgroupAllKHR"; case SpvOpSubgroupAnyKHR: return "OpSubgroupAnyKHR"; case SpvOpSubgroupAllEqualKHR: return "OpSubgroupAllEqualKHR"; diff --git a/include/spirv/unified1/spirv.hpp b/include/spirv/unified1/spirv.hpp index b89d4bc57..086fcc48c 100644 --- a/include/spirv/unified1/spirv.hpp +++ b/include/spirv/unified1/spirv.hpp @@ -1256,6 +1256,7 @@ enum Capability { CapabilityBitInstructions = 6025, CapabilityGroupNonUniformRotateKHR = 6026, CapabilityFloatControls2 = 6029, + CapabilityFMAKHR = 6030, CapabilityAtomicFloat32AddEXT = 6033, CapabilityAtomicFloat64AddEXT = 6034, CapabilityLongCompositesINTEL = 6089, @@ -1971,6 +1972,7 @@ enum Op { OpUntypedInBoundsPtrAccessChainKHR = 4424, OpUntypedArrayLengthKHR = 4425, OpUntypedPrefetchKHR = 4426, + OpFmaKHR = 4427, OpSubgroupAllKHR = 4428, OpSubgroupAnyKHR = 4429, OpSubgroupAllEqualKHR = 4430, @@ -2815,6 +2817,7 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { case OpUntypedInBoundsPtrAccessChainKHR: *hasResult = true; *hasResultType = true; break; case OpUntypedArrayLengthKHR: *hasResult = true; *hasResultType = true; break; case OpUntypedPrefetchKHR: *hasResult = false; *hasResultType = false; break; + case OpFmaKHR: *hasResult = true; *hasResultType = true; break; case OpSubgroupAllKHR: *hasResult = true; *hasResultType = true; break; case OpSubgroupAnyKHR: *hasResult = true; *hasResultType = true; break; case OpSubgroupAllEqualKHR: *hasResult = true; *hasResultType = true; break; @@ -4211,6 +4214,7 @@ inline const char* CapabilityToString(Capability value) { case CapabilityBitInstructions: return "BitInstructions"; case CapabilityGroupNonUniformRotateKHR: return "GroupNonUniformRotateKHR"; case CapabilityFloatControls2: return "FloatControls2"; + case CapabilityFMAKHR: return "FMAKHR"; case CapabilityAtomicFloat32AddEXT: return "AtomicFloat32AddEXT"; case CapabilityAtomicFloat64AddEXT: return "AtomicFloat64AddEXT"; case CapabilityLongCompositesINTEL: return "LongCompositesINTEL"; @@ -4806,6 +4810,7 @@ inline const char* OpToString(Op value) { case OpUntypedInBoundsPtrAccessChainKHR: return "OpUntypedInBoundsPtrAccessChainKHR"; case OpUntypedArrayLengthKHR: return "OpUntypedArrayLengthKHR"; case OpUntypedPrefetchKHR: return "OpUntypedPrefetchKHR"; + case OpFmaKHR: return "OpFmaKHR"; case OpSubgroupAllKHR: return "OpSubgroupAllKHR"; case OpSubgroupAnyKHR: return "OpSubgroupAnyKHR"; case OpSubgroupAllEqualKHR: return "OpSubgroupAllEqualKHR"; diff --git a/include/spirv/unified1/spirv.hpp11 b/include/spirv/unified1/spirv.hpp11 index 6c287888c..0a342aa0a 100644 --- a/include/spirv/unified1/spirv.hpp11 +++ b/include/spirv/unified1/spirv.hpp11 @@ -1256,6 +1256,7 @@ enum class Capability : unsigned { BitInstructions = 6025, GroupNonUniformRotateKHR = 6026, FloatControls2 = 6029, + FMAKHR = 6030, AtomicFloat32AddEXT = 6033, AtomicFloat64AddEXT = 6034, LongCompositesINTEL = 6089, @@ -1971,6 +1972,7 @@ enum class Op : unsigned { OpUntypedInBoundsPtrAccessChainKHR = 4424, OpUntypedArrayLengthKHR = 4425, OpUntypedPrefetchKHR = 4426, + OpFmaKHR = 4427, OpSubgroupAllKHR = 4428, OpSubgroupAnyKHR = 4429, OpSubgroupAllEqualKHR = 4430, @@ -2815,6 +2817,7 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { case Op::OpUntypedInBoundsPtrAccessChainKHR: *hasResult = true; *hasResultType = true; break; case Op::OpUntypedArrayLengthKHR: *hasResult = true; *hasResultType = true; break; case Op::OpUntypedPrefetchKHR: *hasResult = false; *hasResultType = false; break; + case Op::OpFmaKHR: *hasResult = true; *hasResultType = true; break; case Op::OpSubgroupAllKHR: *hasResult = true; *hasResultType = true; break; case Op::OpSubgroupAnyKHR: *hasResult = true; *hasResultType = true; break; case Op::OpSubgroupAllEqualKHR: *hasResult = true; *hasResultType = true; break; @@ -4211,6 +4214,7 @@ inline const char* CapabilityToString(Capability value) { case Capability::BitInstructions: return "BitInstructions"; case Capability::GroupNonUniformRotateKHR: return "GroupNonUniformRotateKHR"; case Capability::FloatControls2: return "FloatControls2"; + case Capability::FMAKHR: return "FMAKHR"; case Capability::AtomicFloat32AddEXT: return "AtomicFloat32AddEXT"; case Capability::AtomicFloat64AddEXT: return "AtomicFloat64AddEXT"; case Capability::LongCompositesINTEL: return "LongCompositesINTEL"; @@ -4806,6 +4810,7 @@ inline const char* OpToString(Op value) { case Op::OpUntypedInBoundsPtrAccessChainKHR: return "OpUntypedInBoundsPtrAccessChainKHR"; case Op::OpUntypedArrayLengthKHR: return "OpUntypedArrayLengthKHR"; case Op::OpUntypedPrefetchKHR: return "OpUntypedPrefetchKHR"; + case Op::OpFmaKHR: return "OpFmaKHR"; case Op::OpSubgroupAllKHR: return "OpSubgroupAllKHR"; case Op::OpSubgroupAnyKHR: return "OpSubgroupAnyKHR"; case Op::OpSubgroupAllEqualKHR: return "OpSubgroupAllEqualKHR"; diff --git a/include/spirv/unified1/spirv.json b/include/spirv/unified1/spirv.json index 5ee68505a..4d53a16e8 100644 --- a/include/spirv/unified1/spirv.json +++ b/include/spirv/unified1/spirv.json @@ -1232,6 +1232,7 @@ "BitInstructions": 6025, "GroupNonUniformRotateKHR": 6026, "FloatControls2": 6029, + "FMAKHR": 6030, "AtomicFloat32AddEXT": 6033, "AtomicFloat64AddEXT": 6034, "LongCompositesINTEL": 6089, @@ -1952,6 +1953,7 @@ "OpUntypedInBoundsPtrAccessChainKHR": 4424, "OpUntypedArrayLengthKHR": 4425, "OpUntypedPrefetchKHR": 4426, + "OpFmaKHR": 4427, "OpSubgroupAllKHR": 4428, "OpSubgroupAnyKHR": 4429, "OpSubgroupAllEqualKHR": 4430, diff --git a/include/spirv/unified1/spirv.lua b/include/spirv/unified1/spirv.lua index b73aa7694..fc5acc2f9 100644 --- a/include/spirv/unified1/spirv.lua +++ b/include/spirv/unified1/spirv.lua @@ -1247,6 +1247,7 @@ spv = { BitInstructions = 6025, GroupNonUniformRotateKHR = 6026, FloatControls2 = 6029, + FMAKHR = 6030, AtomicFloat32AddEXT = 6033, AtomicFloat64AddEXT = 6034, LongCompositesINTEL = 6089, @@ -1962,6 +1963,7 @@ spv = { OpUntypedInBoundsPtrAccessChainKHR = 4424, OpUntypedArrayLengthKHR = 4425, OpUntypedPrefetchKHR = 4426, + OpFmaKHR = 4427, OpSubgroupAllKHR = 4428, OpSubgroupAnyKHR = 4429, OpSubgroupAllEqualKHR = 4430, diff --git a/include/spirv/unified1/spirv.py b/include/spirv/unified1/spirv.py index c273c771a..4b9c7a976 100644 --- a/include/spirv/unified1/spirv.py +++ b/include/spirv/unified1/spirv.py @@ -1218,6 +1218,7 @@ 'BitInstructions' : 6025, 'GroupNonUniformRotateKHR' : 6026, 'FloatControls2' : 6029, + 'FMAKHR' : 6030, 'AtomicFloat32AddEXT' : 6033, 'AtomicFloat64AddEXT' : 6034, 'LongCompositesINTEL' : 6089, @@ -1905,6 +1906,7 @@ 'OpUntypedInBoundsPtrAccessChainKHR' : 4424, 'OpUntypedArrayLengthKHR' : 4425, 'OpUntypedPrefetchKHR' : 4426, + 'OpFmaKHR' : 4427, 'OpSubgroupAllKHR' : 4428, 'OpSubgroupAnyKHR' : 4429, 'OpSubgroupAllEqualKHR' : 4430, diff --git a/include/spirv/unified1/spv.d b/include/spirv/unified1/spv.d index 88b6974ba..abfdc94b5 100644 --- a/include/spirv/unified1/spv.d +++ b/include/spirv/unified1/spv.d @@ -1292,6 +1292,7 @@ enum Capability : uint BitInstructions = 6025, GroupNonUniformRotateKHR = 6026, FloatControls2 = 6029, + FMAKHR = 6030, AtomicFloat32AddEXT = 6033, AtomicFloat64AddEXT = 6034, LongCompositesINTEL = 6089, @@ -2043,6 +2044,7 @@ enum Op : uint OpUntypedInBoundsPtrAccessChainKHR = 4424, OpUntypedArrayLengthKHR = 4425, OpUntypedPrefetchKHR = 4426, + OpFmaKHR = 4427, OpSubgroupAllKHR = 4428, OpSubgroupAnyKHR = 4429, OpSubgroupAllEqualKHR = 4430, From 6bb105b6c4b3a246e1e6bb96366fe14c6dbfde83 Mon Sep 17 00:00:00 2001 From: Jeff Bolz Date: Fri, 24 Oct 2025 12:10:42 -0500 Subject: [PATCH 03/11] Add SPV_EXT_shader_64bit_indexing (#552) --- include/spirv/unified1/spirv.bf | 2 ++ include/spirv/unified1/spirv.core.grammar.json | 12 ++++++++++++ include/spirv/unified1/spirv.cs | 2 ++ include/spirv/unified1/spirv.h | 4 ++++ include/spirv/unified1/spirv.hpp | 4 ++++ include/spirv/unified1/spirv.hpp11 | 4 ++++ include/spirv/unified1/spirv.json | 2 ++ include/spirv/unified1/spirv.lua | 2 ++ include/spirv/unified1/spirv.py | 2 ++ include/spirv/unified1/spv.d | 2 ++ 10 files changed, 36 insertions(+) diff --git a/include/spirv/unified1/spirv.bf b/include/spirv/unified1/spirv.bf index d0cbdcc87..fb476f7d4 100644 --- a/include/spirv/unified1/spirv.bf +++ b/include/spirv/unified1/spirv.bf @@ -192,6 +192,7 @@ namespace Spv SampleInterlockUnorderedEXT = 5369, ShadingRateInterlockOrderedEXT = 5370, ShadingRateInterlockUnorderedEXT = 5371, + Shader64BitIndexingEXT = 5427, SharedLocalMemorySizeINTEL = 5618, RoundingModeRTPINTEL = 5620, RoundingModeRTNINTEL = 5621, @@ -1226,6 +1227,7 @@ namespace Spv RawAccessChainsNV = 5414, RayTracingSpheresGeometryNV = 5418, RayTracingLinearSweptSpheresGeometryNV = 5419, + Shader64BitIndexingEXT = 5426, CooperativeMatrixReductionsNV = 5430, CooperativeMatrixConversionsNV = 5431, CooperativeMatrixPerElementOperationsNV = 5432, diff --git a/include/spirv/unified1/spirv.core.grammar.json b/include/spirv/unified1/spirv.core.grammar.json index 1c3ed72f8..a1f024e17 100644 --- a/include/spirv/unified1/spirv.core.grammar.json +++ b/include/spirv/unified1/spirv.core.grammar.json @@ -12738,6 +12738,12 @@ "extensions" : [ "SPV_EXT_fragment_shader_interlock" ], "version" : "None" }, + { + "enumerant" : "Shader64BitIndexingEXT", + "value" : 5427, + "capabilities" : [ "Shader64BitIndexingEXT" ], + "version" : "None" + }, { "enumerant" : "SharedLocalMemorySizeINTEL", "value" : 5618, @@ -17252,6 +17258,12 @@ "extensions" : [ "SPV_NV_linear_swept_spheres" ], "version" : "None" }, + { + "enumerant" : "Shader64BitIndexingEXT", + "value" : 5426, + "extensions" : [ "SPV_EXT_shader_64bit_indexing" ], + "version" : "None" + }, { "enumerant" : "CooperativeMatrixReductionsNV", "value" : 5430, diff --git a/include/spirv/unified1/spirv.cs b/include/spirv/unified1/spirv.cs index bc04a5770..3332f21d9 100644 --- a/include/spirv/unified1/spirv.cs +++ b/include/spirv/unified1/spirv.cs @@ -191,6 +191,7 @@ public enum ExecutionMode SampleInterlockUnorderedEXT = 5369, ShadingRateInterlockOrderedEXT = 5370, ShadingRateInterlockUnorderedEXT = 5371, + Shader64BitIndexingEXT = 5427, SharedLocalMemorySizeINTEL = 5618, RoundingModeRTPINTEL = 5620, RoundingModeRTNINTEL = 5621, @@ -1225,6 +1226,7 @@ public enum Capability RawAccessChainsNV = 5414, RayTracingSpheresGeometryNV = 5418, RayTracingLinearSweptSpheresGeometryNV = 5419, + Shader64BitIndexingEXT = 5426, CooperativeMatrixReductionsNV = 5430, CooperativeMatrixConversionsNV = 5431, CooperativeMatrixPerElementOperationsNV = 5432, diff --git a/include/spirv/unified1/spirv.h b/include/spirv/unified1/spirv.h index 26bc6d9d8..57757c998 100644 --- a/include/spirv/unified1/spirv.h +++ b/include/spirv/unified1/spirv.h @@ -195,6 +195,7 @@ typedef enum SpvExecutionMode_ { SpvExecutionModeSampleInterlockUnorderedEXT = 5369, SpvExecutionModeShadingRateInterlockOrderedEXT = 5370, SpvExecutionModeShadingRateInterlockUnorderedEXT = 5371, + SpvExecutionModeShader64BitIndexingEXT = 5427, SpvExecutionModeSharedLocalMemorySizeINTEL = 5618, SpvExecutionModeRoundingModeRTPINTEL = 5620, SpvExecutionModeRoundingModeRTNINTEL = 5621, @@ -1196,6 +1197,7 @@ typedef enum SpvCapability_ { SpvCapabilityRawAccessChainsNV = 5414, SpvCapabilityRayTracingSpheresGeometryNV = 5418, SpvCapabilityRayTracingLinearSweptSpheresGeometryNV = 5419, + SpvCapabilityShader64BitIndexingEXT = 5426, SpvCapabilityCooperativeMatrixReductionsNV = 5430, SpvCapabilityCooperativeMatrixConversionsNV = 5431, SpvCapabilityCooperativeMatrixPerElementOperationsNV = 5432, @@ -3419,6 +3421,7 @@ inline const char* SpvExecutionModeToString(SpvExecutionMode value) { case SpvExecutionModeSampleInterlockUnorderedEXT: return "SampleInterlockUnorderedEXT"; case SpvExecutionModeShadingRateInterlockOrderedEXT: return "ShadingRateInterlockOrderedEXT"; case SpvExecutionModeShadingRateInterlockUnorderedEXT: return "ShadingRateInterlockUnorderedEXT"; + case SpvExecutionModeShader64BitIndexingEXT: return "Shader64BitIndexingEXT"; case SpvExecutionModeSharedLocalMemorySizeINTEL: return "SharedLocalMemorySizeINTEL"; case SpvExecutionModeRoundingModeRTPINTEL: return "RoundingModeRTPINTEL"; case SpvExecutionModeRoundingModeRTNINTEL: return "RoundingModeRTNINTEL"; @@ -4158,6 +4161,7 @@ inline const char* SpvCapabilityToString(SpvCapability value) { case SpvCapabilityRawAccessChainsNV: return "RawAccessChainsNV"; case SpvCapabilityRayTracingSpheresGeometryNV: return "RayTracingSpheresGeometryNV"; case SpvCapabilityRayTracingLinearSweptSpheresGeometryNV: return "RayTracingLinearSweptSpheresGeometryNV"; + case SpvCapabilityShader64BitIndexingEXT: return "Shader64BitIndexingEXT"; case SpvCapabilityCooperativeMatrixReductionsNV: return "CooperativeMatrixReductionsNV"; case SpvCapabilityCooperativeMatrixConversionsNV: return "CooperativeMatrixConversionsNV"; case SpvCapabilityCooperativeMatrixPerElementOperationsNV: return "CooperativeMatrixPerElementOperationsNV"; diff --git a/include/spirv/unified1/spirv.hpp b/include/spirv/unified1/spirv.hpp index 086fcc48c..a45a05877 100644 --- a/include/spirv/unified1/spirv.hpp +++ b/include/spirv/unified1/spirv.hpp @@ -191,6 +191,7 @@ enum ExecutionMode { ExecutionModeSampleInterlockUnorderedEXT = 5369, ExecutionModeShadingRateInterlockOrderedEXT = 5370, ExecutionModeShadingRateInterlockUnorderedEXT = 5371, + ExecutionModeShader64BitIndexingEXT = 5427, ExecutionModeSharedLocalMemorySizeINTEL = 5618, ExecutionModeRoundingModeRTPINTEL = 5620, ExecutionModeRoundingModeRTNINTEL = 5621, @@ -1192,6 +1193,7 @@ enum Capability { CapabilityRawAccessChainsNV = 5414, CapabilityRayTracingSpheresGeometryNV = 5418, CapabilityRayTracingLinearSweptSpheresGeometryNV = 5419, + CapabilityShader64BitIndexingEXT = 5426, CapabilityCooperativeMatrixReductionsNV = 5430, CapabilityCooperativeMatrixConversionsNV = 5431, CapabilityCooperativeMatrixPerElementOperationsNV = 5432, @@ -3415,6 +3417,7 @@ inline const char* ExecutionModeToString(ExecutionMode value) { case ExecutionModeSampleInterlockUnorderedEXT: return "SampleInterlockUnorderedEXT"; case ExecutionModeShadingRateInterlockOrderedEXT: return "ShadingRateInterlockOrderedEXT"; case ExecutionModeShadingRateInterlockUnorderedEXT: return "ShadingRateInterlockUnorderedEXT"; + case ExecutionModeShader64BitIndexingEXT: return "Shader64BitIndexingEXT"; case ExecutionModeSharedLocalMemorySizeINTEL: return "SharedLocalMemorySizeINTEL"; case ExecutionModeRoundingModeRTPINTEL: return "RoundingModeRTPINTEL"; case ExecutionModeRoundingModeRTNINTEL: return "RoundingModeRTNINTEL"; @@ -4154,6 +4157,7 @@ inline const char* CapabilityToString(Capability value) { case CapabilityRawAccessChainsNV: return "RawAccessChainsNV"; case CapabilityRayTracingSpheresGeometryNV: return "RayTracingSpheresGeometryNV"; case CapabilityRayTracingLinearSweptSpheresGeometryNV: return "RayTracingLinearSweptSpheresGeometryNV"; + case CapabilityShader64BitIndexingEXT: return "Shader64BitIndexingEXT"; case CapabilityCooperativeMatrixReductionsNV: return "CooperativeMatrixReductionsNV"; case CapabilityCooperativeMatrixConversionsNV: return "CooperativeMatrixConversionsNV"; case CapabilityCooperativeMatrixPerElementOperationsNV: return "CooperativeMatrixPerElementOperationsNV"; diff --git a/include/spirv/unified1/spirv.hpp11 b/include/spirv/unified1/spirv.hpp11 index 0a342aa0a..3f6ec4fa1 100644 --- a/include/spirv/unified1/spirv.hpp11 +++ b/include/spirv/unified1/spirv.hpp11 @@ -191,6 +191,7 @@ enum class ExecutionMode : unsigned { SampleInterlockUnorderedEXT = 5369, ShadingRateInterlockOrderedEXT = 5370, ShadingRateInterlockUnorderedEXT = 5371, + Shader64BitIndexingEXT = 5427, SharedLocalMemorySizeINTEL = 5618, RoundingModeRTPINTEL = 5620, RoundingModeRTNINTEL = 5621, @@ -1192,6 +1193,7 @@ enum class Capability : unsigned { RawAccessChainsNV = 5414, RayTracingSpheresGeometryNV = 5418, RayTracingLinearSweptSpheresGeometryNV = 5419, + Shader64BitIndexingEXT = 5426, CooperativeMatrixReductionsNV = 5430, CooperativeMatrixConversionsNV = 5431, CooperativeMatrixPerElementOperationsNV = 5432, @@ -3415,6 +3417,7 @@ inline const char* ExecutionModeToString(ExecutionMode value) { case ExecutionMode::SampleInterlockUnorderedEXT: return "SampleInterlockUnorderedEXT"; case ExecutionMode::ShadingRateInterlockOrderedEXT: return "ShadingRateInterlockOrderedEXT"; case ExecutionMode::ShadingRateInterlockUnorderedEXT: return "ShadingRateInterlockUnorderedEXT"; + case ExecutionMode::Shader64BitIndexingEXT: return "Shader64BitIndexingEXT"; case ExecutionMode::SharedLocalMemorySizeINTEL: return "SharedLocalMemorySizeINTEL"; case ExecutionMode::RoundingModeRTPINTEL: return "RoundingModeRTPINTEL"; case ExecutionMode::RoundingModeRTNINTEL: return "RoundingModeRTNINTEL"; @@ -4154,6 +4157,7 @@ inline const char* CapabilityToString(Capability value) { case Capability::RawAccessChainsNV: return "RawAccessChainsNV"; case Capability::RayTracingSpheresGeometryNV: return "RayTracingSpheresGeometryNV"; case Capability::RayTracingLinearSweptSpheresGeometryNV: return "RayTracingLinearSweptSpheresGeometryNV"; + case Capability::Shader64BitIndexingEXT: return "Shader64BitIndexingEXT"; case Capability::CooperativeMatrixReductionsNV: return "CooperativeMatrixReductionsNV"; case Capability::CooperativeMatrixConversionsNV: return "CooperativeMatrixConversionsNV"; case Capability::CooperativeMatrixPerElementOperationsNV: return "CooperativeMatrixPerElementOperationsNV"; diff --git a/include/spirv/unified1/spirv.json b/include/spirv/unified1/spirv.json index 4d53a16e8..3cbe3067d 100644 --- a/include/spirv/unified1/spirv.json +++ b/include/spirv/unified1/spirv.json @@ -210,6 +210,7 @@ "SampleInterlockUnorderedEXT": 5369, "ShadingRateInterlockOrderedEXT": 5370, "ShadingRateInterlockUnorderedEXT": 5371, + "Shader64BitIndexingEXT": 5427, "SharedLocalMemorySizeINTEL": 5618, "RoundingModeRTPINTEL": 5620, "RoundingModeRTNINTEL": 5621, @@ -1168,6 +1169,7 @@ "RawAccessChainsNV": 5414, "RayTracingSpheresGeometryNV": 5418, "RayTracingLinearSweptSpheresGeometryNV": 5419, + "Shader64BitIndexingEXT": 5426, "CooperativeMatrixReductionsNV": 5430, "CooperativeMatrixConversionsNV": 5431, "CooperativeMatrixPerElementOperationsNV": 5432, diff --git a/include/spirv/unified1/spirv.lua b/include/spirv/unified1/spirv.lua index fc5acc2f9..f2474c943 100644 --- a/include/spirv/unified1/spirv.lua +++ b/include/spirv/unified1/spirv.lua @@ -182,6 +182,7 @@ spv = { SampleInterlockUnorderedEXT = 5369, ShadingRateInterlockOrderedEXT = 5370, ShadingRateInterlockUnorderedEXT = 5371, + Shader64BitIndexingEXT = 5427, SharedLocalMemorySizeINTEL = 5618, RoundingModeRTPINTEL = 5620, RoundingModeRTNINTEL = 5621, @@ -1183,6 +1184,7 @@ spv = { RawAccessChainsNV = 5414, RayTracingSpheresGeometryNV = 5418, RayTracingLinearSweptSpheresGeometryNV = 5419, + Shader64BitIndexingEXT = 5426, CooperativeMatrixReductionsNV = 5430, CooperativeMatrixConversionsNV = 5431, CooperativeMatrixPerElementOperationsNV = 5432, diff --git a/include/spirv/unified1/spirv.py b/include/spirv/unified1/spirv.py index 4b9c7a976..11191073f 100644 --- a/include/spirv/unified1/spirv.py +++ b/include/spirv/unified1/spirv.py @@ -178,6 +178,7 @@ 'SampleInterlockUnorderedEXT' : 5369, 'ShadingRateInterlockOrderedEXT' : 5370, 'ShadingRateInterlockUnorderedEXT' : 5371, + 'Shader64BitIndexingEXT' : 5427, 'SharedLocalMemorySizeINTEL' : 5618, 'RoundingModeRTPINTEL' : 5620, 'RoundingModeRTNINTEL' : 5621, @@ -1154,6 +1155,7 @@ 'RawAccessChainsNV' : 5414, 'RayTracingSpheresGeometryNV' : 5418, 'RayTracingLinearSweptSpheresGeometryNV' : 5419, + 'Shader64BitIndexingEXT' : 5426, 'CooperativeMatrixReductionsNV' : 5430, 'CooperativeMatrixConversionsNV' : 5431, 'CooperativeMatrixPerElementOperationsNV' : 5432, diff --git a/include/spirv/unified1/spv.d b/include/spirv/unified1/spv.d index abfdc94b5..bbb0167db 100644 --- a/include/spirv/unified1/spv.d +++ b/include/spirv/unified1/spv.d @@ -194,6 +194,7 @@ enum ExecutionMode : uint SampleInterlockUnorderedEXT = 5369, ShadingRateInterlockOrderedEXT = 5370, ShadingRateInterlockUnorderedEXT = 5371, + Shader64BitIndexingEXT = 5427, SharedLocalMemorySizeINTEL = 5618, RoundingModeRTPINTEL = 5620, RoundingModeRTNINTEL = 5621, @@ -1228,6 +1229,7 @@ enum Capability : uint RawAccessChainsNV = 5414, RayTracingSpheresGeometryNV = 5418, RayTracingLinearSweptSpheresGeometryNV = 5419, + Shader64BitIndexingEXT = 5426, CooperativeMatrixReductionsNV = 5430, CooperativeMatrixConversionsNV = 5431, CooperativeMatrixPerElementOperationsNV = 5432, From 458f2821cf1da18c5498a96da17855f6c2e580a5 Mon Sep 17 00:00:00 2001 From: Ben Ashbaugh Date: Wed, 29 Oct 2025 08:36:46 -0700 Subject: [PATCH 04/11] rename Intel FPGA extensions to Altera (#551) * add aliases for SPV_ALTERA_arbitrary_precision_integers * add aliases for SPV_INTEL_arbitrary_precision_floating_point * add aliases for SPV_INTEL_arbitrary_precision_fixed_point * add aliases for SPV_INTEL_blocking_pipes * add aliases for SPV_INTEL_fpga_argument_interfaces * add aliases for SPV_INTEL_fpga_buffer_location * add aliases for SPV_INTEL_fpga_cluster_attributes * add aliases for SPV_INTEL_fpga_dsp_control * add aliases for SPV_INTEL_fpga_invocation_pipelining_attributes * add aliases for SPV_INTEL_fpga_latency_control * add aliases for SPV_INTEL_fpga_loop_controls * add aliases for SPV_INTEL_fpga_memory_accesses * add aliases for SPV_INTEL_fpga_memory_attributes * add aliases for SPV_INTEL_fpga_reg * add aliases for SPV_INTEL_global_variable_fpga_decorations * add aliases for SPV_INTEL_io_pipes * add aliases for SPV_INTEL_loop_fuse * add aliases for SPV_INTEL_runtime_aligned * add aliases for SPV_INTEL_task_sequence * add aliases for SPV_INTEL_usm_storage_classes * minor formatting fix * move more instructions to the excluded class * fix one missed capability renaming * exclude the task sequence type also --- include/spirv/unified1/spirv.bf | 126 ++++ .../spirv/unified1/spirv.core.grammar.json | 689 ++++++++++-------- include/spirv/unified1/spirv.cs | 126 ++++ include/spirv/unified1/spirv.h | 416 +++++++---- include/spirv/unified1/spirv.hpp | 416 +++++++---- include/spirv/unified1/spirv.hpp11 | 416 +++++++---- include/spirv/unified1/spirv.json | 116 +++ include/spirv/unified1/spirv.lua | 126 ++++ include/spirv/unified1/spirv.py | 126 ++++ include/spirv/unified1/spv.d | 126 ++++ tools/buildHeaders/jsonToSpirv.cpp | 3 - 11 files changed, 1951 insertions(+), 735 deletions(-) diff --git a/include/spirv/unified1/spirv.bf b/include/spirv/unified1/spirv.bf index fb476f7d4..677c236ae 100644 --- a/include/spirv/unified1/spirv.bf +++ b/include/spirv/unified1/spirv.bf @@ -249,7 +249,9 @@ namespace Spv HitObjectAttributeNV = 5385, TaskPayloadWorkgroupEXT = 5402, CodeSectionINTEL = 5605, + DeviceOnlyALTERA = 5936, DeviceOnlyINTEL = 5936, + HostOnlyALTERA = 5937, HostOnlyINTEL = 5937, Max = 0x7fffffff, } @@ -502,6 +504,7 @@ namespace Spv NoCapture = 5, NoWrite = 6, NoReadWrite = 7, + RuntimeAlignedALTERA = 5940, RuntimeAlignedINTEL = 5940, Max = 0x7fffffff, } @@ -607,54 +610,95 @@ namespace Spv UserTypeGOOGLE = 5636, FunctionRoundingModeINTEL = 5822, FunctionDenormModeINTEL = 5823, + RegisterALTERA = 5825, RegisterINTEL = 5825, + MemoryALTERA = 5826, MemoryINTEL = 5826, + NumbanksALTERA = 5827, NumbanksINTEL = 5827, + BankwidthALTERA = 5828, BankwidthINTEL = 5828, + MaxPrivateCopiesALTERA = 5829, MaxPrivateCopiesINTEL = 5829, + SinglepumpALTERA = 5830, SinglepumpINTEL = 5830, + DoublepumpALTERA = 5831, DoublepumpINTEL = 5831, + MaxReplicatesALTERA = 5832, MaxReplicatesINTEL = 5832, + SimpleDualPortALTERA = 5833, SimpleDualPortINTEL = 5833, + MergeALTERA = 5834, MergeINTEL = 5834, + BankBitsALTERA = 5835, BankBitsINTEL = 5835, + ForcePow2DepthALTERA = 5836, ForcePow2DepthINTEL = 5836, + StridesizeALTERA = 5883, StridesizeINTEL = 5883, + WordsizeALTERA = 5884, WordsizeINTEL = 5884, + TrueDualPortALTERA = 5885, TrueDualPortINTEL = 5885, + BurstCoalesceALTERA = 5899, BurstCoalesceINTEL = 5899, + CacheSizeALTERA = 5900, CacheSizeINTEL = 5900, + DontStaticallyCoalesceALTERA = 5901, DontStaticallyCoalesceINTEL = 5901, + PrefetchALTERA = 5902, PrefetchINTEL = 5902, + StallEnableALTERA = 5905, StallEnableINTEL = 5905, + FuseLoopsInFunctionALTERA = 5907, FuseLoopsInFunctionINTEL = 5907, + MathOpDSPModeALTERA = 5909, MathOpDSPModeINTEL = 5909, AliasScopeINTEL = 5914, NoAliasINTEL = 5915, + InitiationIntervalALTERA = 5917, InitiationIntervalINTEL = 5917, + MaxConcurrencyALTERA = 5918, MaxConcurrencyINTEL = 5918, + PipelineEnableALTERA = 5919, PipelineEnableINTEL = 5919, + BufferLocationALTERA = 5921, BufferLocationINTEL = 5921, + IOPipeStorageALTERA = 5944, IOPipeStorageINTEL = 5944, FunctionFloatingPointModeINTEL = 6080, SingleElementVectorINTEL = 6085, VectorComputeCallableFunctionINTEL = 6087, MediaBlockIOINTEL = 6140, + StallFreeALTERA = 6151, StallFreeINTEL = 6151, FPMaxErrorDecorationINTEL = 6170, + LatencyControlLabelALTERA = 6172, LatencyControlLabelINTEL = 6172, + LatencyControlConstraintALTERA = 6173, LatencyControlConstraintINTEL = 6173, + ConduitKernelArgumentALTERA = 6175, ConduitKernelArgumentINTEL = 6175, + RegisterMapKernelArgumentALTERA = 6176, RegisterMapKernelArgumentINTEL = 6176, + MMHostInterfaceAddressWidthALTERA = 6177, MMHostInterfaceAddressWidthINTEL = 6177, + MMHostInterfaceDataWidthALTERA = 6178, MMHostInterfaceDataWidthINTEL = 6178, + MMHostInterfaceLatencyALTERA = 6179, MMHostInterfaceLatencyINTEL = 6179, + MMHostInterfaceReadWriteModeALTERA = 6180, MMHostInterfaceReadWriteModeINTEL = 6180, + MMHostInterfaceMaxBurstALTERA = 6181, MMHostInterfaceMaxBurstINTEL = 6181, + MMHostInterfaceWaitRequestALTERA = 6182, MMHostInterfaceWaitRequestINTEL = 6182, + StableKernelArgumentALTERA = 6183, StableKernelArgumentINTEL = 6183, HostAccessINTEL = 6188, + InitModeALTERA = 6190, InitModeINTEL = 6190, + ImplementInRegisterMapALTERA = 6191, ImplementInRegisterMapINTEL = 6191, ConditionalINTEL = 6247, CacheControlLoadINTEL = 6442, @@ -840,15 +884,25 @@ namespace Spv IterationMultiple = 6, PeelCount = 7, PartialCount = 8, + InitiationIntervalALTERA = 16, InitiationIntervalINTEL = 16, + MaxConcurrencyALTERA = 17, MaxConcurrencyINTEL = 17, + DependencyArrayALTERA = 18, DependencyArrayINTEL = 18, + PipelineEnableALTERA = 19, PipelineEnableINTEL = 19, + LoopCoalesceALTERA = 20, LoopCoalesceINTEL = 20, + MaxInterleavingALTERA = 21, MaxInterleavingINTEL = 21, + SpeculatedIterationsALTERA = 22, SpeculatedIterationsINTEL = 22, + NoFusionALTERA = 23, NoFusionINTEL = 23, + LoopCountALTERA = 24, LoopCountINTEL = 24, + MaxReinvocationDelayALTERA = 25, MaxReinvocationDelayINTEL = 25, Max = 0x7fffffff, } @@ -865,15 +919,25 @@ namespace Spv IterationMultiple = 0x00000040, PeelCount = 0x00000080, PartialCount = 0x00000100, + InitiationIntervalALTERA = 0x00010000, InitiationIntervalINTEL = 0x00010000, + MaxConcurrencyALTERA = 0x00020000, MaxConcurrencyINTEL = 0x00020000, + DependencyArrayALTERA = 0x00040000, DependencyArrayINTEL = 0x00040000, + PipelineEnableALTERA = 0x00080000, PipelineEnableINTEL = 0x00080000, + LoopCoalesceALTERA = 0x00100000, LoopCoalesceINTEL = 0x00100000, + MaxInterleavingALTERA = 0x00200000, MaxInterleavingINTEL = 0x00200000, + SpeculatedIterationsALTERA = 0x00400000, SpeculatedIterationsINTEL = 0x00400000, + NoFusionALTERA = 0x00800000, NoFusionINTEL = 0x00800000, + LoopCountALTERA = 0x01000000, LoopCountINTEL = 0x01000000, + MaxReinvocationDelayALTERA = 0x02000000, MaxReinvocationDelayINTEL = 0x02000000, } @@ -1257,26 +1321,42 @@ namespace Spv SubgroupAvcMotionEstimationChromaINTEL = 5698, VariableLengthArrayINTEL = 5817, FunctionFloatControlINTEL = 5821, + FPGAMemoryAttributesALTERA = 5824, FPGAMemoryAttributesINTEL = 5824, FPFastMathModeINTEL = 5837, + ArbitraryPrecisionIntegersALTERA = 5844, ArbitraryPrecisionIntegersINTEL = 5844, + ArbitraryPrecisionFloatingPointALTERA = 5845, ArbitraryPrecisionFloatingPointINTEL = 5845, UnstructuredLoopControlsINTEL = 5886, + FPGALoopControlsALTERA = 5888, FPGALoopControlsINTEL = 5888, KernelAttributesINTEL = 5892, FPGAKernelAttributesINTEL = 5897, + FPGAMemoryAccessesALTERA = 5898, FPGAMemoryAccessesINTEL = 5898, + FPGAClusterAttributesALTERA = 5904, FPGAClusterAttributesINTEL = 5904, + LoopFuseALTERA = 5906, LoopFuseINTEL = 5906, + FPGADSPControlALTERA = 5908, FPGADSPControlINTEL = 5908, MemoryAccessAliasingINTEL = 5910, + FPGAInvocationPipeliningAttributesALTERA = 5916, FPGAInvocationPipeliningAttributesINTEL = 5916, + FPGABufferLocationALTERA = 5920, FPGABufferLocationINTEL = 5920, + ArbitraryPrecisionFixedPointALTERA = 5922, ArbitraryPrecisionFixedPointINTEL = 5922, + USMStorageClassesALTERA = 5935, USMStorageClassesINTEL = 5935, + RuntimeAlignedAttributeALTERA = 5939, RuntimeAlignedAttributeINTEL = 5939, + IOPipesALTERA = 5943, IOPipesINTEL = 5943, + BlockingPipesALTERA = 5945, BlockingPipesINTEL = 5945, + FPGARegALTERA = 5948, FPGARegINTEL = 5948, DotProductInputAll = 6016, DotProductInputAllKHR = 6016, @@ -1303,13 +1383,18 @@ namespace Spv BFloat16ConversionINTEL = 6115, SplitBarrierINTEL = 6141, ArithmeticFenceEXT = 6144, + FPGAClusterAttributesV2ALTERA = 6150, FPGAClusterAttributesV2INTEL = 6150, FPGAKernelAttributesv2INTEL = 6161, + TaskSequenceALTERA = 6162, TaskSequenceINTEL = 6162, FPMaxErrorINTEL = 6169, + FPGALatencyControlALTERA = 6171, FPGALatencyControlINTEL = 6171, + FPGAArgumentInterfacesALTERA = 6174, FPGAArgumentInterfacesINTEL = 6174, GlobalVariableHostAccessINTEL = 6187, + GlobalVariableFPGADecorationsALTERA = 6189, GlobalVariableFPGADecorationsINTEL = 6189, SubgroupBufferPrefetchINTEL = 6220, Subgroup2DBlockIOINTEL = 6228, @@ -1545,7 +1630,9 @@ namespace Spv [AllowDuplicates, CRepr] public enum InitializationModeQualifier { + InitOnDeviceReprogramALTERA = 0, InitOnDeviceReprogramINTEL = 0, + InitOnDeviceResetALTERA = 1, InitOnDeviceResetINTEL = 1, Max = 0x7fffffff, } @@ -2385,23 +2472,41 @@ namespace Spv OpVariableLengthArrayINTEL = 5818, OpSaveMemoryINTEL = 5819, OpRestoreMemoryINTEL = 5820, + OpArbitraryFloatSinCosPiALTERA = 5840, OpArbitraryFloatSinCosPiINTEL = 5840, + OpArbitraryFloatCastALTERA = 5841, OpArbitraryFloatCastINTEL = 5841, + OpArbitraryFloatCastFromIntALTERA = 5842, OpArbitraryFloatCastFromIntINTEL = 5842, + OpArbitraryFloatCastToIntALTERA = 5843, OpArbitraryFloatCastToIntINTEL = 5843, + OpArbitraryFloatAddALTERA = 5846, OpArbitraryFloatAddINTEL = 5846, + OpArbitraryFloatSubALTERA = 5847, OpArbitraryFloatSubINTEL = 5847, + OpArbitraryFloatMulALTERA = 5848, OpArbitraryFloatMulINTEL = 5848, + OpArbitraryFloatDivALTERA = 5849, OpArbitraryFloatDivINTEL = 5849, + OpArbitraryFloatGTALTERA = 5850, OpArbitraryFloatGTINTEL = 5850, + OpArbitraryFloatGEALTERA = 5851, OpArbitraryFloatGEINTEL = 5851, + OpArbitraryFloatLTALTERA = 5852, OpArbitraryFloatLTINTEL = 5852, + OpArbitraryFloatLEALTERA = 5853, OpArbitraryFloatLEINTEL = 5853, + OpArbitraryFloatEQALTERA = 5854, OpArbitraryFloatEQINTEL = 5854, + OpArbitraryFloatRecipALTERA = 5855, OpArbitraryFloatRecipINTEL = 5855, + OpArbitraryFloatRSqrtALTERA = 5856, OpArbitraryFloatRSqrtINTEL = 5856, + OpArbitraryFloatCbrtALTERA = 5857, OpArbitraryFloatCbrtINTEL = 5857, + OpArbitraryFloatHypotALTERA = 5858, OpArbitraryFloatHypotINTEL = 5858, + OpArbitraryFloatSqrtALTERA = 5859, OpArbitraryFloatSqrtINTEL = 5859, OpArbitraryFloatLogINTEL = 5860, OpArbitraryFloatLog2INTEL = 5861, @@ -2430,21 +2535,37 @@ namespace Spv OpAliasDomainDeclINTEL = 5911, OpAliasScopeDeclINTEL = 5912, OpAliasScopeListDeclINTEL = 5913, + OpFixedSqrtALTERA = 5923, OpFixedSqrtINTEL = 5923, + OpFixedRecipALTERA = 5924, OpFixedRecipINTEL = 5924, + OpFixedRsqrtALTERA = 5925, OpFixedRsqrtINTEL = 5925, + OpFixedSinALTERA = 5926, OpFixedSinINTEL = 5926, + OpFixedCosALTERA = 5927, OpFixedCosINTEL = 5927, + OpFixedSinCosALTERA = 5928, OpFixedSinCosINTEL = 5928, + OpFixedSinPiALTERA = 5929, OpFixedSinPiINTEL = 5929, + OpFixedCosPiALTERA = 5930, OpFixedCosPiINTEL = 5930, + OpFixedSinCosPiALTERA = 5931, OpFixedSinCosPiINTEL = 5931, + OpFixedLogALTERA = 5932, OpFixedLogINTEL = 5932, + OpFixedExpALTERA = 5933, OpFixedExpINTEL = 5933, + OpPtrCastToCrossWorkgroupALTERA = 5934, OpPtrCastToCrossWorkgroupINTEL = 5934, + OpCrossWorkgroupCastToPtrALTERA = 5938, OpCrossWorkgroupCastToPtrINTEL = 5938, + OpReadPipeBlockingALTERA = 5946, OpReadPipeBlockingINTEL = 5946, + OpWritePipeBlockingALTERA = 5947, OpWritePipeBlockingINTEL = 5947, + OpFPGARegALTERA = 5949, OpFPGARegINTEL = 5949, OpRayQueryGetRayTMinKHR = 6016, OpRayQueryGetRayFlagsKHR = 6017, @@ -2474,10 +2595,15 @@ namespace Spv OpControlBarrierArriveINTEL = 6142, OpControlBarrierWaitINTEL = 6143, OpArithmeticFenceEXT = 6145, + OpTaskSequenceCreateALTERA = 6163, OpTaskSequenceCreateINTEL = 6163, + OpTaskSequenceAsyncALTERA = 6164, OpTaskSequenceAsyncINTEL = 6164, + OpTaskSequenceGetALTERA = 6165, OpTaskSequenceGetINTEL = 6165, + OpTaskSequenceReleaseALTERA = 6166, OpTaskSequenceReleaseINTEL = 6166, + OpTypeTaskSequenceALTERA = 6199, OpTypeTaskSequenceINTEL = 6199, OpSubgroupBlockPrefetchINTEL = 6221, OpSubgroup2DBlockLoadINTEL = 6231, diff --git a/include/spirv/unified1/spirv.core.grammar.json b/include/spirv/unified1/spirv.core.grammar.json index a1f024e17..74aff15f7 100644 --- a/include/spirv/unified1/spirv.core.grammar.json +++ b/include/spirv/unified1/spirv.core.grammar.json @@ -9202,8 +9202,9 @@ "version" : "None" }, { - "opname" : "OpArbitraryFloatSinCosPiINTEL", + "opname" : "OpArbitraryFloatSinCosPiALTERA", "class" : "@exclude", + "aliases" : [ "OpArbitraryFloatSinCosPiINTEL" ], "opcode" : 5840, "operands" : [ { "kind" : "IdResultType" }, @@ -9215,12 +9216,13 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "RoundingAccuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { - "opname" : "OpArbitraryFloatCastINTEL", + "opname" : "OpArbitraryFloatCastALTERA", "class" : "@exclude", + "aliases" : [ "OpArbitraryFloatCastINTEL" ], "opcode" : 5841, "operands" : [ { "kind" : "IdResultType" }, @@ -9232,12 +9234,13 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { - "opname" : "OpArbitraryFloatCastFromIntINTEL", + "opname" : "OpArbitraryFloatCastFromIntALTERA", "class" : "@exclude", + "aliases" : [ "OpArbitraryFloatCastFromIntINTEL" ], "opcode" : 5842, "operands" : [ { "kind" : "IdResultType" }, @@ -9249,12 +9252,13 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { - "opname" : "OpArbitraryFloatCastToIntINTEL", + "opname" : "OpArbitraryFloatCastToIntALTERA", "class" : "@exclude", + "aliases" : [ "OpArbitraryFloatCastToIntINTEL" ], "opcode" : 5843, "operands" : [ { "kind" : "IdResultType" }, @@ -9266,12 +9270,13 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { - "opname" : "OpArbitraryFloatAddINTEL", + "opname" : "OpArbitraryFloatAddALTERA", "class" : "@exclude", + "aliases" : [ "OpArbitraryFloatAddINTEL" ], "opcode" : 5846, "operands" : [ { "kind" : "IdResultType" }, @@ -9285,12 +9290,13 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { - "opname" : "OpArbitraryFloatSubINTEL", + "opname" : "OpArbitraryFloatSubALTERA", "class" : "@exclude", + "aliases" : [ "OpArbitraryFloatSubINTEL" ], "opcode" : 5847, "operands" : [ { "kind" : "IdResultType" }, @@ -9304,12 +9310,13 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { - "opname" : "OpArbitraryFloatMulINTEL", + "opname" : "OpArbitraryFloatMulALTERA", "class" : "@exclude", + "aliases" : [ "OpArbitraryFloatMulINTEL" ], "opcode" : 5848, "operands" : [ { "kind" : "IdResultType" }, @@ -9323,12 +9330,13 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { - "opname" : "OpArbitraryFloatDivINTEL", + "opname" : "OpArbitraryFloatDivALTERA", "class" : "@exclude", + "aliases" : [ "OpArbitraryFloatDivINTEL" ], "opcode" : 5849, "operands" : [ { "kind" : "IdResultType" }, @@ -9342,12 +9350,13 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { - "opname" : "OpArbitraryFloatGTINTEL", + "opname" : "OpArbitraryFloatGTALTERA", "class" : "@exclude", + "aliases" : [ "OpArbitraryFloatGTINTEL" ], "opcode" : 5850, "operands" : [ { "kind" : "IdResultType" }, @@ -9357,12 +9366,13 @@ { "kind" : "IdRef", "name" : "B" }, { "kind" : "LiteralInteger", "name" : "Mb" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { - "opname" : "OpArbitraryFloatGEINTEL", + "opname" : "OpArbitraryFloatGEALTERA", "class" : "@exclude", + "aliases" : [ "OpArbitraryFloatGEINTEL" ], "opcode" : 5851, "operands" : [ { "kind" : "IdResultType" }, @@ -9372,12 +9382,13 @@ { "kind" : "IdRef", "name" : "B" }, { "kind" : "LiteralInteger", "name" : "Mb" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { - "opname" : "OpArbitraryFloatLTINTEL", + "opname" : "OpArbitraryFloatLTALTERA", "class" : "@exclude", + "aliases" : [ "OpArbitraryFloatLTINTEL" ], "opcode" : 5852, "operands" : [ { "kind" : "IdResultType" }, @@ -9387,12 +9398,13 @@ { "kind" : "IdRef", "name" : "B" }, { "kind" : "LiteralInteger", "name" : "Mb" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { - "opname" : "OpArbitraryFloatLEINTEL", + "opname" : "OpArbitraryFloatLEALTERA", "class" : "@exclude", + "aliases" : [ "OpArbitraryFloatLEINTEL" ], "opcode" : 5853, "operands" : [ { "kind" : "IdResultType" }, @@ -9402,12 +9414,13 @@ { "kind" : "IdRef", "name" : "B" }, { "kind" : "LiteralInteger", "name" : "Mb" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { - "opname" : "OpArbitraryFloatEQINTEL", + "opname" : "OpArbitraryFloatEQALTERA", "class" : "@exclude", + "aliases" : [ "OpArbitraryFloatEQINTEL" ], "opcode" : 5854, "operands" : [ { "kind" : "IdResultType" }, @@ -9417,12 +9430,13 @@ { "kind" : "IdRef", "name" : "B" }, { "kind" : "LiteralInteger", "name" : "Mb" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { - "opname" : "OpArbitraryFloatRecipINTEL", + "opname" : "OpArbitraryFloatRecipALTERA", "class" : "@exclude", + "aliases" : [ "OpArbitraryFloatRecipINTEL" ], "opcode" : 5855, "operands" : [ { "kind" : "IdResultType" }, @@ -9434,12 +9448,13 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { - "opname" : "OpArbitraryFloatRSqrtINTEL", + "opname" : "OpArbitraryFloatRSqrtALTERA", "class" : "@exclude", + "aliases" : [ "OpArbitraryFloatRSqrtINTEL" ], "opcode" : 5856, "operands" : [ { "kind" : "IdResultType" }, @@ -9451,12 +9466,13 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { - "opname" : "OpArbitraryFloatCbrtINTEL", + "opname" : "OpArbitraryFloatCbrtALTERA", "class" : "@exclude", + "aliases" : [ "OpArbitraryFloatCbrtINTEL" ], "opcode" : 5857, "operands" : [ { "kind" : "IdResultType" }, @@ -9468,12 +9484,13 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { - "opname" : "OpArbitraryFloatHypotINTEL", + "opname" : "OpArbitraryFloatHypotALTERA", "class" : "@exclude", + "aliases" : [ "OpArbitraryFloatHypotINTEL" ], "opcode" : 5858, "operands" : [ { "kind" : "IdResultType" }, @@ -9487,12 +9504,13 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { - "opname" : "OpArbitraryFloatSqrtINTEL", + "opname" : "OpArbitraryFloatSqrtALTERA", "class" : "@exclude", + "aliases" : [ "OpArbitraryFloatSqrtINTEL" ], "opcode" : 5859, "operands" : [ { "kind" : "IdResultType" }, @@ -9504,7 +9522,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9521,7 +9539,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9538,7 +9556,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9555,7 +9573,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9572,7 +9590,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9589,7 +9607,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9606,7 +9624,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9623,7 +9641,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9640,7 +9658,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9657,7 +9675,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9674,7 +9692,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9691,7 +9709,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9708,7 +9726,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9725,7 +9743,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9742,7 +9760,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9759,7 +9777,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9776,7 +9794,7 @@ { "kind" : "LiteralInteger", "name" : "RoundingMode" }, { "kind" : "LiteralInteger", "name" : "RoundingAccuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9793,7 +9811,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9810,7 +9828,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9827,7 +9845,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9846,7 +9864,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9865,7 +9883,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9884,7 +9902,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9903,7 +9921,7 @@ { "kind" : "LiteralInteger", "name" : "Rounding" }, { "kind" : "LiteralInteger", "name" : "Accuracy" } ], - "capabilities" : [ "ArbitraryPrecisionFloatingPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFloatingPointALTERA" ], "version" : "None" }, { @@ -9955,8 +9973,9 @@ "version" : "None" }, { - "opname" : "OpFixedSqrtINTEL", + "opname" : "OpFixedSqrtALTERA", "class" : "@exclude", + "aliases" : [ "OpFixedSqrtINTEL" ], "opcode" : 5923, "operands" : [ { "kind" : "IdResultType" }, @@ -9968,12 +9987,13 @@ { "kind" : "LiteralInteger", "name" : "Q" }, { "kind" : "LiteralInteger", "name" : "O" } ], - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA" ], "version" : "None" }, { - "opname" : "OpFixedRecipINTEL", + "opname" : "OpFixedRecipALTERA", "class" : "@exclude", + "aliases" : [ "OpFixedRecipINTEL" ], "opcode" : 5924, "operands" : [ { "kind" : "IdResultType" }, @@ -9985,12 +10005,13 @@ { "kind" : "LiteralInteger", "name" : "Q" }, { "kind" : "LiteralInteger", "name" : "O" } ], - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA" ], "version" : "None" }, { - "opname" : "OpFixedRsqrtINTEL", + "opname" : "OpFixedRsqrtALTERA", "class" : "@exclude", + "aliases" : [ "OpFixedRsqrtINTEL" ], "opcode" : 5925, "operands" : [ { "kind" : "IdResultType" }, @@ -10002,12 +10023,13 @@ { "kind" : "LiteralInteger", "name" : "Q" }, { "kind" : "LiteralInteger", "name" : "O" } ], - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA" ], "version" : "None" }, { - "opname" : "OpFixedSinINTEL", + "opname" : "OpFixedSinALTERA", "class" : "@exclude", + "aliases" : [ "OpFixedSinINTEL" ], "opcode" : 5926, "operands" : [ { "kind" : "IdResultType" }, @@ -10019,12 +10041,13 @@ { "kind" : "LiteralInteger", "name" : "Q" }, { "kind" : "LiteralInteger", "name" : "O" } ], - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA" ], "version" : "None" }, { - "opname" : "OpFixedCosINTEL", + "opname" : "OpFixedCosALTERA", "class" : "@exclude", + "aliases" : [ "OpFixedCosINTEL" ], "opcode" : 5927, "operands" : [ { "kind" : "IdResultType" }, @@ -10036,12 +10059,13 @@ { "kind" : "LiteralInteger", "name" : "Q" }, { "kind" : "LiteralInteger", "name" : "O" } ], - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA" ], "version" : "None" }, { - "opname" : "OpFixedSinCosINTEL", + "opname" : "OpFixedSinCosALTERA", "class" : "@exclude", + "aliases" : [ "OpFixedSinCosINTEL" ], "opcode" : 5928, "operands" : [ { "kind" : "IdResultType" }, @@ -10053,12 +10077,13 @@ { "kind" : "LiteralInteger", "name" : "Q" }, { "kind" : "LiteralInteger", "name" : "O" } ], - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA" ], "version" : "None" }, { - "opname" : "OpFixedSinPiINTEL", + "opname" : "OpFixedSinPiALTERA", "class" : "@exclude", + "aliases" : [ "OpFixedSinPiINTEL" ], "opcode" : 5929, "operands" : [ { "kind" : "IdResultType" }, @@ -10070,12 +10095,13 @@ { "kind" : "LiteralInteger", "name" : "Q" }, { "kind" : "LiteralInteger", "name" : "O" } ], - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA" ], "version" : "None" }, { - "opname" : "OpFixedCosPiINTEL", + "opname" : "OpFixedCosPiALTERA", "class" : "@exclude", + "aliases" : [ "OpFixedCosPiINTEL" ], "opcode" : 5930, "operands" : [ { "kind" : "IdResultType" }, @@ -10087,12 +10113,13 @@ { "kind" : "LiteralInteger", "name" : "Q" }, { "kind" : "LiteralInteger", "name" : "O" } ], - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA" ], "version" : "None" }, { - "opname" : "OpFixedSinCosPiINTEL", + "opname" : "OpFixedSinCosPiALTERA", "class" : "@exclude", + "aliases" : [ "OpFixedSinCosPiINTEL" ], "opcode" : 5931, "operands" : [ { "kind" : "IdResultType" }, @@ -10104,12 +10131,13 @@ { "kind" : "LiteralInteger", "name" : "Q" }, { "kind" : "LiteralInteger", "name" : "O" } ], - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA" ], "version" : "None" }, { - "opname" : "OpFixedLogINTEL", + "opname" : "OpFixedLogALTERA", "class" : "@exclude", + "aliases" : [ "OpFixedLogINTEL" ], "opcode" : 5932, "operands" : [ { "kind" : "IdResultType" }, @@ -10121,12 +10149,13 @@ { "kind" : "LiteralInteger", "name" : "Q" }, { "kind" : "LiteralInteger", "name" : "O" } ], - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA" ], "version" : "None" }, { - "opname" : "OpFixedExpINTEL", + "opname" : "OpFixedExpALTERA", "class" : "@exclude", + "aliases" : [ "OpFixedExpINTEL" ], "opcode" : 5933, "operands" : [ { "kind" : "IdResultType" }, @@ -10138,36 +10167,39 @@ { "kind" : "LiteralInteger", "name" : "Q" }, { "kind" : "LiteralInteger", "name" : "O" } ], - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL" ], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA" ], "version" : "None" }, { - "opname" : "OpPtrCastToCrossWorkgroupINTEL", + "opname" : "OpPtrCastToCrossWorkgroupALTERA", "class" : "@exclude", + "aliases" : [ "OpPtrCastToCrossWorkgroupINTEL" ], "opcode" : 5934, "operands" : [ { "kind" : "IdResultType" }, { "kind" : "IdResult" }, { "kind" : "IdRef", "name" : "Pointer" } ], - "capabilities" : [ "USMStorageClassesINTEL" ], + "capabilities" : [ "USMStorageClassesALTERA" ], "version" : "None" }, { - "opname" : "OpCrossWorkgroupCastToPtrINTEL", + "opname" : "OpCrossWorkgroupCastToPtrALTERA", "class" : "@exclude", + "aliases" : [ "OpCrossWorkgroupCastToPtrINTEL" ], "opcode" : 5938, "operands" : [ { "kind" : "IdResultType" }, { "kind" : "IdResult" }, { "kind" : "IdRef", "name" : "Pointer" } ], - "capabilities" : [ "USMStorageClassesINTEL" ], + "capabilities" : [ "USMStorageClassesALTERA" ], "version" : "None" }, { - "opname" : "OpReadPipeBlockingINTEL", - "class" : "Pipe", + "opname" : "OpReadPipeBlockingALTERA", + "class" : "@exclude", + "aliases" : [ "OpReadPipeBlockingINTEL" ], "opcode" : 5946, "operands" : [ { "kind" : "IdResultType" }, @@ -10175,13 +10207,13 @@ { "kind" : "IdRef", "name" : "Packet Size" }, { "kind" : "IdRef", "name" : "Packet Alignment" } ], - "capabilities" : [ "BlockingPipesINTEL" ], - "extensions" : [ "SPV_INTEL_blocking_pipes" ], + "capabilities" : [ "BlockingPipesALTERA" ], "version" : "None" }, { - "opname" : "OpWritePipeBlockingINTEL", - "class" : "Pipe", + "opname" : "OpWritePipeBlockingALTERA", + "class" : "@exclude", + "aliases" : [ "OpWritePipeBlockingINTEL" ], "opcode" : 5947, "operands" : [ { "kind" : "IdResultType" }, @@ -10189,21 +10221,20 @@ { "kind" : "IdRef", "name" : "Packet Size" }, { "kind" : "IdRef", "name" : "Packet Alignment" } ], - "capabilities" : [ "BlockingPipesINTEL" ], - "extensions" : [ "SPV_INTEL_blocking_pipes" ], + "capabilities" : [ "BlockingPipesALTERA" ], "version" : "None" }, { - "opname" : "OpFPGARegINTEL", - "class" : "Reserved", + "opname" : "OpFPGARegALTERA", + "class" : "@exclude", + "aliases" : [ "OpFPGARegINTEL" ], "opcode" : 5949, "operands" : [ { "kind" : "IdResultType" }, { "kind" : "IdResult" }, { "kind" : "IdRef", "name" : "Input" } ], - "capabilities" : [ "FPGARegINTEL" ], - "extensions" : [ "SPV_INTEL_fpga_reg" ], + "capabilities" : [ "FPGARegALTERA" ], "version" : "None" }, { @@ -10659,8 +10690,9 @@ "version" : "None" }, { - "opname" : "OpTaskSequenceCreateINTEL", - "class" : "Reserved", + "opname" : "OpTaskSequenceCreateALTERA", + "class" : "@exclude", + "aliases" : [ "OpTaskSequenceCreateINTEL" ], "opcode" : 6163, "operands" : [ { "kind" : "IdResultType" }, @@ -10671,50 +10703,54 @@ { "kind" : "LiteralInteger", "name" : "GetCapacity" }, { "kind" : "LiteralInteger", "name" : "AsyncCapacity" } ], - "capabilities" : [ "TaskSequenceINTEL" ], + "capabilities" : [ "TaskSequenceALTERA" ], "version" : "None" }, { - "opname" : "OpTaskSequenceAsyncINTEL", - "class" : "Reserved", + "opname" : "OpTaskSequenceAsyncALTERA", + "class" : "@exclude", + "aliases" : [ "OpTaskSequenceAsyncINTEL" ], "opcode" : 6164, "operands" : [ { "kind" : "IdRef", "name" : "Sequence" }, { "kind" : "IdRef", "quantifier" : "*", "name" : "Arguments" } ], - "capabilities" : [ "TaskSequenceINTEL" ], + "capabilities" : [ "TaskSequenceALTERA" ], "version" : "None" }, { - "opname" : "OpTaskSequenceGetINTEL", - "class" : "Reserved", + "opname" : "OpTaskSequenceGetALTERA", + "class" : "@exclude", + "aliases" : [ "OpTaskSequenceGetINTEL" ], "opcode" : 6165, "operands" : [ { "kind" : "IdResultType" }, { "kind" : "IdResult" }, { "kind" : "IdRef", "name" : "Sequence" } ], - "capabilities" : [ "TaskSequenceINTEL" ], + "capabilities" : [ "TaskSequenceALTERA" ], "version" : "None" }, { - "opname" : "OpTaskSequenceReleaseINTEL", - "class" : "Reserved", + "opname" : "OpTaskSequenceReleaseALTERA", + "class" : "@exclude", + "aliases" : [ "OpTaskSequenceReleaseINTEL" ], "opcode" : 6166, "operands" : [ { "kind" : "IdRef", "name" : "Sequence" } ], - "capabilities" : [ "TaskSequenceINTEL" ], + "capabilities" : [ "TaskSequenceALTERA" ], "version" : "None" }, { - "opname" : "OpTypeTaskSequenceINTEL", - "class" : "Type-Declaration", + "opname" : "OpTypeTaskSequenceALTERA", + "class" : "@exclude", + "aliases" : [ "OpTypeTaskSequenceINTEL" ], "opcode" : 6199, "operands" : [ { "kind" : "IdResult" } ], - "capabilities" : [ "TaskSequenceINTEL" ], + "capabilities" : [ "TaskSequenceALTERA" ], "version": "None" }, { @@ -11445,90 +11481,100 @@ "version" : "1.4" }, { - "enumerant" : "InitiationIntervalINTEL", + "enumerant" : "InitiationIntervalALTERA", + "aliases" : [ "InitiationIntervalINTEL" ], "value" : "0x10000", "parameters" : [ { "kind" : "LiteralInteger" } ], - "capabilities" : [ "FPGALoopControlsINTEL" ], + "capabilities" : [ "FPGALoopControlsALTERA" ], "version" : "None" }, { - "enumerant" : "MaxConcurrencyINTEL", + "enumerant" : "MaxConcurrencyALTERA", + "aliases" : [ "MaxConcurrencyINTEL" ], "value" : "0x20000", "parameters" : [ { "kind" : "LiteralInteger" } ], - "capabilities" : [ "FPGALoopControlsINTEL" ], + "capabilities" : [ "FPGALoopControlsALTERA" ], "version" : "None" }, { - "enumerant" : "DependencyArrayINTEL", + "enumerant" : "DependencyArrayALTERA", + "aliases" : [ "DependencyArrayINTEL" ], "value" : "0x40000", "parameters" : [ { "kind" : "LiteralInteger" } ], - "capabilities" : [ "FPGALoopControlsINTEL" ], + "capabilities" : [ "FPGALoopControlsALTERA" ], "version" : "None" }, { - "enumerant" : "PipelineEnableINTEL", + "enumerant" : "PipelineEnableALTERA", + "aliases" : [ "PipelineEnableINTEL" ], "value" : "0x80000", "parameters" : [ { "kind" : "LiteralInteger" } ], - "capabilities" : [ "FPGALoopControlsINTEL" ], + "capabilities" : [ "FPGALoopControlsALTERA" ], "version" : "None" }, { - "enumerant" : "LoopCoalesceINTEL", + "enumerant" : "LoopCoalesceALTERA", + "aliases" : [ "LoopCoalesceINTEL" ], "value" : "0x100000", "parameters" : [ { "kind" : "LiteralInteger" } ], - "capabilities" : [ "FPGALoopControlsINTEL" ], + "capabilities" : [ "FPGALoopControlsALTERA" ], "version" : "None" }, { - "enumerant" : "MaxInterleavingINTEL", + "enumerant" : "MaxInterleavingALTERA", + "aliases" : [ "MaxInterleavingINTEL" ], "value" : "0x200000", "parameters" : [ { "kind" : "LiteralInteger" } ], - "capabilities" : [ "FPGALoopControlsINTEL" ], + "capabilities" : [ "FPGALoopControlsALTERA" ], "version" : "None" }, { - "enumerant" : "SpeculatedIterationsINTEL", + "enumerant" : "SpeculatedIterationsALTERA", + "aliases" : [ "SpeculatedIterationsINTEL" ], "value" : "0x400000", "parameters" : [ { "kind" : "LiteralInteger" } ], - "capabilities" : [ "FPGALoopControlsINTEL" ], + "capabilities" : [ "FPGALoopControlsALTERA" ], "version" : "None" }, { - "enumerant" : "NoFusionINTEL", + "enumerant" : "NoFusionALTERA", + "aliases" : [ "NoFusionINTEL" ], "value" : "0x800000", - "capabilities" : [ "FPGALoopControlsINTEL" ], + "capabilities" : [ "FPGALoopControlsALTERA" ], "version" : "None" }, { - "enumerant" : "LoopCountINTEL", + "enumerant" : "LoopCountALTERA", + "aliases" : [ "LoopCountINTEL" ], "value" : "0x1000000", "parameters" : [ { "kind" : "LiteralInteger" } ], - "capabilities" : [ "FPGALoopControlsINTEL" ], + "capabilities" : [ "FPGALoopControlsALTERA" ], "version" : "None" }, { - "enumerant" : "MaxReinvocationDelayINTEL", + "enumerant" : "MaxReinvocationDelayALTERA", + "aliases" : [ "MaxReinvocationDelayINTEL" ], "value" : "0x2000000", "parameters" : [ { "kind" : "LiteralInteger" } ], - "capabilities" : [ "FPGALoopControlsINTEL" ], + "capabilities" : [ "FPGALoopControlsALTERA" ], "version" : "None" } ] @@ -13086,21 +13132,17 @@ "version" : "None" }, { - "enumerant" : "DeviceOnlyINTEL", + "enumerant" : "DeviceOnlyALTERA", + "aliases" : [ "DeviceOnlyINTEL" ], "value" : 5936, - "extensions" : [ - "SPV_INTEL_usm_storage_classes" - ], - "capabilities" : [ "USMStorageClassesINTEL" ], + "capabilities" : [ "USMStorageClassesALTERA" ], "version" : "None" }, { - "enumerant" : "HostOnlyINTEL", + "enumerant" : "HostOnlyALTERA", + "aliases" : [ "HostOnlyINTEL" ], "value" : 5937, - "extensions" : [ - "SPV_INTEL_usm_storage_classes" - ], - "capabilities" : [ "USMStorageClassesINTEL" ], + "capabilities" : [ "USMStorageClassesALTERA" ], "version" : "None" } ] @@ -13754,49 +13796,49 @@ { "enumerant" : "TRN", "value" : 0, - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL"], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA"], "version" : "None" }, { "enumerant" : "TRN_ZERO", "value" : 1, - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL"], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA"], "version" : "None" }, { "enumerant" : "RND", "value" : 2, - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL"], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA"], "version" : "None" }, { "enumerant" : "RND_ZERO", "value" : 3, - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL"], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA"], "version" : "None" }, { "enumerant" : "RND_INF", "value" : 4, - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL"], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA"], "version" : "None" }, { "enumerant" : "RND_MIN_INF", "value" : 5, - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL"], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA"], "version" : "None" }, { "enumerant" : "RND_CONV", "value" : 6, - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL"], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA"], "version" : "None" }, { "enumerant" : "RND_CONV_ODD", "value" : 7, - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL"], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA"], "version" : "None" } ] @@ -13826,25 +13868,25 @@ { "enumerant" : "WRAP", "value" : 0, - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL"], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA"], "version" : "None" }, { "enumerant" : "SAT", "value" : 1, - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL"], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA"], "version" : "None" }, { "enumerant" : "SAT_ZERO", "value" : 2, - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL"], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA"], "version" : "None" }, { "enumerant" : "SAT_SYM", "value" : 3, - "capabilities" : [ "ArbitraryPrecisionFixedPointINTEL"], + "capabilities" : [ "ArbitraryPrecisionFixedPointALTERA"], "version" : "None" } ] @@ -13981,9 +14023,10 @@ "version": "1.0" }, { - "enumerant" : "RuntimeAlignedINTEL", + "enumerant" : "RuntimeAlignedALTERA", + "aliases" : [ "RuntimeAlignedINTEL" ], "value" : 5940, - "capabilities" : [ "RuntimeAlignedAttributeINTEL" ], + "capabilities" : [ "RuntimeAlignedAttributeALTERA" ], "version": "1.0" } ] @@ -14681,188 +14724,198 @@ "version" : "None" }, { - "enumerant" : "RegisterINTEL", + "enumerant" : "RegisterALTERA", + "aliases" : [ "RegisterINTEL" ], "value" : 5825, - "capabilities" : [ "FPGAMemoryAttributesINTEL" ], - "extensions" : [ "SPV_INTEL_fpga_memory_attributes" ], + "capabilities" : [ "FPGAMemoryAttributesALTERA" ], "version" : "None" }, { - "enumerant" : "MemoryINTEL", + "enumerant" : "MemoryALTERA", + "aliases" : [ "MemoryINTEL" ], "value" : 5826, "parameters" : [ { "kind" : "LiteralString", "name" : "Memory Type" } ], - "capabilities" : [ "FPGAMemoryAttributesINTEL" ], - "extensions" : [ "SPV_INTEL_fpga_memory_attributes" ], + "capabilities" : [ "FPGAMemoryAttributesALTERA" ], "version" : "None" }, { - "enumerant" : "NumbanksINTEL", + "enumerant" : "NumbanksALTERA", + "aliases" : [ "NumbanksINTEL" ], "value" : 5827, "parameters" : [ { "kind" : "LiteralInteger", "name" : "Banks" } ], - "capabilities" : [ "FPGAMemoryAttributesINTEL" ], - "extensions" : [ "SPV_INTEL_fpga_memory_attributes" ], + "capabilities" : [ "FPGAMemoryAttributesALTERA" ], "version" : "None" }, { - "enumerant" : "BankwidthINTEL", + "enumerant" : "BankwidthALTERA", + "aliases" : [ "BankwidthINTEL" ], "value" : 5828, "parameters" : [ { "kind" : "LiteralInteger", "name" : "Bank Width" } ], - "capabilities" : [ "FPGAMemoryAttributesINTEL" ], - "extensions" : [ "SPV_INTEL_fpga_memory_attributes" ], + "capabilities" : [ "FPGAMemoryAttributesALTERA" ], "version" : "None" }, { - "enumerant" : "MaxPrivateCopiesINTEL", + "enumerant" : "MaxPrivateCopiesALTERA", + "aliases" : [ "MaxPrivateCopiesINTEL" ], "value" : 5829, "parameters" : [ { "kind" : "LiteralInteger", "name" : "Maximum Copies" } ], - "capabilities" : [ "FPGAMemoryAttributesINTEL" ], - "extensions" : [ "SPV_INTEL_fpga_memory_attributes" ], + "capabilities" : [ "FPGAMemoryAttributesALTERA" ], "version" : "None" }, { - "enumerant" : "SinglepumpINTEL", + "enumerant" : "SinglepumpALTERA", + "aliases" : [ "SinglepumpINTEL" ], "value" : 5830, - "capabilities" : [ "FPGAMemoryAttributesINTEL" ], - "extensions" : [ "SPV_INTEL_fpga_memory_attributes" ], + "capabilities" : [ "FPGAMemoryAttributesALTERA" ], "version" : "None" }, { - "enumerant" : "DoublepumpINTEL", + "enumerant" : "DoublepumpALTERA", + "aliases" : [ "DoublepumpINTEL" ], "value" : 5831, - "capabilities" : [ "FPGAMemoryAttributesINTEL" ], - "extensions" : [ "SPV_INTEL_fpga_memory_attributes" ], + "capabilities" : [ "FPGAMemoryAttributesALTERA" ], "version" : "None" }, { - "enumerant" : "MaxReplicatesINTEL", + "enumerant" : "MaxReplicatesALTERA", + "aliases" : [ "MaxReplicatesINTEL" ], "value" : 5832, "parameters" : [ { "kind" : "LiteralInteger", "name" : "Maximum Replicates" } ], - "capabilities" : [ "FPGAMemoryAttributesINTEL" ], - "extensions" : [ "SPV_INTEL_fpga_memory_attributes" ], + "capabilities" : [ "FPGAMemoryAttributesALTERA" ], "version" : "None" }, { - "enumerant" : "SimpleDualPortINTEL", + "enumerant" : "SimpleDualPortALTERA", + "aliases" : [ "SimpleDualPortINTEL" ], "value" : 5833, - "capabilities" : [ "FPGAMemoryAttributesINTEL" ], - "extensions" : [ "SPV_INTEL_fpga_memory_attributes" ], + "capabilities" : [ "FPGAMemoryAttributesALTERA" ], "version" : "None" }, { - "enumerant" : "MergeINTEL", + "enumerant" : "MergeALTERA", + "aliases" : [ "MergeINTEL" ], "value" : 5834, "parameters" : [ { "kind" : "LiteralString", "name" : "Merge Key" }, { "kind" : "LiteralString", "name" : "Merge Type" } ], - "capabilities" : [ "FPGAMemoryAttributesINTEL" ], - "extensions" : [ "SPV_INTEL_fpga_memory_attributes" ], + "capabilities" : [ "FPGAMemoryAttributesALTERA" ], "version" : "None" }, { - "enumerant" : "BankBitsINTEL", + "enumerant" : "BankBitsALTERA", + "aliases" : [ "BankBitsINTEL" ], "value" : 5835, "parameters" : [ { "kind" : "LiteralInteger", "quantifier" : "*", "name" : "Bank Bits" } ], - "capabilities" : [ "FPGAMemoryAttributesINTEL" ], - "extensions" : [ "SPV_INTEL_fpga_memory_attributes" ], + "capabilities" : [ "FPGAMemoryAttributesALTERA" ], "version" : "None" }, { - "enumerant" : "ForcePow2DepthINTEL", + "enumerant" : "ForcePow2DepthALTERA", + "aliases" : [ "ForcePow2DepthINTEL" ], "value" : 5836, "parameters" : [ { "kind" : "LiteralInteger", "name" : "Force Key" } ], - "capabilities" : [ "FPGAMemoryAttributesINTEL" ], - "extensions" : [ "SPV_INTEL_fpga_memory_attributes" ], + "capabilities" : [ "FPGAMemoryAttributesALTERA" ], "version" : "None" }, { - "enumerant" : "StridesizeINTEL", + "enumerant" : "StridesizeALTERA", + "aliases" : [ "StridesizeINTEL" ], "value" : 5883, "parameters" : [ { "kind" : "LiteralInteger", "name" : "Stride Size" } ], - "capabilities" : [ "FPGAMemoryAttributesINTEL" ], + "capabilities" : [ "FPGAMemoryAttributesALTERA" ], "version" : "None" }, { - "enumerant" : "WordsizeINTEL", + "enumerant" : "WordsizeALTERA", + "aliases" : [ "WordsizeINTEL" ], "value" : 5884, "parameters" : [ { "kind" : "LiteralInteger", "name" : "Word Size" } ], - "capabilities" : [ "FPGAMemoryAttributesINTEL" ], + "capabilities" : [ "FPGAMemoryAttributesALTERA" ], "version" : "None" }, { - "enumerant" : "TrueDualPortINTEL", + "enumerant" : "TrueDualPortALTERA", + "aliases" : [ "TrueDualPortINTEL" ], "value" : 5885, - "capabilities" : [ "FPGAMemoryAttributesINTEL" ], + "capabilities" : [ "FPGAMemoryAttributesALTERA" ], "version" : "None" }, { - "enumerant" : "BurstCoalesceINTEL", + "enumerant" : "BurstCoalesceALTERA", + "aliases" : [ "BurstCoalesceINTEL" ], "value" : 5899, - "capabilities" : [ "FPGAMemoryAccessesINTEL" ], + "capabilities" : [ "FPGAMemoryAccessesALTERA" ], "version" : "None" }, { - "enumerant" : "CacheSizeINTEL", + "enumerant" : "CacheSizeALTERA", + "aliases" : [ "CacheSizeINTEL" ], "value" : 5900, "parameters" : [ { "kind" : "LiteralInteger", "name" : "Cache Size in bytes" } ], - "capabilities" : [ "FPGAMemoryAccessesINTEL" ], + "capabilities" : [ "FPGAMemoryAccessesALTERA" ], "version" : "None" }, { - "enumerant" : "DontStaticallyCoalesceINTEL", + "enumerant" : "DontStaticallyCoalesceALTERA", + "aliases" : [ "DontStaticallyCoalesceINTEL" ], "value" : 5901, - "capabilities" : [ "FPGAMemoryAccessesINTEL" ], + "capabilities" : [ "FPGAMemoryAccessesALTERA" ], "version" : "None" }, { - "enumerant" : "PrefetchINTEL", + "enumerant" : "PrefetchALTERA", + "aliases" : [ "PrefetchINTEL" ], "value" : 5902, "parameters" : [ { "kind" : "LiteralInteger", "name" : "Prefetcher Size in bytes" } ], - "capabilities" : [ "FPGAMemoryAccessesINTEL" ], + "capabilities" : [ "FPGAMemoryAccessesALTERA" ], "version" : "None" }, { - "enumerant" : "StallEnableINTEL", + "enumerant" : "StallEnableALTERA", + "aliases" : [ "StallEnableINTEL" ], "value" : 5905, - "capabilities" : [ "FPGAClusterAttributesINTEL" ], + "capabilities" : [ "FPGAClusterAttributesALTERA" ], "version" : "None" }, { - "enumerant" : "FuseLoopsInFunctionINTEL", + "enumerant" : "FuseLoopsInFunctionALTERA", + "aliases" : [ "FuseLoopsInFunctionINTEL" ], "value" : 5907, - "capabilities" : [ "LoopFuseINTEL" ], + "capabilities" : [ "LoopFuseALTERA" ], "version" : "None" }, { - "enumerant" : "MathOpDSPModeINTEL", + "enumerant" : "MathOpDSPModeALTERA", + "aliases" : [ "MathOpDSPModeINTEL" ], "value" : 5909, "parameters" : [ { "kind" : "LiteralInteger", "name" : "Mode" }, { "kind" : "LiteralInteger", "name" : "Propagate" } ], - "capabilities" : [ "FPGADSPControlINTEL" ], + "capabilities" : [ "FPGADSPControlALTERA" ], "version" : "None" }, { @@ -14884,48 +14937,53 @@ "version" : "None" }, { - "enumerant" : "InitiationIntervalINTEL", + "enumerant" : "InitiationIntervalALTERA", + "aliases" : [ "InitiationIntervalINTEL" ], "value" : 5917, "parameters" : [ { "kind" : "LiteralInteger", "name" : "Cycles" } ], - "capabilities" : [ "FPGAInvocationPipeliningAttributesINTEL" ], + "capabilities" : [ "FPGAInvocationPipeliningAttributesALTERA" ], "version" : "None" }, { - "enumerant" : "MaxConcurrencyINTEL", + "enumerant" : "MaxConcurrencyALTERA", + "aliases" : [ "MaxConcurrencyINTEL" ], "value" : 5918, "parameters" : [ { "kind" : "LiteralInteger", "name" : "Invocations" } ], - "capabilities" : [ "FPGAInvocationPipeliningAttributesINTEL" ], + "capabilities" : [ "FPGAInvocationPipeliningAttributesALTERA" ], "version" : "None" }, { - "enumerant" : "PipelineEnableINTEL", + "enumerant" : "PipelineEnableALTERA", + "aliases" : [ "PipelineEnableINTEL" ], "value" : 5919, "parameters" : [ { "kind" : "LiteralInteger", "name" : "Enable" } ], - "capabilities" : [ "FPGAInvocationPipeliningAttributesINTEL" ], + "capabilities" : [ "FPGAInvocationPipeliningAttributesALTERA" ], "version" : "None" }, { - "enumerant" : "BufferLocationINTEL", + "enumerant" : "BufferLocationALTERA", + "aliases" : [ "BufferLocationINTEL" ], "value" : 5921, "parameters" : [ { "kind" : "LiteralInteger", "name" : "Buffer Location ID" } ], - "capabilities" : [ "FPGABufferLocationINTEL" ], + "capabilities" : [ "FPGABufferLocationALTERA" ], "version" : "None" }, { - "enumerant" : "IOPipeStorageINTEL", + "enumerant" : "IOPipeStorageALTERA", + "aliases" : [ "IOPipeStorageINTEL" ], "value" : 5944, "parameters" : [ { "kind" : "LiteralInteger", "name" : "IO Pipe ID" } ], - "capabilities" : [ "IOPipesINTEL" ], + "capabilities" : [ "IOPipesALTERA" ], "version" : "None" }, { @@ -14957,9 +15015,10 @@ "version" : "None" }, { - "enumerant" : "StallFreeINTEL", + "enumerant" : "StallFreeALTERA", + "aliases" : [ "StallFreeINTEL" ], "value" : 6151, - "capabilities" : [ "FPGAClusterAttributesV2INTEL" ], + "capabilities" : [ "FPGAClusterAttributesV2ALTERA" ], "version" : "None" }, { @@ -14972,95 +15031,106 @@ "version" : "None" }, { - "enumerant" : "LatencyControlLabelINTEL", + "enumerant" : "LatencyControlLabelALTERA", + "aliases" : [ "LatencyControlLabelINTEL" ], "value" : 6172, "parameters" : [ { "kind" : "LiteralInteger", "name" : "Latency Label" } ], - "capabilities" : [ "FPGALatencyControlINTEL" ], + "capabilities" : [ "FPGALatencyControlALTERA" ], "version" : "None" }, { - "enumerant" : "LatencyControlConstraintINTEL", + "enumerant" : "LatencyControlConstraintALTERA", + "aliases" : [ "LatencyControlConstraintINTEL" ], "value" : 6173, "parameters" : [ { "kind" : "LiteralInteger", "name" : "Relative To" }, { "kind" : "LiteralInteger", "name" : "Control Type" }, { "kind" : "LiteralInteger", "name" : "Relative Cycle" } ], - "capabilities" : [ "FPGALatencyControlINTEL" ], + "capabilities" : [ "FPGALatencyControlALTERA" ], "version" : "None" }, { - "enumerant" : "ConduitKernelArgumentINTEL", + "enumerant" : "ConduitKernelArgumentALTERA", + "aliases" : [ "ConduitKernelArgumentINTEL" ], "value" : 6175, - "capabilities" : [ "FPGAArgumentInterfacesINTEL" ], + "capabilities" : [ "FPGAArgumentInterfacesALTERA" ], "version" : "None" }, { - "enumerant" : "RegisterMapKernelArgumentINTEL", + "enumerant" : "RegisterMapKernelArgumentALTERA", + "aliases" : [ "RegisterMapKernelArgumentINTEL" ], "value" : 6176, - "capabilities" : [ "FPGAArgumentInterfacesINTEL" ], + "capabilities" : [ "FPGAArgumentInterfacesALTERA" ], "version" : "None" }, { - "enumerant" : "MMHostInterfaceAddressWidthINTEL", + "enumerant" : "MMHostInterfaceAddressWidthALTERA", + "aliases" : [ "MMHostInterfaceAddressWidthINTEL" ], "value" : 6177, - "capabilities" : [ "FPGAArgumentInterfacesINTEL" ], + "capabilities" : [ "FPGAArgumentInterfacesALTERA" ], "parameters" : [ { "kind" : "LiteralInteger", "name" : "AddressWidth" } ], "version" : "None" }, { - "enumerant" : "MMHostInterfaceDataWidthINTEL", + "enumerant" : "MMHostInterfaceDataWidthALTERA", + "aliases" : [ "MMHostInterfaceDataWidthINTEL" ], "value" : 6178, - "capabilities" : [ "FPGAArgumentInterfacesINTEL" ], + "capabilities" : [ "FPGAArgumentInterfacesALTERA" ], "parameters" : [ { "kind" : "LiteralInteger", "name" : "DataWidth" } ], "version" : "None" }, { - "enumerant" : "MMHostInterfaceLatencyINTEL", + "enumerant" : "MMHostInterfaceLatencyALTERA", + "aliases" : [ "MMHostInterfaceLatencyINTEL" ], "value" : 6179, - "capabilities" : [ "FPGAArgumentInterfacesINTEL" ], + "capabilities" : [ "FPGAArgumentInterfacesALTERA" ], "parameters" : [ { "kind" : "LiteralInteger", "name" : "Latency" } ], "version" : "None" }, { - "enumerant" : "MMHostInterfaceReadWriteModeINTEL", + "enumerant" : "MMHostInterfaceReadWriteModeALTERA", + "aliases" : [ "MMHostInterfaceReadWriteModeINTEL" ], "value" : 6180, - "capabilities" : [ "FPGAArgumentInterfacesINTEL" ], + "capabilities" : [ "FPGAArgumentInterfacesALTERA" ], "parameters" : [ { "kind" : "AccessQualifier", "name" : "ReadWriteMode" } ], "version" : "None" }, { - "enumerant" : "MMHostInterfaceMaxBurstINTEL", + "enumerant" : "MMHostInterfaceMaxBurstALTERA", + "aliases" : [ "MMHostInterfaceMaxBurstINTEL" ], "value" : 6181, - "capabilities" : [ "FPGAArgumentInterfacesINTEL" ], + "capabilities" : [ "FPGAArgumentInterfacesALTERA" ], "parameters" : [ { "kind" : "LiteralInteger", "name" : "MaxBurstCount" } ], "version" : "None" }, { - "enumerant" : "MMHostInterfaceWaitRequestINTEL", + "enumerant" : "MMHostInterfaceWaitRequestALTERA", + "aliases" : [ "MMHostInterfaceWaitRequestINTEL" ], "value" : 6182, - "capabilities" : [ "FPGAArgumentInterfacesINTEL" ], + "capabilities" : [ "FPGAArgumentInterfacesALTERA" ], "parameters" : [ { "kind" : "LiteralInteger", "name" : "Waitrequest" } ], "version" : "None" }, { - "enumerant" : "StableKernelArgumentINTEL", + "enumerant" : "StableKernelArgumentALTERA", + "aliases" : [ "StableKernelArgumentINTEL" ], "value" : 6183, - "capabilities" : [ "FPGAArgumentInterfacesINTEL" ], + "capabilities" : [ "FPGAArgumentInterfacesALTERA" ], "version" : "None" }, { @@ -15074,21 +15144,23 @@ "version" : "None" }, { - "enumerant" : "InitModeINTEL", + "enumerant" : "InitModeALTERA", + "aliases" : [ "InitModeINTEL" ], "value" : 6190, "parameters": [ { "kind" : "InitializationModeQualifier", "name" : "Trigger" } ], - "capabilities" : [ "GlobalVariableFPGADecorationsINTEL" ], + "capabilities" : [ "GlobalVariableFPGADecorationsALTERA" ], "version" : "None" }, { - "enumerant" : "ImplementInRegisterMapINTEL", + "enumerant" : "ImplementInRegisterMapALTERA", + "aliases" : [ "ImplementInRegisterMapINTEL" ], "value" : 6191, "parameters": [ { "kind" : "LiteralInteger", "name" : "Value" } ], - "capabilities" : [ "GlobalVariableFPGADecorationsINTEL" ], + "capabilities" : [ "GlobalVariableFPGADecorationsALTERA" ], "version" : "None" }, { @@ -17441,9 +17513,10 @@ "version" : "None" }, { - "enumerant" : "FPGAMemoryAttributesINTEL", + "enumerant" : "FPGAMemoryAttributesALTERA", + "aliases" : [ "FPGAMemoryAttributesINTEL" ], "value" : 5824, - "extensions" : [ "SPV_INTEL_fpga_memory_attributes" ], + "extensions" : [ "SPV_ALTERA_fpga_memory_attributes", "SPV_INTEL_fpga_memory_attributes" ], "version" : "None" }, { @@ -17454,15 +17527,17 @@ "version" : "None" }, { - "enumerant" : "ArbitraryPrecisionIntegersINTEL", + "enumerant" : "ArbitraryPrecisionIntegersALTERA", + "aliases" : [ "ArbitraryPrecisionIntegersINTEL" ], "value" : 5844, - "extensions" : [ "SPV_INTEL_arbitrary_precision_integers" ], + "extensions" : [ "SPV_ALTERA_arbitrary_precision_integers", "SPV_INTEL_arbitrary_precision_integers" ], "version" : "None" }, { - "enumerant" : "ArbitraryPrecisionFloatingPointINTEL", + "enumerant" : "ArbitraryPrecisionFloatingPointALTERA", + "aliases" : [ "ArbitraryPrecisionFloatingPointINTEL" ], "value" : 5845, - "extensions" : [ "SPV_INTEL_arbitrary_precision_floating_point" ], + "extensions" : [ "SPV_ALTERA_arbitrary_precision_floating_point", "SPV_INTEL_arbitrary_precision_floating_point" ], "version" : "None" }, { @@ -17472,9 +17547,10 @@ "version" : "None" }, { - "enumerant" : "FPGALoopControlsINTEL", + "enumerant" : "FPGALoopControlsALTERA", + "aliases" : [ "FPGALoopControlsINTEL" ], "value" : 5888, - "extensions" : [ "SPV_INTEL_fpga_loop_controls" ], + "extensions" : [ "SPV_ALTERA_fpga_loop_controls", "SPV_INTEL_fpga_loop_controls" ], "version" : "None" }, { @@ -17490,27 +17566,31 @@ "version" : "None" }, { - "enumerant" : "FPGAMemoryAccessesINTEL", + "enumerant" : "FPGAMemoryAccessesALTERA", + "aliases" : [ "FPGAMemoryAccessesINTEL" ], "value" : 5898, - "extensions" : [ "SPV_INTEL_fpga_memory_accesses" ], + "extensions" : [ "SPV_ALTERA_fpga_memory_accesses", "SPV_INTEL_fpga_memory_accesses" ], "version" : "None" }, { - "enumerant" : "FPGAClusterAttributesINTEL", + "enumerant" : "FPGAClusterAttributesALTERA", + "aliases" : [ "FPGAClusterAttributesINTEL" ], "value" : 5904, - "extensions" : [ "SPV_INTEL_fpga_cluster_attributes" ], + "extensions" : [ "SPV_ALTERA_fpga_cluster_attributes", "SPV_INTEL_fpga_cluster_attributes" ], "version" : "None" }, { - "enumerant" : "LoopFuseINTEL", + "enumerant" : "LoopFuseALTERA", + "aliases" : [ "LoopFuseINTEL" ], "value" : 5906, - "extensions" : [ "SPV_INTEL_loop_fuse" ], + "extensions" : [ "SPV_ALTERA_loop_fuse", "SPV_INTEL_loop_fuse" ], "version" : "None" }, { - "enumerant" : "FPGADSPControlINTEL", + "enumerant" : "FPGADSPControlALTERA", + "aliases" : [ "FPGADSPControlINTEL" ], "value" : 5908, - "extensions" : [ "SPV_INTEL_fpga_dsp_control" ], + "extensions" : [ "SPV_ALTERA_fpga_dsp_control", "SPV_INTEL_fpga_dsp_control" ], "version" : "None" }, { @@ -17520,51 +17600,59 @@ "version" : "None" }, { - "enumerant" : "FPGAInvocationPipeliningAttributesINTEL", + "enumerant" : "FPGAInvocationPipeliningAttributesALTERA", + "aliases" : [ "FPGAInvocationPipeliningAttributesINTEL" ], "value" : 5916, - "extensions" : [ "SPV_INTEL_fpga_invocation_pipelining_attributes" ], + "extensions" : [ "SPV_ALTERA_fpga_invocation_pipelining_attributes", "SPV_INTEL_fpga_invocation_pipelining_attributes" ], "version" : "None" }, { - "enumerant" : "FPGABufferLocationINTEL", + "enumerant" : "FPGABufferLocationALTERA", + "aliases" : [ "FPGABufferLocationINTEL" ], "value" : 5920, - "extensions" : [ "SPV_INTEL_fpga_buffer_location" ], + "extensions" : [ "SPV_ALTERA_fpga_buffer_location", "SPV_INTEL_fpga_buffer_location" ], "version" : "None" }, { - "enumerant" : "ArbitraryPrecisionFixedPointINTEL", + "enumerant" : "ArbitraryPrecisionFixedPointALTERA", + "aliases" : [ "ArbitraryPrecisionFixedPointINTEL" ], "value" : 5922, - "extensions" : [ "SPV_INTEL_arbitrary_precision_fixed_point" ], + "extensions" : [ "SPV_ALTERA_arbitrary_precision_fixed_point", "SPV_INTEL_arbitrary_precision_fixed_point" ], "version" : "None" }, { - "enumerant" : "USMStorageClassesINTEL", + "enumerant" : "USMStorageClassesALTERA", + "aliases" : [ "USMStorageClassesINTEL" ], "value" : 5935, - "extensions" : [ "SPV_INTEL_usm_storage_classes" ], + "extensions" : [ "SPV_ALTERA_usm_storage_classes", "SPV_INTEL_usm_storage_classes" ], "version" : "None" }, { - "enumerant" : "RuntimeAlignedAttributeINTEL", + "enumerant" : "RuntimeAlignedAttributeALTERA", + "aliases" : [ "RuntimeAlignedAttributeINTEL" ], "value" : 5939, - "extensions" : [ "SPV_INTEL_runtime_aligned" ], + "extensions" : [ "SPV_ALTERA_runtime_aligned", "SPV_INTEL_runtime_aligned" ], "version" : "None" }, { - "enumerant" : "IOPipesINTEL", + "enumerant" : "IOPipesALTERA", + "aliases" : [ "IOPipesINTEL" ], "value" : 5943, - "extensions" : [ "SPV_INTEL_io_pipes" ], + "extensions" : [ "SPV_ALTERA_io_pipes", "SPV_INTEL_io_pipes" ], "version" : "None" }, { - "enumerant" : "BlockingPipesINTEL", + "enumerant" : "BlockingPipesALTERA", + "aliases" : [ "BlockingPipesINTEL" ], "value" : 5945, - "extensions" : [ "SPV_INTEL_blocking_pipes" ], + "extensions" : [ "SPV_ALTERA_blocking_pipes", "SPV_INTEL_blocking_pipes" ], "version" : "None" }, { - "enumerant" : "FPGARegINTEL", + "enumerant" : "FPGARegALTERA", + "aliases" : [ "FPGARegINTEL" ], "value" : 5948, - "extensions" : [ "SPV_INTEL_fpga_reg" ], + "extensions" : [ "SPV_ALTERA_fpga_reg", "SPV_INTEL_fpga_reg" ], "version" : "None" }, { @@ -17695,10 +17783,11 @@ "version" : "None" }, { - "enumerant" : "FPGAClusterAttributesV2INTEL", + "enumerant" : "FPGAClusterAttributesV2ALTERA", + "aliases" : [ "FPGAClusterAttributesV2INTEL" ], "value" : 6150, - "capabilities" : [ "FPGAClusterAttributesINTEL" ], - "extensions" : [ "SPV_INTEL_fpga_cluster_attributes" ], + "capabilities" : [ "FPGAClusterAttributesALTERA" ], + "extensions" : [ "SPV_ALTERA_fpga_cluster_attributes", "SPV_INTEL_fpga_cluster_attributes" ], "version" : "None" }, { @@ -17709,9 +17798,10 @@ "version" : "None" }, { - "enumerant" : "TaskSequenceINTEL", + "enumerant" : "TaskSequenceALTERA", + "aliases" : [ "TaskSequenceINTEL" ], "value" : 6162, - "extensions" : [ "SPV_INTEL_task_sequence" ], + "extensions" : [ "SPV_ALTERA_task_sequence", "SPV_INTEL_task_sequence" ], "version" : "None" }, { @@ -17721,15 +17811,17 @@ "version" : "None" }, { - "enumerant" : "FPGALatencyControlINTEL", + "enumerant" : "FPGALatencyControlALTERA", + "aliases" : [ "FPGALatencyControlINTEL" ], "value" : 6171, - "extensions" : [ "SPV_INTEL_fpga_latency_control" ], + "extensions" : [ "SPV_ALTERA_fpga_latency_control", "SPV_INTEL_fpga_latency_control" ], "version" : "None" }, { - "enumerant" : "FPGAArgumentInterfacesINTEL", + "enumerant" : "FPGAArgumentInterfacesALTERA", + "aliases" : [ "FPGAArgumentInterfacesINTEL" ], "value" : 6174, - "extensions" : [ "SPV_INTEL_fpga_argument_interfaces" ], + "extensions" : [ "SPV_ALTERA_fpga_argument_interfaces", "SPV_INTEL_fpga_argument_interfaces" ], "version" : "None" }, { @@ -17739,9 +17831,10 @@ "version" : "None" }, { - "enumerant" : "GlobalVariableFPGADecorationsINTEL", + "enumerant" : "GlobalVariableFPGADecorationsALTERA", + "aliases" : [ "GlobalVariableFPGADecorationsINTEL" ], "value" : 6189, - "extensions": [ "SPV_INTEL_global_variable_fpga_decorations" ], + "extensions" : [ "SPV_ALTERA_global_variable_fpga_decorations", "SPV_INTEL_global_variable_fpga_decorations" ], "version" : "None" }, { @@ -18085,15 +18178,17 @@ "kind" : "InitializationModeQualifier", "enumerants" : [ { - "enumerant" : "InitOnDeviceReprogramINTEL", + "enumerant" : "InitOnDeviceReprogramALTERA", + "aliases" : [ "InitOnDeviceReprogramINTEL" ], "value" : 0, - "capabilities" : [ "GlobalVariableFPGADecorationsINTEL" ], + "capabilities" : [ "GlobalVariableFPGADecorationsALTERA" ], "version" : "None" }, { - "enumerant" : "InitOnDeviceResetINTEL", + "enumerant" : "InitOnDeviceResetALTERA", + "aliases" : [ "InitOnDeviceResetINTEL" ], "value" : 1, - "capabilities" : [ "GlobalVariableFPGADecorationsINTEL" ], + "capabilities" : [ "GlobalVariableFPGADecorationsALTERA" ], "version" : "None" } ] diff --git a/include/spirv/unified1/spirv.cs b/include/spirv/unified1/spirv.cs index 3332f21d9..4214bb7eb 100644 --- a/include/spirv/unified1/spirv.cs +++ b/include/spirv/unified1/spirv.cs @@ -248,7 +248,9 @@ public enum StorageClass HitObjectAttributeNV = 5385, TaskPayloadWorkgroupEXT = 5402, CodeSectionINTEL = 5605, + DeviceOnlyALTERA = 5936, DeviceOnlyINTEL = 5936, + HostOnlyALTERA = 5937, HostOnlyINTEL = 5937, Max = 0x7fffffff, } @@ -501,6 +503,7 @@ public enum FunctionParameterAttribute NoCapture = 5, NoWrite = 6, NoReadWrite = 7, + RuntimeAlignedALTERA = 5940, RuntimeAlignedINTEL = 5940, Max = 0x7fffffff, } @@ -606,54 +609,95 @@ public enum Decoration UserTypeGOOGLE = 5636, FunctionRoundingModeINTEL = 5822, FunctionDenormModeINTEL = 5823, + RegisterALTERA = 5825, RegisterINTEL = 5825, + MemoryALTERA = 5826, MemoryINTEL = 5826, + NumbanksALTERA = 5827, NumbanksINTEL = 5827, + BankwidthALTERA = 5828, BankwidthINTEL = 5828, + MaxPrivateCopiesALTERA = 5829, MaxPrivateCopiesINTEL = 5829, + SinglepumpALTERA = 5830, SinglepumpINTEL = 5830, + DoublepumpALTERA = 5831, DoublepumpINTEL = 5831, + MaxReplicatesALTERA = 5832, MaxReplicatesINTEL = 5832, + SimpleDualPortALTERA = 5833, SimpleDualPortINTEL = 5833, + MergeALTERA = 5834, MergeINTEL = 5834, + BankBitsALTERA = 5835, BankBitsINTEL = 5835, + ForcePow2DepthALTERA = 5836, ForcePow2DepthINTEL = 5836, + StridesizeALTERA = 5883, StridesizeINTEL = 5883, + WordsizeALTERA = 5884, WordsizeINTEL = 5884, + TrueDualPortALTERA = 5885, TrueDualPortINTEL = 5885, + BurstCoalesceALTERA = 5899, BurstCoalesceINTEL = 5899, + CacheSizeALTERA = 5900, CacheSizeINTEL = 5900, + DontStaticallyCoalesceALTERA = 5901, DontStaticallyCoalesceINTEL = 5901, + PrefetchALTERA = 5902, PrefetchINTEL = 5902, + StallEnableALTERA = 5905, StallEnableINTEL = 5905, + FuseLoopsInFunctionALTERA = 5907, FuseLoopsInFunctionINTEL = 5907, + MathOpDSPModeALTERA = 5909, MathOpDSPModeINTEL = 5909, AliasScopeINTEL = 5914, NoAliasINTEL = 5915, + InitiationIntervalALTERA = 5917, InitiationIntervalINTEL = 5917, + MaxConcurrencyALTERA = 5918, MaxConcurrencyINTEL = 5918, + PipelineEnableALTERA = 5919, PipelineEnableINTEL = 5919, + BufferLocationALTERA = 5921, BufferLocationINTEL = 5921, + IOPipeStorageALTERA = 5944, IOPipeStorageINTEL = 5944, FunctionFloatingPointModeINTEL = 6080, SingleElementVectorINTEL = 6085, VectorComputeCallableFunctionINTEL = 6087, MediaBlockIOINTEL = 6140, + StallFreeALTERA = 6151, StallFreeINTEL = 6151, FPMaxErrorDecorationINTEL = 6170, + LatencyControlLabelALTERA = 6172, LatencyControlLabelINTEL = 6172, + LatencyControlConstraintALTERA = 6173, LatencyControlConstraintINTEL = 6173, + ConduitKernelArgumentALTERA = 6175, ConduitKernelArgumentINTEL = 6175, + RegisterMapKernelArgumentALTERA = 6176, RegisterMapKernelArgumentINTEL = 6176, + MMHostInterfaceAddressWidthALTERA = 6177, MMHostInterfaceAddressWidthINTEL = 6177, + MMHostInterfaceDataWidthALTERA = 6178, MMHostInterfaceDataWidthINTEL = 6178, + MMHostInterfaceLatencyALTERA = 6179, MMHostInterfaceLatencyINTEL = 6179, + MMHostInterfaceReadWriteModeALTERA = 6180, MMHostInterfaceReadWriteModeINTEL = 6180, + MMHostInterfaceMaxBurstALTERA = 6181, MMHostInterfaceMaxBurstINTEL = 6181, + MMHostInterfaceWaitRequestALTERA = 6182, MMHostInterfaceWaitRequestINTEL = 6182, + StableKernelArgumentALTERA = 6183, StableKernelArgumentINTEL = 6183, HostAccessINTEL = 6188, + InitModeALTERA = 6190, InitModeINTEL = 6190, + ImplementInRegisterMapALTERA = 6191, ImplementInRegisterMapINTEL = 6191, ConditionalINTEL = 6247, CacheControlLoadINTEL = 6442, @@ -839,15 +883,25 @@ public enum LoopControlShift IterationMultiple = 6, PeelCount = 7, PartialCount = 8, + InitiationIntervalALTERA = 16, InitiationIntervalINTEL = 16, + MaxConcurrencyALTERA = 17, MaxConcurrencyINTEL = 17, + DependencyArrayALTERA = 18, DependencyArrayINTEL = 18, + PipelineEnableALTERA = 19, PipelineEnableINTEL = 19, + LoopCoalesceALTERA = 20, LoopCoalesceINTEL = 20, + MaxInterleavingALTERA = 21, MaxInterleavingINTEL = 21, + SpeculatedIterationsALTERA = 22, SpeculatedIterationsINTEL = 22, + NoFusionALTERA = 23, NoFusionINTEL = 23, + LoopCountALTERA = 24, LoopCountINTEL = 24, + MaxReinvocationDelayALTERA = 25, MaxReinvocationDelayINTEL = 25, Max = 0x7fffffff, } @@ -864,15 +918,25 @@ public enum LoopControlMask IterationMultiple = 0x00000040, PeelCount = 0x00000080, PartialCount = 0x00000100, + InitiationIntervalALTERA = 0x00010000, InitiationIntervalINTEL = 0x00010000, + MaxConcurrencyALTERA = 0x00020000, MaxConcurrencyINTEL = 0x00020000, + DependencyArrayALTERA = 0x00040000, DependencyArrayINTEL = 0x00040000, + PipelineEnableALTERA = 0x00080000, PipelineEnableINTEL = 0x00080000, + LoopCoalesceALTERA = 0x00100000, LoopCoalesceINTEL = 0x00100000, + MaxInterleavingALTERA = 0x00200000, MaxInterleavingINTEL = 0x00200000, + SpeculatedIterationsALTERA = 0x00400000, SpeculatedIterationsINTEL = 0x00400000, + NoFusionALTERA = 0x00800000, NoFusionINTEL = 0x00800000, + LoopCountALTERA = 0x01000000, LoopCountINTEL = 0x01000000, + MaxReinvocationDelayALTERA = 0x02000000, MaxReinvocationDelayINTEL = 0x02000000, } @@ -1256,26 +1320,42 @@ public enum Capability SubgroupAvcMotionEstimationChromaINTEL = 5698, VariableLengthArrayINTEL = 5817, FunctionFloatControlINTEL = 5821, + FPGAMemoryAttributesALTERA = 5824, FPGAMemoryAttributesINTEL = 5824, FPFastMathModeINTEL = 5837, + ArbitraryPrecisionIntegersALTERA = 5844, ArbitraryPrecisionIntegersINTEL = 5844, + ArbitraryPrecisionFloatingPointALTERA = 5845, ArbitraryPrecisionFloatingPointINTEL = 5845, UnstructuredLoopControlsINTEL = 5886, + FPGALoopControlsALTERA = 5888, FPGALoopControlsINTEL = 5888, KernelAttributesINTEL = 5892, FPGAKernelAttributesINTEL = 5897, + FPGAMemoryAccessesALTERA = 5898, FPGAMemoryAccessesINTEL = 5898, + FPGAClusterAttributesALTERA = 5904, FPGAClusterAttributesINTEL = 5904, + LoopFuseALTERA = 5906, LoopFuseINTEL = 5906, + FPGADSPControlALTERA = 5908, FPGADSPControlINTEL = 5908, MemoryAccessAliasingINTEL = 5910, + FPGAInvocationPipeliningAttributesALTERA = 5916, FPGAInvocationPipeliningAttributesINTEL = 5916, + FPGABufferLocationALTERA = 5920, FPGABufferLocationINTEL = 5920, + ArbitraryPrecisionFixedPointALTERA = 5922, ArbitraryPrecisionFixedPointINTEL = 5922, + USMStorageClassesALTERA = 5935, USMStorageClassesINTEL = 5935, + RuntimeAlignedAttributeALTERA = 5939, RuntimeAlignedAttributeINTEL = 5939, + IOPipesALTERA = 5943, IOPipesINTEL = 5943, + BlockingPipesALTERA = 5945, BlockingPipesINTEL = 5945, + FPGARegALTERA = 5948, FPGARegINTEL = 5948, DotProductInputAll = 6016, DotProductInputAllKHR = 6016, @@ -1302,13 +1382,18 @@ public enum Capability BFloat16ConversionINTEL = 6115, SplitBarrierINTEL = 6141, ArithmeticFenceEXT = 6144, + FPGAClusterAttributesV2ALTERA = 6150, FPGAClusterAttributesV2INTEL = 6150, FPGAKernelAttributesv2INTEL = 6161, + TaskSequenceALTERA = 6162, TaskSequenceINTEL = 6162, FPMaxErrorINTEL = 6169, + FPGALatencyControlALTERA = 6171, FPGALatencyControlINTEL = 6171, + FPGAArgumentInterfacesALTERA = 6174, FPGAArgumentInterfacesINTEL = 6174, GlobalVariableHostAccessINTEL = 6187, + GlobalVariableFPGADecorationsALTERA = 6189, GlobalVariableFPGADecorationsINTEL = 6189, SubgroupBufferPrefetchINTEL = 6220, Subgroup2DBlockIOINTEL = 6228, @@ -1544,7 +1629,9 @@ public enum TensorOperandsMask public enum InitializationModeQualifier { + InitOnDeviceReprogramALTERA = 0, InitOnDeviceReprogramINTEL = 0, + InitOnDeviceResetALTERA = 1, InitOnDeviceResetINTEL = 1, Max = 0x7fffffff, } @@ -2384,23 +2471,41 @@ public enum Op OpVariableLengthArrayINTEL = 5818, OpSaveMemoryINTEL = 5819, OpRestoreMemoryINTEL = 5820, + OpArbitraryFloatSinCosPiALTERA = 5840, OpArbitraryFloatSinCosPiINTEL = 5840, + OpArbitraryFloatCastALTERA = 5841, OpArbitraryFloatCastINTEL = 5841, + OpArbitraryFloatCastFromIntALTERA = 5842, OpArbitraryFloatCastFromIntINTEL = 5842, + OpArbitraryFloatCastToIntALTERA = 5843, OpArbitraryFloatCastToIntINTEL = 5843, + OpArbitraryFloatAddALTERA = 5846, OpArbitraryFloatAddINTEL = 5846, + OpArbitraryFloatSubALTERA = 5847, OpArbitraryFloatSubINTEL = 5847, + OpArbitraryFloatMulALTERA = 5848, OpArbitraryFloatMulINTEL = 5848, + OpArbitraryFloatDivALTERA = 5849, OpArbitraryFloatDivINTEL = 5849, + OpArbitraryFloatGTALTERA = 5850, OpArbitraryFloatGTINTEL = 5850, + OpArbitraryFloatGEALTERA = 5851, OpArbitraryFloatGEINTEL = 5851, + OpArbitraryFloatLTALTERA = 5852, OpArbitraryFloatLTINTEL = 5852, + OpArbitraryFloatLEALTERA = 5853, OpArbitraryFloatLEINTEL = 5853, + OpArbitraryFloatEQALTERA = 5854, OpArbitraryFloatEQINTEL = 5854, + OpArbitraryFloatRecipALTERA = 5855, OpArbitraryFloatRecipINTEL = 5855, + OpArbitraryFloatRSqrtALTERA = 5856, OpArbitraryFloatRSqrtINTEL = 5856, + OpArbitraryFloatCbrtALTERA = 5857, OpArbitraryFloatCbrtINTEL = 5857, + OpArbitraryFloatHypotALTERA = 5858, OpArbitraryFloatHypotINTEL = 5858, + OpArbitraryFloatSqrtALTERA = 5859, OpArbitraryFloatSqrtINTEL = 5859, OpArbitraryFloatLogINTEL = 5860, OpArbitraryFloatLog2INTEL = 5861, @@ -2429,21 +2534,37 @@ public enum Op OpAliasDomainDeclINTEL = 5911, OpAliasScopeDeclINTEL = 5912, OpAliasScopeListDeclINTEL = 5913, + OpFixedSqrtALTERA = 5923, OpFixedSqrtINTEL = 5923, + OpFixedRecipALTERA = 5924, OpFixedRecipINTEL = 5924, + OpFixedRsqrtALTERA = 5925, OpFixedRsqrtINTEL = 5925, + OpFixedSinALTERA = 5926, OpFixedSinINTEL = 5926, + OpFixedCosALTERA = 5927, OpFixedCosINTEL = 5927, + OpFixedSinCosALTERA = 5928, OpFixedSinCosINTEL = 5928, + OpFixedSinPiALTERA = 5929, OpFixedSinPiINTEL = 5929, + OpFixedCosPiALTERA = 5930, OpFixedCosPiINTEL = 5930, + OpFixedSinCosPiALTERA = 5931, OpFixedSinCosPiINTEL = 5931, + OpFixedLogALTERA = 5932, OpFixedLogINTEL = 5932, + OpFixedExpALTERA = 5933, OpFixedExpINTEL = 5933, + OpPtrCastToCrossWorkgroupALTERA = 5934, OpPtrCastToCrossWorkgroupINTEL = 5934, + OpCrossWorkgroupCastToPtrALTERA = 5938, OpCrossWorkgroupCastToPtrINTEL = 5938, + OpReadPipeBlockingALTERA = 5946, OpReadPipeBlockingINTEL = 5946, + OpWritePipeBlockingALTERA = 5947, OpWritePipeBlockingINTEL = 5947, + OpFPGARegALTERA = 5949, OpFPGARegINTEL = 5949, OpRayQueryGetRayTMinKHR = 6016, OpRayQueryGetRayFlagsKHR = 6017, @@ -2473,10 +2594,15 @@ public enum Op OpControlBarrierArriveINTEL = 6142, OpControlBarrierWaitINTEL = 6143, OpArithmeticFenceEXT = 6145, + OpTaskSequenceCreateALTERA = 6163, OpTaskSequenceCreateINTEL = 6163, + OpTaskSequenceAsyncALTERA = 6164, OpTaskSequenceAsyncINTEL = 6164, + OpTaskSequenceGetALTERA = 6165, OpTaskSequenceGetINTEL = 6165, + OpTaskSequenceReleaseALTERA = 6166, OpTaskSequenceReleaseINTEL = 6166, + OpTypeTaskSequenceALTERA = 6199, OpTypeTaskSequenceINTEL = 6199, OpSubgroupBlockPrefetchINTEL = 6221, OpSubgroup2DBlockLoadINTEL = 6231, diff --git a/include/spirv/unified1/spirv.h b/include/spirv/unified1/spirv.h index 57757c998..b8cca13b6 100644 --- a/include/spirv/unified1/spirv.h +++ b/include/spirv/unified1/spirv.h @@ -251,7 +251,9 @@ typedef enum SpvStorageClass_ { SpvStorageClassHitObjectAttributeNV = 5385, SpvStorageClassTaskPayloadWorkgroupEXT = 5402, SpvStorageClassCodeSectionINTEL = 5605, + SpvStorageClassDeviceOnlyALTERA = 5936, SpvStorageClassDeviceOnlyINTEL = 5936, + SpvStorageClassHostOnlyALTERA = 5937, SpvStorageClassHostOnlyINTEL = 5937, SpvStorageClassMax = 0x7fffffff, } SpvStorageClass; @@ -490,6 +492,7 @@ typedef enum SpvFunctionParameterAttribute_ { SpvFunctionParameterAttributeNoCapture = 5, SpvFunctionParameterAttributeNoWrite = 6, SpvFunctionParameterAttributeNoReadWrite = 7, + SpvFunctionParameterAttributeRuntimeAlignedALTERA = 5940, SpvFunctionParameterAttributeRuntimeAlignedINTEL = 5940, SpvFunctionParameterAttributeMax = 0x7fffffff, } SpvFunctionParameterAttribute; @@ -594,54 +597,95 @@ typedef enum SpvDecoration_ { SpvDecorationUserTypeGOOGLE = 5636, SpvDecorationFunctionRoundingModeINTEL = 5822, SpvDecorationFunctionDenormModeINTEL = 5823, + SpvDecorationRegisterALTERA = 5825, SpvDecorationRegisterINTEL = 5825, + SpvDecorationMemoryALTERA = 5826, SpvDecorationMemoryINTEL = 5826, + SpvDecorationNumbanksALTERA = 5827, SpvDecorationNumbanksINTEL = 5827, + SpvDecorationBankwidthALTERA = 5828, SpvDecorationBankwidthINTEL = 5828, + SpvDecorationMaxPrivateCopiesALTERA = 5829, SpvDecorationMaxPrivateCopiesINTEL = 5829, + SpvDecorationSinglepumpALTERA = 5830, SpvDecorationSinglepumpINTEL = 5830, + SpvDecorationDoublepumpALTERA = 5831, SpvDecorationDoublepumpINTEL = 5831, + SpvDecorationMaxReplicatesALTERA = 5832, SpvDecorationMaxReplicatesINTEL = 5832, + SpvDecorationSimpleDualPortALTERA = 5833, SpvDecorationSimpleDualPortINTEL = 5833, + SpvDecorationMergeALTERA = 5834, SpvDecorationMergeINTEL = 5834, + SpvDecorationBankBitsALTERA = 5835, SpvDecorationBankBitsINTEL = 5835, + SpvDecorationForcePow2DepthALTERA = 5836, SpvDecorationForcePow2DepthINTEL = 5836, + SpvDecorationStridesizeALTERA = 5883, SpvDecorationStridesizeINTEL = 5883, + SpvDecorationWordsizeALTERA = 5884, SpvDecorationWordsizeINTEL = 5884, + SpvDecorationTrueDualPortALTERA = 5885, SpvDecorationTrueDualPortINTEL = 5885, + SpvDecorationBurstCoalesceALTERA = 5899, SpvDecorationBurstCoalesceINTEL = 5899, + SpvDecorationCacheSizeALTERA = 5900, SpvDecorationCacheSizeINTEL = 5900, + SpvDecorationDontStaticallyCoalesceALTERA = 5901, SpvDecorationDontStaticallyCoalesceINTEL = 5901, + SpvDecorationPrefetchALTERA = 5902, SpvDecorationPrefetchINTEL = 5902, + SpvDecorationStallEnableALTERA = 5905, SpvDecorationStallEnableINTEL = 5905, + SpvDecorationFuseLoopsInFunctionALTERA = 5907, SpvDecorationFuseLoopsInFunctionINTEL = 5907, + SpvDecorationMathOpDSPModeALTERA = 5909, SpvDecorationMathOpDSPModeINTEL = 5909, SpvDecorationAliasScopeINTEL = 5914, SpvDecorationNoAliasINTEL = 5915, + SpvDecorationInitiationIntervalALTERA = 5917, SpvDecorationInitiationIntervalINTEL = 5917, + SpvDecorationMaxConcurrencyALTERA = 5918, SpvDecorationMaxConcurrencyINTEL = 5918, + SpvDecorationPipelineEnableALTERA = 5919, SpvDecorationPipelineEnableINTEL = 5919, + SpvDecorationBufferLocationALTERA = 5921, SpvDecorationBufferLocationINTEL = 5921, + SpvDecorationIOPipeStorageALTERA = 5944, SpvDecorationIOPipeStorageINTEL = 5944, SpvDecorationFunctionFloatingPointModeINTEL = 6080, SpvDecorationSingleElementVectorINTEL = 6085, SpvDecorationVectorComputeCallableFunctionINTEL = 6087, SpvDecorationMediaBlockIOINTEL = 6140, + SpvDecorationStallFreeALTERA = 6151, SpvDecorationStallFreeINTEL = 6151, SpvDecorationFPMaxErrorDecorationINTEL = 6170, + SpvDecorationLatencyControlLabelALTERA = 6172, SpvDecorationLatencyControlLabelINTEL = 6172, + SpvDecorationLatencyControlConstraintALTERA = 6173, SpvDecorationLatencyControlConstraintINTEL = 6173, + SpvDecorationConduitKernelArgumentALTERA = 6175, SpvDecorationConduitKernelArgumentINTEL = 6175, + SpvDecorationRegisterMapKernelArgumentALTERA = 6176, SpvDecorationRegisterMapKernelArgumentINTEL = 6176, + SpvDecorationMMHostInterfaceAddressWidthALTERA = 6177, SpvDecorationMMHostInterfaceAddressWidthINTEL = 6177, + SpvDecorationMMHostInterfaceDataWidthALTERA = 6178, SpvDecorationMMHostInterfaceDataWidthINTEL = 6178, + SpvDecorationMMHostInterfaceLatencyALTERA = 6179, SpvDecorationMMHostInterfaceLatencyINTEL = 6179, + SpvDecorationMMHostInterfaceReadWriteModeALTERA = 6180, SpvDecorationMMHostInterfaceReadWriteModeINTEL = 6180, + SpvDecorationMMHostInterfaceMaxBurstALTERA = 6181, SpvDecorationMMHostInterfaceMaxBurstINTEL = 6181, + SpvDecorationMMHostInterfaceWaitRequestALTERA = 6182, SpvDecorationMMHostInterfaceWaitRequestINTEL = 6182, + SpvDecorationStableKernelArgumentALTERA = 6183, SpvDecorationStableKernelArgumentINTEL = 6183, SpvDecorationHostAccessINTEL = 6188, + SpvDecorationInitModeALTERA = 6190, SpvDecorationInitModeINTEL = 6190, + SpvDecorationImplementInRegisterMapALTERA = 6191, SpvDecorationImplementInRegisterMapINTEL = 6191, SpvDecorationConditionalINTEL = 6247, SpvDecorationCacheControlLoadINTEL = 6442, @@ -823,15 +867,25 @@ typedef enum SpvLoopControlShift_ { SpvLoopControlIterationMultipleShift = 6, SpvLoopControlPeelCountShift = 7, SpvLoopControlPartialCountShift = 8, + SpvLoopControlInitiationIntervalALTERAShift = 16, SpvLoopControlInitiationIntervalINTELShift = 16, + SpvLoopControlMaxConcurrencyALTERAShift = 17, SpvLoopControlMaxConcurrencyINTELShift = 17, + SpvLoopControlDependencyArrayALTERAShift = 18, SpvLoopControlDependencyArrayINTELShift = 18, + SpvLoopControlPipelineEnableALTERAShift = 19, SpvLoopControlPipelineEnableINTELShift = 19, + SpvLoopControlLoopCoalesceALTERAShift = 20, SpvLoopControlLoopCoalesceINTELShift = 20, + SpvLoopControlMaxInterleavingALTERAShift = 21, SpvLoopControlMaxInterleavingINTELShift = 21, + SpvLoopControlSpeculatedIterationsALTERAShift = 22, SpvLoopControlSpeculatedIterationsINTELShift = 22, + SpvLoopControlNoFusionALTERAShift = 23, SpvLoopControlNoFusionINTELShift = 23, + SpvLoopControlLoopCountALTERAShift = 24, SpvLoopControlLoopCountINTELShift = 24, + SpvLoopControlMaxReinvocationDelayALTERAShift = 25, SpvLoopControlMaxReinvocationDelayINTELShift = 25, SpvLoopControlMax = 0x7fffffff, } SpvLoopControlShift; @@ -847,15 +901,25 @@ typedef enum SpvLoopControlMask_ { SpvLoopControlIterationMultipleMask = 0x00000040, SpvLoopControlPeelCountMask = 0x00000080, SpvLoopControlPartialCountMask = 0x00000100, + SpvLoopControlInitiationIntervalALTERAMask = 0x00010000, SpvLoopControlInitiationIntervalINTELMask = 0x00010000, + SpvLoopControlMaxConcurrencyALTERAMask = 0x00020000, SpvLoopControlMaxConcurrencyINTELMask = 0x00020000, + SpvLoopControlDependencyArrayALTERAMask = 0x00040000, SpvLoopControlDependencyArrayINTELMask = 0x00040000, + SpvLoopControlPipelineEnableALTERAMask = 0x00080000, SpvLoopControlPipelineEnableINTELMask = 0x00080000, + SpvLoopControlLoopCoalesceALTERAMask = 0x00100000, SpvLoopControlLoopCoalesceINTELMask = 0x00100000, + SpvLoopControlMaxInterleavingALTERAMask = 0x00200000, SpvLoopControlMaxInterleavingINTELMask = 0x00200000, + SpvLoopControlSpeculatedIterationsALTERAMask = 0x00400000, SpvLoopControlSpeculatedIterationsINTELMask = 0x00400000, + SpvLoopControlNoFusionALTERAMask = 0x00800000, SpvLoopControlNoFusionINTELMask = 0x00800000, + SpvLoopControlLoopCountALTERAMask = 0x01000000, SpvLoopControlLoopCountINTELMask = 0x01000000, + SpvLoopControlMaxReinvocationDelayALTERAMask = 0x02000000, SpvLoopControlMaxReinvocationDelayINTELMask = 0x02000000, } SpvLoopControlMask; @@ -1227,26 +1291,42 @@ typedef enum SpvCapability_ { SpvCapabilitySubgroupAvcMotionEstimationChromaINTEL = 5698, SpvCapabilityVariableLengthArrayINTEL = 5817, SpvCapabilityFunctionFloatControlINTEL = 5821, + SpvCapabilityFPGAMemoryAttributesALTERA = 5824, SpvCapabilityFPGAMemoryAttributesINTEL = 5824, SpvCapabilityFPFastMathModeINTEL = 5837, + SpvCapabilityArbitraryPrecisionIntegersALTERA = 5844, SpvCapabilityArbitraryPrecisionIntegersINTEL = 5844, + SpvCapabilityArbitraryPrecisionFloatingPointALTERA = 5845, SpvCapabilityArbitraryPrecisionFloatingPointINTEL = 5845, SpvCapabilityUnstructuredLoopControlsINTEL = 5886, + SpvCapabilityFPGALoopControlsALTERA = 5888, SpvCapabilityFPGALoopControlsINTEL = 5888, SpvCapabilityKernelAttributesINTEL = 5892, SpvCapabilityFPGAKernelAttributesINTEL = 5897, + SpvCapabilityFPGAMemoryAccessesALTERA = 5898, SpvCapabilityFPGAMemoryAccessesINTEL = 5898, + SpvCapabilityFPGAClusterAttributesALTERA = 5904, SpvCapabilityFPGAClusterAttributesINTEL = 5904, + SpvCapabilityLoopFuseALTERA = 5906, SpvCapabilityLoopFuseINTEL = 5906, + SpvCapabilityFPGADSPControlALTERA = 5908, SpvCapabilityFPGADSPControlINTEL = 5908, SpvCapabilityMemoryAccessAliasingINTEL = 5910, + SpvCapabilityFPGAInvocationPipeliningAttributesALTERA = 5916, SpvCapabilityFPGAInvocationPipeliningAttributesINTEL = 5916, + SpvCapabilityFPGABufferLocationALTERA = 5920, SpvCapabilityFPGABufferLocationINTEL = 5920, + SpvCapabilityArbitraryPrecisionFixedPointALTERA = 5922, SpvCapabilityArbitraryPrecisionFixedPointINTEL = 5922, + SpvCapabilityUSMStorageClassesALTERA = 5935, SpvCapabilityUSMStorageClassesINTEL = 5935, + SpvCapabilityRuntimeAlignedAttributeALTERA = 5939, SpvCapabilityRuntimeAlignedAttributeINTEL = 5939, + SpvCapabilityIOPipesALTERA = 5943, SpvCapabilityIOPipesINTEL = 5943, + SpvCapabilityBlockingPipesALTERA = 5945, SpvCapabilityBlockingPipesINTEL = 5945, + SpvCapabilityFPGARegALTERA = 5948, SpvCapabilityFPGARegINTEL = 5948, SpvCapabilityDotProductInputAll = 6016, SpvCapabilityDotProductInputAllKHR = 6016, @@ -1273,13 +1353,18 @@ typedef enum SpvCapability_ { SpvCapabilityBFloat16ConversionINTEL = 6115, SpvCapabilitySplitBarrierINTEL = 6141, SpvCapabilityArithmeticFenceEXT = 6144, + SpvCapabilityFPGAClusterAttributesV2ALTERA = 6150, SpvCapabilityFPGAClusterAttributesV2INTEL = 6150, SpvCapabilityFPGAKernelAttributesv2INTEL = 6161, + SpvCapabilityTaskSequenceALTERA = 6162, SpvCapabilityTaskSequenceINTEL = 6162, SpvCapabilityFPMaxErrorINTEL = 6169, + SpvCapabilityFPGALatencyControlALTERA = 6171, SpvCapabilityFPGALatencyControlINTEL = 6171, + SpvCapabilityFPGAArgumentInterfacesALTERA = 6174, SpvCapabilityFPGAArgumentInterfacesINTEL = 6174, SpvCapabilityGlobalVariableHostAccessINTEL = 6187, + SpvCapabilityGlobalVariableFPGADecorationsALTERA = 6189, SpvCapabilityGlobalVariableFPGADecorationsINTEL = 6189, SpvCapabilitySubgroupBufferPrefetchINTEL = 6220, SpvCapabilitySubgroup2DBlockIOINTEL = 6228, @@ -1491,7 +1576,9 @@ typedef enum SpvTensorOperandsMask_ { } SpvTensorOperandsMask; typedef enum SpvInitializationModeQualifier_ { + SpvInitializationModeQualifierInitOnDeviceReprogramALTERA = 0, SpvInitializationModeQualifierInitOnDeviceReprogramINTEL = 0, + SpvInitializationModeQualifierInitOnDeviceResetALTERA = 1, SpvInitializationModeQualifierInitOnDeviceResetINTEL = 1, SpvInitializationModeQualifierMax = 0x7fffffff, } SpvInitializationModeQualifier; @@ -2319,23 +2406,41 @@ typedef enum SpvOp_ { SpvOpVariableLengthArrayINTEL = 5818, SpvOpSaveMemoryINTEL = 5819, SpvOpRestoreMemoryINTEL = 5820, + SpvOpArbitraryFloatSinCosPiALTERA = 5840, SpvOpArbitraryFloatSinCosPiINTEL = 5840, + SpvOpArbitraryFloatCastALTERA = 5841, SpvOpArbitraryFloatCastINTEL = 5841, + SpvOpArbitraryFloatCastFromIntALTERA = 5842, SpvOpArbitraryFloatCastFromIntINTEL = 5842, + SpvOpArbitraryFloatCastToIntALTERA = 5843, SpvOpArbitraryFloatCastToIntINTEL = 5843, + SpvOpArbitraryFloatAddALTERA = 5846, SpvOpArbitraryFloatAddINTEL = 5846, + SpvOpArbitraryFloatSubALTERA = 5847, SpvOpArbitraryFloatSubINTEL = 5847, + SpvOpArbitraryFloatMulALTERA = 5848, SpvOpArbitraryFloatMulINTEL = 5848, + SpvOpArbitraryFloatDivALTERA = 5849, SpvOpArbitraryFloatDivINTEL = 5849, + SpvOpArbitraryFloatGTALTERA = 5850, SpvOpArbitraryFloatGTINTEL = 5850, + SpvOpArbitraryFloatGEALTERA = 5851, SpvOpArbitraryFloatGEINTEL = 5851, + SpvOpArbitraryFloatLTALTERA = 5852, SpvOpArbitraryFloatLTINTEL = 5852, + SpvOpArbitraryFloatLEALTERA = 5853, SpvOpArbitraryFloatLEINTEL = 5853, + SpvOpArbitraryFloatEQALTERA = 5854, SpvOpArbitraryFloatEQINTEL = 5854, + SpvOpArbitraryFloatRecipALTERA = 5855, SpvOpArbitraryFloatRecipINTEL = 5855, + SpvOpArbitraryFloatRSqrtALTERA = 5856, SpvOpArbitraryFloatRSqrtINTEL = 5856, + SpvOpArbitraryFloatCbrtALTERA = 5857, SpvOpArbitraryFloatCbrtINTEL = 5857, + SpvOpArbitraryFloatHypotALTERA = 5858, SpvOpArbitraryFloatHypotINTEL = 5858, + SpvOpArbitraryFloatSqrtALTERA = 5859, SpvOpArbitraryFloatSqrtINTEL = 5859, SpvOpArbitraryFloatLogINTEL = 5860, SpvOpArbitraryFloatLog2INTEL = 5861, @@ -2364,21 +2469,37 @@ typedef enum SpvOp_ { SpvOpAliasDomainDeclINTEL = 5911, SpvOpAliasScopeDeclINTEL = 5912, SpvOpAliasScopeListDeclINTEL = 5913, + SpvOpFixedSqrtALTERA = 5923, SpvOpFixedSqrtINTEL = 5923, + SpvOpFixedRecipALTERA = 5924, SpvOpFixedRecipINTEL = 5924, + SpvOpFixedRsqrtALTERA = 5925, SpvOpFixedRsqrtINTEL = 5925, + SpvOpFixedSinALTERA = 5926, SpvOpFixedSinINTEL = 5926, + SpvOpFixedCosALTERA = 5927, SpvOpFixedCosINTEL = 5927, + SpvOpFixedSinCosALTERA = 5928, SpvOpFixedSinCosINTEL = 5928, + SpvOpFixedSinPiALTERA = 5929, SpvOpFixedSinPiINTEL = 5929, + SpvOpFixedCosPiALTERA = 5930, SpvOpFixedCosPiINTEL = 5930, + SpvOpFixedSinCosPiALTERA = 5931, SpvOpFixedSinCosPiINTEL = 5931, + SpvOpFixedLogALTERA = 5932, SpvOpFixedLogINTEL = 5932, + SpvOpFixedExpALTERA = 5933, SpvOpFixedExpINTEL = 5933, + SpvOpPtrCastToCrossWorkgroupALTERA = 5934, SpvOpPtrCastToCrossWorkgroupINTEL = 5934, + SpvOpCrossWorkgroupCastToPtrALTERA = 5938, SpvOpCrossWorkgroupCastToPtrINTEL = 5938, + SpvOpReadPipeBlockingALTERA = 5946, SpvOpReadPipeBlockingINTEL = 5946, + SpvOpWritePipeBlockingALTERA = 5947, SpvOpWritePipeBlockingINTEL = 5947, + SpvOpFPGARegALTERA = 5949, SpvOpFPGARegINTEL = 5949, SpvOpRayQueryGetRayTMinKHR = 6016, SpvOpRayQueryGetRayFlagsKHR = 6017, @@ -2408,10 +2529,15 @@ typedef enum SpvOp_ { SpvOpControlBarrierArriveINTEL = 6142, SpvOpControlBarrierWaitINTEL = 6143, SpvOpArithmeticFenceEXT = 6145, + SpvOpTaskSequenceCreateALTERA = 6163, SpvOpTaskSequenceCreateINTEL = 6163, + SpvOpTaskSequenceAsyncALTERA = 6164, SpvOpTaskSequenceAsyncINTEL = 6164, + SpvOpTaskSequenceGetALTERA = 6165, SpvOpTaskSequenceGetINTEL = 6165, + SpvOpTaskSequenceReleaseALTERA = 6166, SpvOpTaskSequenceReleaseINTEL = 6166, + SpvOpTypeTaskSequenceALTERA = 6199, SpvOpTypeTaskSequenceINTEL = 6199, SpvOpSubgroupBlockPrefetchINTEL = 6221, SpvOpSubgroup2DBlockLoadINTEL = 6231, @@ -3152,24 +3278,24 @@ inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultTy case SpvOpVariableLengthArrayINTEL: *hasResult = true; *hasResultType = true; break; case SpvOpSaveMemoryINTEL: *hasResult = true; *hasResultType = true; break; case SpvOpRestoreMemoryINTEL: *hasResult = false; *hasResultType = false; break; - case SpvOpArbitraryFloatSinCosPiINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpArbitraryFloatCastINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpArbitraryFloatCastFromIntINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpArbitraryFloatCastToIntINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpArbitraryFloatAddINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpArbitraryFloatSubINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpArbitraryFloatMulINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpArbitraryFloatDivINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpArbitraryFloatGTINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpArbitraryFloatGEINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpArbitraryFloatLTINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpArbitraryFloatLEINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpArbitraryFloatEQINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpArbitraryFloatRecipINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpArbitraryFloatRSqrtINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpArbitraryFloatCbrtINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpArbitraryFloatHypotINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpArbitraryFloatSqrtINTEL: *hasResult = true; *hasResultType = true; break; + case SpvOpArbitraryFloatSinCosPiALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpArbitraryFloatCastALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpArbitraryFloatCastFromIntALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpArbitraryFloatCastToIntALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpArbitraryFloatAddALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpArbitraryFloatSubALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpArbitraryFloatMulALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpArbitraryFloatDivALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpArbitraryFloatGTALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpArbitraryFloatGEALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpArbitraryFloatLTALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpArbitraryFloatLEALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpArbitraryFloatEQALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpArbitraryFloatRecipALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpArbitraryFloatRSqrtALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpArbitraryFloatCbrtALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpArbitraryFloatHypotALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpArbitraryFloatSqrtALTERA: *hasResult = true; *hasResultType = true; break; case SpvOpArbitraryFloatLogINTEL: *hasResult = true; *hasResultType = true; break; case SpvOpArbitraryFloatLog2INTEL: *hasResult = true; *hasResultType = true; break; case SpvOpArbitraryFloatLog10INTEL: *hasResult = true; *hasResultType = true; break; @@ -3197,22 +3323,22 @@ inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultTy case SpvOpAliasDomainDeclINTEL: *hasResult = true; *hasResultType = false; break; case SpvOpAliasScopeDeclINTEL: *hasResult = true; *hasResultType = false; break; case SpvOpAliasScopeListDeclINTEL: *hasResult = true; *hasResultType = false; break; - case SpvOpFixedSqrtINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpFixedRecipINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpFixedRsqrtINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpFixedSinINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpFixedCosINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpFixedSinCosINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpFixedSinPiINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpFixedCosPiINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpFixedSinCosPiINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpFixedLogINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpFixedExpINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpPtrCastToCrossWorkgroupINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpCrossWorkgroupCastToPtrINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpReadPipeBlockingINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpWritePipeBlockingINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpFPGARegINTEL: *hasResult = true; *hasResultType = true; break; + case SpvOpFixedSqrtALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpFixedRecipALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpFixedRsqrtALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpFixedSinALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpFixedCosALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpFixedSinCosALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpFixedSinPiALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpFixedCosPiALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpFixedSinCosPiALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpFixedLogALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpFixedExpALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpPtrCastToCrossWorkgroupALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpCrossWorkgroupCastToPtrALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpReadPipeBlockingALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpWritePipeBlockingALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpFPGARegALTERA: *hasResult = true; *hasResultType = true; break; case SpvOpRayQueryGetRayTMinKHR: *hasResult = true; *hasResultType = true; break; case SpvOpRayQueryGetRayFlagsKHR: *hasResult = true; *hasResultType = true; break; case SpvOpRayQueryGetIntersectionTKHR: *hasResult = true; *hasResultType = true; break; @@ -3241,11 +3367,11 @@ inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultTy case SpvOpControlBarrierArriveINTEL: *hasResult = false; *hasResultType = false; break; case SpvOpControlBarrierWaitINTEL: *hasResult = false; *hasResultType = false; break; case SpvOpArithmeticFenceEXT: *hasResult = true; *hasResultType = true; break; - case SpvOpTaskSequenceCreateINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpTaskSequenceAsyncINTEL: *hasResult = false; *hasResultType = false; break; - case SpvOpTaskSequenceGetINTEL: *hasResult = true; *hasResultType = true; break; - case SpvOpTaskSequenceReleaseINTEL: *hasResult = false; *hasResultType = false; break; - case SpvOpTypeTaskSequenceINTEL: *hasResult = true; *hasResultType = false; break; + case SpvOpTaskSequenceCreateALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpTaskSequenceAsyncALTERA: *hasResult = false; *hasResultType = false; break; + case SpvOpTaskSequenceGetALTERA: *hasResult = true; *hasResultType = true; break; + case SpvOpTaskSequenceReleaseALTERA: *hasResult = false; *hasResultType = false; break; + case SpvOpTypeTaskSequenceALTERA: *hasResult = true; *hasResultType = false; break; case SpvOpSubgroupBlockPrefetchINTEL: *hasResult = false; *hasResultType = false; break; case SpvOpSubgroup2DBlockLoadINTEL: *hasResult = false; *hasResultType = false; break; case SpvOpSubgroup2DBlockLoadTransformINTEL: *hasResult = false; *hasResultType = false; break; @@ -3472,8 +3598,8 @@ inline const char* SpvStorageClassToString(SpvStorageClass value) { case SpvStorageClassHitObjectAttributeNV: return "HitObjectAttributeNV"; case SpvStorageClassTaskPayloadWorkgroupEXT: return "TaskPayloadWorkgroupEXT"; case SpvStorageClassCodeSectionINTEL: return "CodeSectionINTEL"; - case SpvStorageClassDeviceOnlyINTEL: return "DeviceOnlyINTEL"; - case SpvStorageClassHostOnlyINTEL: return "HostOnlyINTEL"; + case SpvStorageClassDeviceOnlyALTERA: return "DeviceOnlyALTERA"; + case SpvStorageClassHostOnlyALTERA: return "HostOnlyALTERA"; default: return "Unknown"; } } @@ -3655,7 +3781,7 @@ inline const char* SpvFunctionParameterAttributeToString(SpvFunctionParameterAtt case SpvFunctionParameterAttributeNoCapture: return "NoCapture"; case SpvFunctionParameterAttributeNoWrite: return "NoWrite"; case SpvFunctionParameterAttributeNoReadWrite: return "NoReadWrite"; - case SpvFunctionParameterAttributeRuntimeAlignedINTEL: return "RuntimeAlignedINTEL"; + case SpvFunctionParameterAttributeRuntimeAlignedALTERA: return "RuntimeAlignedALTERA"; default: return "Unknown"; } } @@ -3754,55 +3880,55 @@ inline const char* SpvDecorationToString(SpvDecoration value) { case SpvDecorationUserTypeGOOGLE: return "UserTypeGOOGLE"; case SpvDecorationFunctionRoundingModeINTEL: return "FunctionRoundingModeINTEL"; case SpvDecorationFunctionDenormModeINTEL: return "FunctionDenormModeINTEL"; - case SpvDecorationRegisterINTEL: return "RegisterINTEL"; - case SpvDecorationMemoryINTEL: return "MemoryINTEL"; - case SpvDecorationNumbanksINTEL: return "NumbanksINTEL"; - case SpvDecorationBankwidthINTEL: return "BankwidthINTEL"; - case SpvDecorationMaxPrivateCopiesINTEL: return "MaxPrivateCopiesINTEL"; - case SpvDecorationSinglepumpINTEL: return "SinglepumpINTEL"; - case SpvDecorationDoublepumpINTEL: return "DoublepumpINTEL"; - case SpvDecorationMaxReplicatesINTEL: return "MaxReplicatesINTEL"; - case SpvDecorationSimpleDualPortINTEL: return "SimpleDualPortINTEL"; - case SpvDecorationMergeINTEL: return "MergeINTEL"; - case SpvDecorationBankBitsINTEL: return "BankBitsINTEL"; - case SpvDecorationForcePow2DepthINTEL: return "ForcePow2DepthINTEL"; - case SpvDecorationStridesizeINTEL: return "StridesizeINTEL"; - case SpvDecorationWordsizeINTEL: return "WordsizeINTEL"; - case SpvDecorationTrueDualPortINTEL: return "TrueDualPortINTEL"; - case SpvDecorationBurstCoalesceINTEL: return "BurstCoalesceINTEL"; - case SpvDecorationCacheSizeINTEL: return "CacheSizeINTEL"; - case SpvDecorationDontStaticallyCoalesceINTEL: return "DontStaticallyCoalesceINTEL"; - case SpvDecorationPrefetchINTEL: return "PrefetchINTEL"; - case SpvDecorationStallEnableINTEL: return "StallEnableINTEL"; - case SpvDecorationFuseLoopsInFunctionINTEL: return "FuseLoopsInFunctionINTEL"; - case SpvDecorationMathOpDSPModeINTEL: return "MathOpDSPModeINTEL"; + case SpvDecorationRegisterALTERA: return "RegisterALTERA"; + case SpvDecorationMemoryALTERA: return "MemoryALTERA"; + case SpvDecorationNumbanksALTERA: return "NumbanksALTERA"; + case SpvDecorationBankwidthALTERA: return "BankwidthALTERA"; + case SpvDecorationMaxPrivateCopiesALTERA: return "MaxPrivateCopiesALTERA"; + case SpvDecorationSinglepumpALTERA: return "SinglepumpALTERA"; + case SpvDecorationDoublepumpALTERA: return "DoublepumpALTERA"; + case SpvDecorationMaxReplicatesALTERA: return "MaxReplicatesALTERA"; + case SpvDecorationSimpleDualPortALTERA: return "SimpleDualPortALTERA"; + case SpvDecorationMergeALTERA: return "MergeALTERA"; + case SpvDecorationBankBitsALTERA: return "BankBitsALTERA"; + case SpvDecorationForcePow2DepthALTERA: return "ForcePow2DepthALTERA"; + case SpvDecorationStridesizeALTERA: return "StridesizeALTERA"; + case SpvDecorationWordsizeALTERA: return "WordsizeALTERA"; + case SpvDecorationTrueDualPortALTERA: return "TrueDualPortALTERA"; + case SpvDecorationBurstCoalesceALTERA: return "BurstCoalesceALTERA"; + case SpvDecorationCacheSizeALTERA: return "CacheSizeALTERA"; + case SpvDecorationDontStaticallyCoalesceALTERA: return "DontStaticallyCoalesceALTERA"; + case SpvDecorationPrefetchALTERA: return "PrefetchALTERA"; + case SpvDecorationStallEnableALTERA: return "StallEnableALTERA"; + case SpvDecorationFuseLoopsInFunctionALTERA: return "FuseLoopsInFunctionALTERA"; + case SpvDecorationMathOpDSPModeALTERA: return "MathOpDSPModeALTERA"; case SpvDecorationAliasScopeINTEL: return "AliasScopeINTEL"; case SpvDecorationNoAliasINTEL: return "NoAliasINTEL"; - case SpvDecorationInitiationIntervalINTEL: return "InitiationIntervalINTEL"; - case SpvDecorationMaxConcurrencyINTEL: return "MaxConcurrencyINTEL"; - case SpvDecorationPipelineEnableINTEL: return "PipelineEnableINTEL"; - case SpvDecorationBufferLocationINTEL: return "BufferLocationINTEL"; - case SpvDecorationIOPipeStorageINTEL: return "IOPipeStorageINTEL"; + case SpvDecorationInitiationIntervalALTERA: return "InitiationIntervalALTERA"; + case SpvDecorationMaxConcurrencyALTERA: return "MaxConcurrencyALTERA"; + case SpvDecorationPipelineEnableALTERA: return "PipelineEnableALTERA"; + case SpvDecorationBufferLocationALTERA: return "BufferLocationALTERA"; + case SpvDecorationIOPipeStorageALTERA: return "IOPipeStorageALTERA"; case SpvDecorationFunctionFloatingPointModeINTEL: return "FunctionFloatingPointModeINTEL"; case SpvDecorationSingleElementVectorINTEL: return "SingleElementVectorINTEL"; case SpvDecorationVectorComputeCallableFunctionINTEL: return "VectorComputeCallableFunctionINTEL"; case SpvDecorationMediaBlockIOINTEL: return "MediaBlockIOINTEL"; - case SpvDecorationStallFreeINTEL: return "StallFreeINTEL"; + case SpvDecorationStallFreeALTERA: return "StallFreeALTERA"; case SpvDecorationFPMaxErrorDecorationINTEL: return "FPMaxErrorDecorationINTEL"; - case SpvDecorationLatencyControlLabelINTEL: return "LatencyControlLabelINTEL"; - case SpvDecorationLatencyControlConstraintINTEL: return "LatencyControlConstraintINTEL"; - case SpvDecorationConduitKernelArgumentINTEL: return "ConduitKernelArgumentINTEL"; - case SpvDecorationRegisterMapKernelArgumentINTEL: return "RegisterMapKernelArgumentINTEL"; - case SpvDecorationMMHostInterfaceAddressWidthINTEL: return "MMHostInterfaceAddressWidthINTEL"; - case SpvDecorationMMHostInterfaceDataWidthINTEL: return "MMHostInterfaceDataWidthINTEL"; - case SpvDecorationMMHostInterfaceLatencyINTEL: return "MMHostInterfaceLatencyINTEL"; - case SpvDecorationMMHostInterfaceReadWriteModeINTEL: return "MMHostInterfaceReadWriteModeINTEL"; - case SpvDecorationMMHostInterfaceMaxBurstINTEL: return "MMHostInterfaceMaxBurstINTEL"; - case SpvDecorationMMHostInterfaceWaitRequestINTEL: return "MMHostInterfaceWaitRequestINTEL"; - case SpvDecorationStableKernelArgumentINTEL: return "StableKernelArgumentINTEL"; + case SpvDecorationLatencyControlLabelALTERA: return "LatencyControlLabelALTERA"; + case SpvDecorationLatencyControlConstraintALTERA: return "LatencyControlConstraintALTERA"; + case SpvDecorationConduitKernelArgumentALTERA: return "ConduitKernelArgumentALTERA"; + case SpvDecorationRegisterMapKernelArgumentALTERA: return "RegisterMapKernelArgumentALTERA"; + case SpvDecorationMMHostInterfaceAddressWidthALTERA: return "MMHostInterfaceAddressWidthALTERA"; + case SpvDecorationMMHostInterfaceDataWidthALTERA: return "MMHostInterfaceDataWidthALTERA"; + case SpvDecorationMMHostInterfaceLatencyALTERA: return "MMHostInterfaceLatencyALTERA"; + case SpvDecorationMMHostInterfaceReadWriteModeALTERA: return "MMHostInterfaceReadWriteModeALTERA"; + case SpvDecorationMMHostInterfaceMaxBurstALTERA: return "MMHostInterfaceMaxBurstALTERA"; + case SpvDecorationMMHostInterfaceWaitRequestALTERA: return "MMHostInterfaceWaitRequestALTERA"; + case SpvDecorationStableKernelArgumentALTERA: return "StableKernelArgumentALTERA"; case SpvDecorationHostAccessINTEL: return "HostAccessINTEL"; - case SpvDecorationInitModeINTEL: return "InitModeINTEL"; - case SpvDecorationImplementInRegisterMapINTEL: return "ImplementInRegisterMapINTEL"; + case SpvDecorationInitModeALTERA: return "InitModeALTERA"; + case SpvDecorationImplementInRegisterMapALTERA: return "ImplementInRegisterMapALTERA"; case SpvDecorationConditionalINTEL: return "ConditionalINTEL"; case SpvDecorationCacheControlLoadINTEL: return "CacheControlLoadINTEL"; case SpvDecorationCacheControlStoreINTEL: return "CacheControlStoreINTEL"; @@ -4191,27 +4317,27 @@ inline const char* SpvCapabilityToString(SpvCapability value) { case SpvCapabilitySubgroupAvcMotionEstimationChromaINTEL: return "SubgroupAvcMotionEstimationChromaINTEL"; case SpvCapabilityVariableLengthArrayINTEL: return "VariableLengthArrayINTEL"; case SpvCapabilityFunctionFloatControlINTEL: return "FunctionFloatControlINTEL"; - case SpvCapabilityFPGAMemoryAttributesINTEL: return "FPGAMemoryAttributesINTEL"; + case SpvCapabilityFPGAMemoryAttributesALTERA: return "FPGAMemoryAttributesALTERA"; case SpvCapabilityFPFastMathModeINTEL: return "FPFastMathModeINTEL"; - case SpvCapabilityArbitraryPrecisionIntegersINTEL: return "ArbitraryPrecisionIntegersINTEL"; - case SpvCapabilityArbitraryPrecisionFloatingPointINTEL: return "ArbitraryPrecisionFloatingPointINTEL"; + case SpvCapabilityArbitraryPrecisionIntegersALTERA: return "ArbitraryPrecisionIntegersALTERA"; + case SpvCapabilityArbitraryPrecisionFloatingPointALTERA: return "ArbitraryPrecisionFloatingPointALTERA"; case SpvCapabilityUnstructuredLoopControlsINTEL: return "UnstructuredLoopControlsINTEL"; - case SpvCapabilityFPGALoopControlsINTEL: return "FPGALoopControlsINTEL"; + case SpvCapabilityFPGALoopControlsALTERA: return "FPGALoopControlsALTERA"; case SpvCapabilityKernelAttributesINTEL: return "KernelAttributesINTEL"; case SpvCapabilityFPGAKernelAttributesINTEL: return "FPGAKernelAttributesINTEL"; - case SpvCapabilityFPGAMemoryAccessesINTEL: return "FPGAMemoryAccessesINTEL"; - case SpvCapabilityFPGAClusterAttributesINTEL: return "FPGAClusterAttributesINTEL"; - case SpvCapabilityLoopFuseINTEL: return "LoopFuseINTEL"; - case SpvCapabilityFPGADSPControlINTEL: return "FPGADSPControlINTEL"; + case SpvCapabilityFPGAMemoryAccessesALTERA: return "FPGAMemoryAccessesALTERA"; + case SpvCapabilityFPGAClusterAttributesALTERA: return "FPGAClusterAttributesALTERA"; + case SpvCapabilityLoopFuseALTERA: return "LoopFuseALTERA"; + case SpvCapabilityFPGADSPControlALTERA: return "FPGADSPControlALTERA"; case SpvCapabilityMemoryAccessAliasingINTEL: return "MemoryAccessAliasingINTEL"; - case SpvCapabilityFPGAInvocationPipeliningAttributesINTEL: return "FPGAInvocationPipeliningAttributesINTEL"; - case SpvCapabilityFPGABufferLocationINTEL: return "FPGABufferLocationINTEL"; - case SpvCapabilityArbitraryPrecisionFixedPointINTEL: return "ArbitraryPrecisionFixedPointINTEL"; - case SpvCapabilityUSMStorageClassesINTEL: return "USMStorageClassesINTEL"; - case SpvCapabilityRuntimeAlignedAttributeINTEL: return "RuntimeAlignedAttributeINTEL"; - case SpvCapabilityIOPipesINTEL: return "IOPipesINTEL"; - case SpvCapabilityBlockingPipesINTEL: return "BlockingPipesINTEL"; - case SpvCapabilityFPGARegINTEL: return "FPGARegINTEL"; + case SpvCapabilityFPGAInvocationPipeliningAttributesALTERA: return "FPGAInvocationPipeliningAttributesALTERA"; + case SpvCapabilityFPGABufferLocationALTERA: return "FPGABufferLocationALTERA"; + case SpvCapabilityArbitraryPrecisionFixedPointALTERA: return "ArbitraryPrecisionFixedPointALTERA"; + case SpvCapabilityUSMStorageClassesALTERA: return "USMStorageClassesALTERA"; + case SpvCapabilityRuntimeAlignedAttributeALTERA: return "RuntimeAlignedAttributeALTERA"; + case SpvCapabilityIOPipesALTERA: return "IOPipesALTERA"; + case SpvCapabilityBlockingPipesALTERA: return "BlockingPipesALTERA"; + case SpvCapabilityFPGARegALTERA: return "FPGARegALTERA"; case SpvCapabilityDotProductInputAll: return "DotProductInputAll"; case SpvCapabilityDotProductInput4x8Bit: return "DotProductInput4x8Bit"; case SpvCapabilityDotProductInput4x8BitPacked: return "DotProductInput4x8BitPacked"; @@ -4232,14 +4358,14 @@ inline const char* SpvCapabilityToString(SpvCapability value) { case SpvCapabilityBFloat16ConversionINTEL: return "BFloat16ConversionINTEL"; case SpvCapabilitySplitBarrierINTEL: return "SplitBarrierINTEL"; case SpvCapabilityArithmeticFenceEXT: return "ArithmeticFenceEXT"; - case SpvCapabilityFPGAClusterAttributesV2INTEL: return "FPGAClusterAttributesV2INTEL"; + case SpvCapabilityFPGAClusterAttributesV2ALTERA: return "FPGAClusterAttributesV2ALTERA"; case SpvCapabilityFPGAKernelAttributesv2INTEL: return "FPGAKernelAttributesv2INTEL"; - case SpvCapabilityTaskSequenceINTEL: return "TaskSequenceINTEL"; + case SpvCapabilityTaskSequenceALTERA: return "TaskSequenceALTERA"; case SpvCapabilityFPMaxErrorINTEL: return "FPMaxErrorINTEL"; - case SpvCapabilityFPGALatencyControlINTEL: return "FPGALatencyControlINTEL"; - case SpvCapabilityFPGAArgumentInterfacesINTEL: return "FPGAArgumentInterfacesINTEL"; + case SpvCapabilityFPGALatencyControlALTERA: return "FPGALatencyControlALTERA"; + case SpvCapabilityFPGAArgumentInterfacesALTERA: return "FPGAArgumentInterfacesALTERA"; case SpvCapabilityGlobalVariableHostAccessINTEL: return "GlobalVariableHostAccessINTEL"; - case SpvCapabilityGlobalVariableFPGADecorationsINTEL: return "GlobalVariableFPGADecorationsINTEL"; + case SpvCapabilityGlobalVariableFPGADecorationsALTERA: return "GlobalVariableFPGADecorationsALTERA"; case SpvCapabilitySubgroupBufferPrefetchINTEL: return "SubgroupBufferPrefetchINTEL"; case SpvCapabilitySubgroup2DBlockIOINTEL: return "Subgroup2DBlockIOINTEL"; case SpvCapabilitySubgroup2DBlockTransformINTEL: return "Subgroup2DBlockTransformINTEL"; @@ -4363,8 +4489,8 @@ inline const char* SpvTensorClampModeToString(SpvTensorClampMode value) { inline const char* SpvInitializationModeQualifierToString(SpvInitializationModeQualifier value) { switch (value) { - case SpvInitializationModeQualifierInitOnDeviceReprogramINTEL: return "InitOnDeviceReprogramINTEL"; - case SpvInitializationModeQualifierInitOnDeviceResetINTEL: return "InitOnDeviceResetINTEL"; + case SpvInitializationModeQualifierInitOnDeviceReprogramALTERA: return "InitOnDeviceReprogramALTERA"; + case SpvInitializationModeQualifierInitOnDeviceResetALTERA: return "InitOnDeviceResetALTERA"; default: return "Unknown"; } } @@ -5147,24 +5273,24 @@ inline const char* SpvOpToString(SpvOp value) { case SpvOpVariableLengthArrayINTEL: return "OpVariableLengthArrayINTEL"; case SpvOpSaveMemoryINTEL: return "OpSaveMemoryINTEL"; case SpvOpRestoreMemoryINTEL: return "OpRestoreMemoryINTEL"; - case SpvOpArbitraryFloatSinCosPiINTEL: return "OpArbitraryFloatSinCosPiINTEL"; - case SpvOpArbitraryFloatCastINTEL: return "OpArbitraryFloatCastINTEL"; - case SpvOpArbitraryFloatCastFromIntINTEL: return "OpArbitraryFloatCastFromIntINTEL"; - case SpvOpArbitraryFloatCastToIntINTEL: return "OpArbitraryFloatCastToIntINTEL"; - case SpvOpArbitraryFloatAddINTEL: return "OpArbitraryFloatAddINTEL"; - case SpvOpArbitraryFloatSubINTEL: return "OpArbitraryFloatSubINTEL"; - case SpvOpArbitraryFloatMulINTEL: return "OpArbitraryFloatMulINTEL"; - case SpvOpArbitraryFloatDivINTEL: return "OpArbitraryFloatDivINTEL"; - case SpvOpArbitraryFloatGTINTEL: return "OpArbitraryFloatGTINTEL"; - case SpvOpArbitraryFloatGEINTEL: return "OpArbitraryFloatGEINTEL"; - case SpvOpArbitraryFloatLTINTEL: return "OpArbitraryFloatLTINTEL"; - case SpvOpArbitraryFloatLEINTEL: return "OpArbitraryFloatLEINTEL"; - case SpvOpArbitraryFloatEQINTEL: return "OpArbitraryFloatEQINTEL"; - case SpvOpArbitraryFloatRecipINTEL: return "OpArbitraryFloatRecipINTEL"; - case SpvOpArbitraryFloatRSqrtINTEL: return "OpArbitraryFloatRSqrtINTEL"; - case SpvOpArbitraryFloatCbrtINTEL: return "OpArbitraryFloatCbrtINTEL"; - case SpvOpArbitraryFloatHypotINTEL: return "OpArbitraryFloatHypotINTEL"; - case SpvOpArbitraryFloatSqrtINTEL: return "OpArbitraryFloatSqrtINTEL"; + case SpvOpArbitraryFloatSinCosPiALTERA: return "OpArbitraryFloatSinCosPiALTERA"; + case SpvOpArbitraryFloatCastALTERA: return "OpArbitraryFloatCastALTERA"; + case SpvOpArbitraryFloatCastFromIntALTERA: return "OpArbitraryFloatCastFromIntALTERA"; + case SpvOpArbitraryFloatCastToIntALTERA: return "OpArbitraryFloatCastToIntALTERA"; + case SpvOpArbitraryFloatAddALTERA: return "OpArbitraryFloatAddALTERA"; + case SpvOpArbitraryFloatSubALTERA: return "OpArbitraryFloatSubALTERA"; + case SpvOpArbitraryFloatMulALTERA: return "OpArbitraryFloatMulALTERA"; + case SpvOpArbitraryFloatDivALTERA: return "OpArbitraryFloatDivALTERA"; + case SpvOpArbitraryFloatGTALTERA: return "OpArbitraryFloatGTALTERA"; + case SpvOpArbitraryFloatGEALTERA: return "OpArbitraryFloatGEALTERA"; + case SpvOpArbitraryFloatLTALTERA: return "OpArbitraryFloatLTALTERA"; + case SpvOpArbitraryFloatLEALTERA: return "OpArbitraryFloatLEALTERA"; + case SpvOpArbitraryFloatEQALTERA: return "OpArbitraryFloatEQALTERA"; + case SpvOpArbitraryFloatRecipALTERA: return "OpArbitraryFloatRecipALTERA"; + case SpvOpArbitraryFloatRSqrtALTERA: return "OpArbitraryFloatRSqrtALTERA"; + case SpvOpArbitraryFloatCbrtALTERA: return "OpArbitraryFloatCbrtALTERA"; + case SpvOpArbitraryFloatHypotALTERA: return "OpArbitraryFloatHypotALTERA"; + case SpvOpArbitraryFloatSqrtALTERA: return "OpArbitraryFloatSqrtALTERA"; case SpvOpArbitraryFloatLogINTEL: return "OpArbitraryFloatLogINTEL"; case SpvOpArbitraryFloatLog2INTEL: return "OpArbitraryFloatLog2INTEL"; case SpvOpArbitraryFloatLog10INTEL: return "OpArbitraryFloatLog10INTEL"; @@ -5192,22 +5318,22 @@ inline const char* SpvOpToString(SpvOp value) { case SpvOpAliasDomainDeclINTEL: return "OpAliasDomainDeclINTEL"; case SpvOpAliasScopeDeclINTEL: return "OpAliasScopeDeclINTEL"; case SpvOpAliasScopeListDeclINTEL: return "OpAliasScopeListDeclINTEL"; - case SpvOpFixedSqrtINTEL: return "OpFixedSqrtINTEL"; - case SpvOpFixedRecipINTEL: return "OpFixedRecipINTEL"; - case SpvOpFixedRsqrtINTEL: return "OpFixedRsqrtINTEL"; - case SpvOpFixedSinINTEL: return "OpFixedSinINTEL"; - case SpvOpFixedCosINTEL: return "OpFixedCosINTEL"; - case SpvOpFixedSinCosINTEL: return "OpFixedSinCosINTEL"; - case SpvOpFixedSinPiINTEL: return "OpFixedSinPiINTEL"; - case SpvOpFixedCosPiINTEL: return "OpFixedCosPiINTEL"; - case SpvOpFixedSinCosPiINTEL: return "OpFixedSinCosPiINTEL"; - case SpvOpFixedLogINTEL: return "OpFixedLogINTEL"; - case SpvOpFixedExpINTEL: return "OpFixedExpINTEL"; - case SpvOpPtrCastToCrossWorkgroupINTEL: return "OpPtrCastToCrossWorkgroupINTEL"; - case SpvOpCrossWorkgroupCastToPtrINTEL: return "OpCrossWorkgroupCastToPtrINTEL"; - case SpvOpReadPipeBlockingINTEL: return "OpReadPipeBlockingINTEL"; - case SpvOpWritePipeBlockingINTEL: return "OpWritePipeBlockingINTEL"; - case SpvOpFPGARegINTEL: return "OpFPGARegINTEL"; + case SpvOpFixedSqrtALTERA: return "OpFixedSqrtALTERA"; + case SpvOpFixedRecipALTERA: return "OpFixedRecipALTERA"; + case SpvOpFixedRsqrtALTERA: return "OpFixedRsqrtALTERA"; + case SpvOpFixedSinALTERA: return "OpFixedSinALTERA"; + case SpvOpFixedCosALTERA: return "OpFixedCosALTERA"; + case SpvOpFixedSinCosALTERA: return "OpFixedSinCosALTERA"; + case SpvOpFixedSinPiALTERA: return "OpFixedSinPiALTERA"; + case SpvOpFixedCosPiALTERA: return "OpFixedCosPiALTERA"; + case SpvOpFixedSinCosPiALTERA: return "OpFixedSinCosPiALTERA"; + case SpvOpFixedLogALTERA: return "OpFixedLogALTERA"; + case SpvOpFixedExpALTERA: return "OpFixedExpALTERA"; + case SpvOpPtrCastToCrossWorkgroupALTERA: return "OpPtrCastToCrossWorkgroupALTERA"; + case SpvOpCrossWorkgroupCastToPtrALTERA: return "OpCrossWorkgroupCastToPtrALTERA"; + case SpvOpReadPipeBlockingALTERA: return "OpReadPipeBlockingALTERA"; + case SpvOpWritePipeBlockingALTERA: return "OpWritePipeBlockingALTERA"; + case SpvOpFPGARegALTERA: return "OpFPGARegALTERA"; case SpvOpRayQueryGetRayTMinKHR: return "OpRayQueryGetRayTMinKHR"; case SpvOpRayQueryGetRayFlagsKHR: return "OpRayQueryGetRayFlagsKHR"; case SpvOpRayQueryGetIntersectionTKHR: return "OpRayQueryGetIntersectionTKHR"; @@ -5236,11 +5362,11 @@ inline const char* SpvOpToString(SpvOp value) { case SpvOpControlBarrierArriveINTEL: return "OpControlBarrierArriveINTEL"; case SpvOpControlBarrierWaitINTEL: return "OpControlBarrierWaitINTEL"; case SpvOpArithmeticFenceEXT: return "OpArithmeticFenceEXT"; - case SpvOpTaskSequenceCreateINTEL: return "OpTaskSequenceCreateINTEL"; - case SpvOpTaskSequenceAsyncINTEL: return "OpTaskSequenceAsyncINTEL"; - case SpvOpTaskSequenceGetINTEL: return "OpTaskSequenceGetINTEL"; - case SpvOpTaskSequenceReleaseINTEL: return "OpTaskSequenceReleaseINTEL"; - case SpvOpTypeTaskSequenceINTEL: return "OpTypeTaskSequenceINTEL"; + case SpvOpTaskSequenceCreateALTERA: return "OpTaskSequenceCreateALTERA"; + case SpvOpTaskSequenceAsyncALTERA: return "OpTaskSequenceAsyncALTERA"; + case SpvOpTaskSequenceGetALTERA: return "OpTaskSequenceGetALTERA"; + case SpvOpTaskSequenceReleaseALTERA: return "OpTaskSequenceReleaseALTERA"; + case SpvOpTypeTaskSequenceALTERA: return "OpTypeTaskSequenceALTERA"; case SpvOpSubgroupBlockPrefetchINTEL: return "OpSubgroupBlockPrefetchINTEL"; case SpvOpSubgroup2DBlockLoadINTEL: return "OpSubgroup2DBlockLoadINTEL"; case SpvOpSubgroup2DBlockLoadTransformINTEL: return "OpSubgroup2DBlockLoadTransformINTEL"; diff --git a/include/spirv/unified1/spirv.hpp b/include/spirv/unified1/spirv.hpp index a45a05877..50ecfb7b3 100644 --- a/include/spirv/unified1/spirv.hpp +++ b/include/spirv/unified1/spirv.hpp @@ -247,7 +247,9 @@ enum StorageClass { StorageClassHitObjectAttributeNV = 5385, StorageClassTaskPayloadWorkgroupEXT = 5402, StorageClassCodeSectionINTEL = 5605, + StorageClassDeviceOnlyALTERA = 5936, StorageClassDeviceOnlyINTEL = 5936, + StorageClassHostOnlyALTERA = 5937, StorageClassHostOnlyINTEL = 5937, StorageClassMax = 0x7fffffff, }; @@ -486,6 +488,7 @@ enum FunctionParameterAttribute { FunctionParameterAttributeNoCapture = 5, FunctionParameterAttributeNoWrite = 6, FunctionParameterAttributeNoReadWrite = 7, + FunctionParameterAttributeRuntimeAlignedALTERA = 5940, FunctionParameterAttributeRuntimeAlignedINTEL = 5940, FunctionParameterAttributeMax = 0x7fffffff, }; @@ -590,54 +593,95 @@ enum Decoration { DecorationUserTypeGOOGLE = 5636, DecorationFunctionRoundingModeINTEL = 5822, DecorationFunctionDenormModeINTEL = 5823, + DecorationRegisterALTERA = 5825, DecorationRegisterINTEL = 5825, + DecorationMemoryALTERA = 5826, DecorationMemoryINTEL = 5826, + DecorationNumbanksALTERA = 5827, DecorationNumbanksINTEL = 5827, + DecorationBankwidthALTERA = 5828, DecorationBankwidthINTEL = 5828, + DecorationMaxPrivateCopiesALTERA = 5829, DecorationMaxPrivateCopiesINTEL = 5829, + DecorationSinglepumpALTERA = 5830, DecorationSinglepumpINTEL = 5830, + DecorationDoublepumpALTERA = 5831, DecorationDoublepumpINTEL = 5831, + DecorationMaxReplicatesALTERA = 5832, DecorationMaxReplicatesINTEL = 5832, + DecorationSimpleDualPortALTERA = 5833, DecorationSimpleDualPortINTEL = 5833, + DecorationMergeALTERA = 5834, DecorationMergeINTEL = 5834, + DecorationBankBitsALTERA = 5835, DecorationBankBitsINTEL = 5835, + DecorationForcePow2DepthALTERA = 5836, DecorationForcePow2DepthINTEL = 5836, + DecorationStridesizeALTERA = 5883, DecorationStridesizeINTEL = 5883, + DecorationWordsizeALTERA = 5884, DecorationWordsizeINTEL = 5884, + DecorationTrueDualPortALTERA = 5885, DecorationTrueDualPortINTEL = 5885, + DecorationBurstCoalesceALTERA = 5899, DecorationBurstCoalesceINTEL = 5899, + DecorationCacheSizeALTERA = 5900, DecorationCacheSizeINTEL = 5900, + DecorationDontStaticallyCoalesceALTERA = 5901, DecorationDontStaticallyCoalesceINTEL = 5901, + DecorationPrefetchALTERA = 5902, DecorationPrefetchINTEL = 5902, + DecorationStallEnableALTERA = 5905, DecorationStallEnableINTEL = 5905, + DecorationFuseLoopsInFunctionALTERA = 5907, DecorationFuseLoopsInFunctionINTEL = 5907, + DecorationMathOpDSPModeALTERA = 5909, DecorationMathOpDSPModeINTEL = 5909, DecorationAliasScopeINTEL = 5914, DecorationNoAliasINTEL = 5915, + DecorationInitiationIntervalALTERA = 5917, DecorationInitiationIntervalINTEL = 5917, + DecorationMaxConcurrencyALTERA = 5918, DecorationMaxConcurrencyINTEL = 5918, + DecorationPipelineEnableALTERA = 5919, DecorationPipelineEnableINTEL = 5919, + DecorationBufferLocationALTERA = 5921, DecorationBufferLocationINTEL = 5921, + DecorationIOPipeStorageALTERA = 5944, DecorationIOPipeStorageINTEL = 5944, DecorationFunctionFloatingPointModeINTEL = 6080, DecorationSingleElementVectorINTEL = 6085, DecorationVectorComputeCallableFunctionINTEL = 6087, DecorationMediaBlockIOINTEL = 6140, + DecorationStallFreeALTERA = 6151, DecorationStallFreeINTEL = 6151, DecorationFPMaxErrorDecorationINTEL = 6170, + DecorationLatencyControlLabelALTERA = 6172, DecorationLatencyControlLabelINTEL = 6172, + DecorationLatencyControlConstraintALTERA = 6173, DecorationLatencyControlConstraintINTEL = 6173, + DecorationConduitKernelArgumentALTERA = 6175, DecorationConduitKernelArgumentINTEL = 6175, + DecorationRegisterMapKernelArgumentALTERA = 6176, DecorationRegisterMapKernelArgumentINTEL = 6176, + DecorationMMHostInterfaceAddressWidthALTERA = 6177, DecorationMMHostInterfaceAddressWidthINTEL = 6177, + DecorationMMHostInterfaceDataWidthALTERA = 6178, DecorationMMHostInterfaceDataWidthINTEL = 6178, + DecorationMMHostInterfaceLatencyALTERA = 6179, DecorationMMHostInterfaceLatencyINTEL = 6179, + DecorationMMHostInterfaceReadWriteModeALTERA = 6180, DecorationMMHostInterfaceReadWriteModeINTEL = 6180, + DecorationMMHostInterfaceMaxBurstALTERA = 6181, DecorationMMHostInterfaceMaxBurstINTEL = 6181, + DecorationMMHostInterfaceWaitRequestALTERA = 6182, DecorationMMHostInterfaceWaitRequestINTEL = 6182, + DecorationStableKernelArgumentALTERA = 6183, DecorationStableKernelArgumentINTEL = 6183, DecorationHostAccessINTEL = 6188, + DecorationInitModeALTERA = 6190, DecorationInitModeINTEL = 6190, + DecorationImplementInRegisterMapALTERA = 6191, DecorationImplementInRegisterMapINTEL = 6191, DecorationConditionalINTEL = 6247, DecorationCacheControlLoadINTEL = 6442, @@ -819,15 +863,25 @@ enum LoopControlShift { LoopControlIterationMultipleShift = 6, LoopControlPeelCountShift = 7, LoopControlPartialCountShift = 8, + LoopControlInitiationIntervalALTERAShift = 16, LoopControlInitiationIntervalINTELShift = 16, + LoopControlMaxConcurrencyALTERAShift = 17, LoopControlMaxConcurrencyINTELShift = 17, + LoopControlDependencyArrayALTERAShift = 18, LoopControlDependencyArrayINTELShift = 18, + LoopControlPipelineEnableALTERAShift = 19, LoopControlPipelineEnableINTELShift = 19, + LoopControlLoopCoalesceALTERAShift = 20, LoopControlLoopCoalesceINTELShift = 20, + LoopControlMaxInterleavingALTERAShift = 21, LoopControlMaxInterleavingINTELShift = 21, + LoopControlSpeculatedIterationsALTERAShift = 22, LoopControlSpeculatedIterationsINTELShift = 22, + LoopControlNoFusionALTERAShift = 23, LoopControlNoFusionINTELShift = 23, + LoopControlLoopCountALTERAShift = 24, LoopControlLoopCountINTELShift = 24, + LoopControlMaxReinvocationDelayALTERAShift = 25, LoopControlMaxReinvocationDelayINTELShift = 25, LoopControlMax = 0x7fffffff, }; @@ -843,15 +897,25 @@ enum LoopControlMask { LoopControlIterationMultipleMask = 0x00000040, LoopControlPeelCountMask = 0x00000080, LoopControlPartialCountMask = 0x00000100, + LoopControlInitiationIntervalALTERAMask = 0x00010000, LoopControlInitiationIntervalINTELMask = 0x00010000, + LoopControlMaxConcurrencyALTERAMask = 0x00020000, LoopControlMaxConcurrencyINTELMask = 0x00020000, + LoopControlDependencyArrayALTERAMask = 0x00040000, LoopControlDependencyArrayINTELMask = 0x00040000, + LoopControlPipelineEnableALTERAMask = 0x00080000, LoopControlPipelineEnableINTELMask = 0x00080000, + LoopControlLoopCoalesceALTERAMask = 0x00100000, LoopControlLoopCoalesceINTELMask = 0x00100000, + LoopControlMaxInterleavingALTERAMask = 0x00200000, LoopControlMaxInterleavingINTELMask = 0x00200000, + LoopControlSpeculatedIterationsALTERAMask = 0x00400000, LoopControlSpeculatedIterationsINTELMask = 0x00400000, + LoopControlNoFusionALTERAMask = 0x00800000, LoopControlNoFusionINTELMask = 0x00800000, + LoopControlLoopCountALTERAMask = 0x01000000, LoopControlLoopCountINTELMask = 0x01000000, + LoopControlMaxReinvocationDelayALTERAMask = 0x02000000, LoopControlMaxReinvocationDelayINTELMask = 0x02000000, }; @@ -1223,26 +1287,42 @@ enum Capability { CapabilitySubgroupAvcMotionEstimationChromaINTEL = 5698, CapabilityVariableLengthArrayINTEL = 5817, CapabilityFunctionFloatControlINTEL = 5821, + CapabilityFPGAMemoryAttributesALTERA = 5824, CapabilityFPGAMemoryAttributesINTEL = 5824, CapabilityFPFastMathModeINTEL = 5837, + CapabilityArbitraryPrecisionIntegersALTERA = 5844, CapabilityArbitraryPrecisionIntegersINTEL = 5844, + CapabilityArbitraryPrecisionFloatingPointALTERA = 5845, CapabilityArbitraryPrecisionFloatingPointINTEL = 5845, CapabilityUnstructuredLoopControlsINTEL = 5886, + CapabilityFPGALoopControlsALTERA = 5888, CapabilityFPGALoopControlsINTEL = 5888, CapabilityKernelAttributesINTEL = 5892, CapabilityFPGAKernelAttributesINTEL = 5897, + CapabilityFPGAMemoryAccessesALTERA = 5898, CapabilityFPGAMemoryAccessesINTEL = 5898, + CapabilityFPGAClusterAttributesALTERA = 5904, CapabilityFPGAClusterAttributesINTEL = 5904, + CapabilityLoopFuseALTERA = 5906, CapabilityLoopFuseINTEL = 5906, + CapabilityFPGADSPControlALTERA = 5908, CapabilityFPGADSPControlINTEL = 5908, CapabilityMemoryAccessAliasingINTEL = 5910, + CapabilityFPGAInvocationPipeliningAttributesALTERA = 5916, CapabilityFPGAInvocationPipeliningAttributesINTEL = 5916, + CapabilityFPGABufferLocationALTERA = 5920, CapabilityFPGABufferLocationINTEL = 5920, + CapabilityArbitraryPrecisionFixedPointALTERA = 5922, CapabilityArbitraryPrecisionFixedPointINTEL = 5922, + CapabilityUSMStorageClassesALTERA = 5935, CapabilityUSMStorageClassesINTEL = 5935, + CapabilityRuntimeAlignedAttributeALTERA = 5939, CapabilityRuntimeAlignedAttributeINTEL = 5939, + CapabilityIOPipesALTERA = 5943, CapabilityIOPipesINTEL = 5943, + CapabilityBlockingPipesALTERA = 5945, CapabilityBlockingPipesINTEL = 5945, + CapabilityFPGARegALTERA = 5948, CapabilityFPGARegINTEL = 5948, CapabilityDotProductInputAll = 6016, CapabilityDotProductInputAllKHR = 6016, @@ -1269,13 +1349,18 @@ enum Capability { CapabilityBFloat16ConversionINTEL = 6115, CapabilitySplitBarrierINTEL = 6141, CapabilityArithmeticFenceEXT = 6144, + CapabilityFPGAClusterAttributesV2ALTERA = 6150, CapabilityFPGAClusterAttributesV2INTEL = 6150, CapabilityFPGAKernelAttributesv2INTEL = 6161, + CapabilityTaskSequenceALTERA = 6162, CapabilityTaskSequenceINTEL = 6162, CapabilityFPMaxErrorINTEL = 6169, + CapabilityFPGALatencyControlALTERA = 6171, CapabilityFPGALatencyControlINTEL = 6171, + CapabilityFPGAArgumentInterfacesALTERA = 6174, CapabilityFPGAArgumentInterfacesINTEL = 6174, CapabilityGlobalVariableHostAccessINTEL = 6187, + CapabilityGlobalVariableFPGADecorationsALTERA = 6189, CapabilityGlobalVariableFPGADecorationsINTEL = 6189, CapabilitySubgroupBufferPrefetchINTEL = 6220, CapabilitySubgroup2DBlockIOINTEL = 6228, @@ -1487,7 +1572,9 @@ enum TensorOperandsMask { }; enum InitializationModeQualifier { + InitializationModeQualifierInitOnDeviceReprogramALTERA = 0, InitializationModeQualifierInitOnDeviceReprogramINTEL = 0, + InitializationModeQualifierInitOnDeviceResetALTERA = 1, InitializationModeQualifierInitOnDeviceResetINTEL = 1, InitializationModeQualifierMax = 0x7fffffff, }; @@ -2315,23 +2402,41 @@ enum Op { OpVariableLengthArrayINTEL = 5818, OpSaveMemoryINTEL = 5819, OpRestoreMemoryINTEL = 5820, + OpArbitraryFloatSinCosPiALTERA = 5840, OpArbitraryFloatSinCosPiINTEL = 5840, + OpArbitraryFloatCastALTERA = 5841, OpArbitraryFloatCastINTEL = 5841, + OpArbitraryFloatCastFromIntALTERA = 5842, OpArbitraryFloatCastFromIntINTEL = 5842, + OpArbitraryFloatCastToIntALTERA = 5843, OpArbitraryFloatCastToIntINTEL = 5843, + OpArbitraryFloatAddALTERA = 5846, OpArbitraryFloatAddINTEL = 5846, + OpArbitraryFloatSubALTERA = 5847, OpArbitraryFloatSubINTEL = 5847, + OpArbitraryFloatMulALTERA = 5848, OpArbitraryFloatMulINTEL = 5848, + OpArbitraryFloatDivALTERA = 5849, OpArbitraryFloatDivINTEL = 5849, + OpArbitraryFloatGTALTERA = 5850, OpArbitraryFloatGTINTEL = 5850, + OpArbitraryFloatGEALTERA = 5851, OpArbitraryFloatGEINTEL = 5851, + OpArbitraryFloatLTALTERA = 5852, OpArbitraryFloatLTINTEL = 5852, + OpArbitraryFloatLEALTERA = 5853, OpArbitraryFloatLEINTEL = 5853, + OpArbitraryFloatEQALTERA = 5854, OpArbitraryFloatEQINTEL = 5854, + OpArbitraryFloatRecipALTERA = 5855, OpArbitraryFloatRecipINTEL = 5855, + OpArbitraryFloatRSqrtALTERA = 5856, OpArbitraryFloatRSqrtINTEL = 5856, + OpArbitraryFloatCbrtALTERA = 5857, OpArbitraryFloatCbrtINTEL = 5857, + OpArbitraryFloatHypotALTERA = 5858, OpArbitraryFloatHypotINTEL = 5858, + OpArbitraryFloatSqrtALTERA = 5859, OpArbitraryFloatSqrtINTEL = 5859, OpArbitraryFloatLogINTEL = 5860, OpArbitraryFloatLog2INTEL = 5861, @@ -2360,21 +2465,37 @@ enum Op { OpAliasDomainDeclINTEL = 5911, OpAliasScopeDeclINTEL = 5912, OpAliasScopeListDeclINTEL = 5913, + OpFixedSqrtALTERA = 5923, OpFixedSqrtINTEL = 5923, + OpFixedRecipALTERA = 5924, OpFixedRecipINTEL = 5924, + OpFixedRsqrtALTERA = 5925, OpFixedRsqrtINTEL = 5925, + OpFixedSinALTERA = 5926, OpFixedSinINTEL = 5926, + OpFixedCosALTERA = 5927, OpFixedCosINTEL = 5927, + OpFixedSinCosALTERA = 5928, OpFixedSinCosINTEL = 5928, + OpFixedSinPiALTERA = 5929, OpFixedSinPiINTEL = 5929, + OpFixedCosPiALTERA = 5930, OpFixedCosPiINTEL = 5930, + OpFixedSinCosPiALTERA = 5931, OpFixedSinCosPiINTEL = 5931, + OpFixedLogALTERA = 5932, OpFixedLogINTEL = 5932, + OpFixedExpALTERA = 5933, OpFixedExpINTEL = 5933, + OpPtrCastToCrossWorkgroupALTERA = 5934, OpPtrCastToCrossWorkgroupINTEL = 5934, + OpCrossWorkgroupCastToPtrALTERA = 5938, OpCrossWorkgroupCastToPtrINTEL = 5938, + OpReadPipeBlockingALTERA = 5946, OpReadPipeBlockingINTEL = 5946, + OpWritePipeBlockingALTERA = 5947, OpWritePipeBlockingINTEL = 5947, + OpFPGARegALTERA = 5949, OpFPGARegINTEL = 5949, OpRayQueryGetRayTMinKHR = 6016, OpRayQueryGetRayFlagsKHR = 6017, @@ -2404,10 +2525,15 @@ enum Op { OpControlBarrierArriveINTEL = 6142, OpControlBarrierWaitINTEL = 6143, OpArithmeticFenceEXT = 6145, + OpTaskSequenceCreateALTERA = 6163, OpTaskSequenceCreateINTEL = 6163, + OpTaskSequenceAsyncALTERA = 6164, OpTaskSequenceAsyncINTEL = 6164, + OpTaskSequenceGetALTERA = 6165, OpTaskSequenceGetINTEL = 6165, + OpTaskSequenceReleaseALTERA = 6166, OpTaskSequenceReleaseINTEL = 6166, + OpTypeTaskSequenceALTERA = 6199, OpTypeTaskSequenceINTEL = 6199, OpSubgroupBlockPrefetchINTEL = 6221, OpSubgroup2DBlockLoadINTEL = 6231, @@ -3148,24 +3274,24 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { case OpVariableLengthArrayINTEL: *hasResult = true; *hasResultType = true; break; case OpSaveMemoryINTEL: *hasResult = true; *hasResultType = true; break; case OpRestoreMemoryINTEL: *hasResult = false; *hasResultType = false; break; - case OpArbitraryFloatSinCosPiINTEL: *hasResult = true; *hasResultType = true; break; - case OpArbitraryFloatCastINTEL: *hasResult = true; *hasResultType = true; break; - case OpArbitraryFloatCastFromIntINTEL: *hasResult = true; *hasResultType = true; break; - case OpArbitraryFloatCastToIntINTEL: *hasResult = true; *hasResultType = true; break; - case OpArbitraryFloatAddINTEL: *hasResult = true; *hasResultType = true; break; - case OpArbitraryFloatSubINTEL: *hasResult = true; *hasResultType = true; break; - case OpArbitraryFloatMulINTEL: *hasResult = true; *hasResultType = true; break; - case OpArbitraryFloatDivINTEL: *hasResult = true; *hasResultType = true; break; - case OpArbitraryFloatGTINTEL: *hasResult = true; *hasResultType = true; break; - case OpArbitraryFloatGEINTEL: *hasResult = true; *hasResultType = true; break; - case OpArbitraryFloatLTINTEL: *hasResult = true; *hasResultType = true; break; - case OpArbitraryFloatLEINTEL: *hasResult = true; *hasResultType = true; break; - case OpArbitraryFloatEQINTEL: *hasResult = true; *hasResultType = true; break; - case OpArbitraryFloatRecipINTEL: *hasResult = true; *hasResultType = true; break; - case OpArbitraryFloatRSqrtINTEL: *hasResult = true; *hasResultType = true; break; - case OpArbitraryFloatCbrtINTEL: *hasResult = true; *hasResultType = true; break; - case OpArbitraryFloatHypotINTEL: *hasResult = true; *hasResultType = true; break; - case OpArbitraryFloatSqrtINTEL: *hasResult = true; *hasResultType = true; break; + case OpArbitraryFloatSinCosPiALTERA: *hasResult = true; *hasResultType = true; break; + case OpArbitraryFloatCastALTERA: *hasResult = true; *hasResultType = true; break; + case OpArbitraryFloatCastFromIntALTERA: *hasResult = true; *hasResultType = true; break; + case OpArbitraryFloatCastToIntALTERA: *hasResult = true; *hasResultType = true; break; + case OpArbitraryFloatAddALTERA: *hasResult = true; *hasResultType = true; break; + case OpArbitraryFloatSubALTERA: *hasResult = true; *hasResultType = true; break; + case OpArbitraryFloatMulALTERA: *hasResult = true; *hasResultType = true; break; + case OpArbitraryFloatDivALTERA: *hasResult = true; *hasResultType = true; break; + case OpArbitraryFloatGTALTERA: *hasResult = true; *hasResultType = true; break; + case OpArbitraryFloatGEALTERA: *hasResult = true; *hasResultType = true; break; + case OpArbitraryFloatLTALTERA: *hasResult = true; *hasResultType = true; break; + case OpArbitraryFloatLEALTERA: *hasResult = true; *hasResultType = true; break; + case OpArbitraryFloatEQALTERA: *hasResult = true; *hasResultType = true; break; + case OpArbitraryFloatRecipALTERA: *hasResult = true; *hasResultType = true; break; + case OpArbitraryFloatRSqrtALTERA: *hasResult = true; *hasResultType = true; break; + case OpArbitraryFloatCbrtALTERA: *hasResult = true; *hasResultType = true; break; + case OpArbitraryFloatHypotALTERA: *hasResult = true; *hasResultType = true; break; + case OpArbitraryFloatSqrtALTERA: *hasResult = true; *hasResultType = true; break; case OpArbitraryFloatLogINTEL: *hasResult = true; *hasResultType = true; break; case OpArbitraryFloatLog2INTEL: *hasResult = true; *hasResultType = true; break; case OpArbitraryFloatLog10INTEL: *hasResult = true; *hasResultType = true; break; @@ -3193,22 +3319,22 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { case OpAliasDomainDeclINTEL: *hasResult = true; *hasResultType = false; break; case OpAliasScopeDeclINTEL: *hasResult = true; *hasResultType = false; break; case OpAliasScopeListDeclINTEL: *hasResult = true; *hasResultType = false; break; - case OpFixedSqrtINTEL: *hasResult = true; *hasResultType = true; break; - case OpFixedRecipINTEL: *hasResult = true; *hasResultType = true; break; - case OpFixedRsqrtINTEL: *hasResult = true; *hasResultType = true; break; - case OpFixedSinINTEL: *hasResult = true; *hasResultType = true; break; - case OpFixedCosINTEL: *hasResult = true; *hasResultType = true; break; - case OpFixedSinCosINTEL: *hasResult = true; *hasResultType = true; break; - case OpFixedSinPiINTEL: *hasResult = true; *hasResultType = true; break; - case OpFixedCosPiINTEL: *hasResult = true; *hasResultType = true; break; - case OpFixedSinCosPiINTEL: *hasResult = true; *hasResultType = true; break; - case OpFixedLogINTEL: *hasResult = true; *hasResultType = true; break; - case OpFixedExpINTEL: *hasResult = true; *hasResultType = true; break; - case OpPtrCastToCrossWorkgroupINTEL: *hasResult = true; *hasResultType = true; break; - case OpCrossWorkgroupCastToPtrINTEL: *hasResult = true; *hasResultType = true; break; - case OpReadPipeBlockingINTEL: *hasResult = true; *hasResultType = true; break; - case OpWritePipeBlockingINTEL: *hasResult = true; *hasResultType = true; break; - case OpFPGARegINTEL: *hasResult = true; *hasResultType = true; break; + case OpFixedSqrtALTERA: *hasResult = true; *hasResultType = true; break; + case OpFixedRecipALTERA: *hasResult = true; *hasResultType = true; break; + case OpFixedRsqrtALTERA: *hasResult = true; *hasResultType = true; break; + case OpFixedSinALTERA: *hasResult = true; *hasResultType = true; break; + case OpFixedCosALTERA: *hasResult = true; *hasResultType = true; break; + case OpFixedSinCosALTERA: *hasResult = true; *hasResultType = true; break; + case OpFixedSinPiALTERA: *hasResult = true; *hasResultType = true; break; + case OpFixedCosPiALTERA: *hasResult = true; *hasResultType = true; break; + case OpFixedSinCosPiALTERA: *hasResult = true; *hasResultType = true; break; + case OpFixedLogALTERA: *hasResult = true; *hasResultType = true; break; + case OpFixedExpALTERA: *hasResult = true; *hasResultType = true; break; + case OpPtrCastToCrossWorkgroupALTERA: *hasResult = true; *hasResultType = true; break; + case OpCrossWorkgroupCastToPtrALTERA: *hasResult = true; *hasResultType = true; break; + case OpReadPipeBlockingALTERA: *hasResult = true; *hasResultType = true; break; + case OpWritePipeBlockingALTERA: *hasResult = true; *hasResultType = true; break; + case OpFPGARegALTERA: *hasResult = true; *hasResultType = true; break; case OpRayQueryGetRayTMinKHR: *hasResult = true; *hasResultType = true; break; case OpRayQueryGetRayFlagsKHR: *hasResult = true; *hasResultType = true; break; case OpRayQueryGetIntersectionTKHR: *hasResult = true; *hasResultType = true; break; @@ -3237,11 +3363,11 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { case OpControlBarrierArriveINTEL: *hasResult = false; *hasResultType = false; break; case OpControlBarrierWaitINTEL: *hasResult = false; *hasResultType = false; break; case OpArithmeticFenceEXT: *hasResult = true; *hasResultType = true; break; - case OpTaskSequenceCreateINTEL: *hasResult = true; *hasResultType = true; break; - case OpTaskSequenceAsyncINTEL: *hasResult = false; *hasResultType = false; break; - case OpTaskSequenceGetINTEL: *hasResult = true; *hasResultType = true; break; - case OpTaskSequenceReleaseINTEL: *hasResult = false; *hasResultType = false; break; - case OpTypeTaskSequenceINTEL: *hasResult = true; *hasResultType = false; break; + case OpTaskSequenceCreateALTERA: *hasResult = true; *hasResultType = true; break; + case OpTaskSequenceAsyncALTERA: *hasResult = false; *hasResultType = false; break; + case OpTaskSequenceGetALTERA: *hasResult = true; *hasResultType = true; break; + case OpTaskSequenceReleaseALTERA: *hasResult = false; *hasResultType = false; break; + case OpTypeTaskSequenceALTERA: *hasResult = true; *hasResultType = false; break; case OpSubgroupBlockPrefetchINTEL: *hasResult = false; *hasResultType = false; break; case OpSubgroup2DBlockLoadINTEL: *hasResult = false; *hasResultType = false; break; case OpSubgroup2DBlockLoadTransformINTEL: *hasResult = false; *hasResultType = false; break; @@ -3468,8 +3594,8 @@ inline const char* StorageClassToString(StorageClass value) { case StorageClassHitObjectAttributeNV: return "HitObjectAttributeNV"; case StorageClassTaskPayloadWorkgroupEXT: return "TaskPayloadWorkgroupEXT"; case StorageClassCodeSectionINTEL: return "CodeSectionINTEL"; - case StorageClassDeviceOnlyINTEL: return "DeviceOnlyINTEL"; - case StorageClassHostOnlyINTEL: return "HostOnlyINTEL"; + case StorageClassDeviceOnlyALTERA: return "DeviceOnlyALTERA"; + case StorageClassHostOnlyALTERA: return "HostOnlyALTERA"; default: return "Unknown"; } } @@ -3651,7 +3777,7 @@ inline const char* FunctionParameterAttributeToString(FunctionParameterAttribute case FunctionParameterAttributeNoCapture: return "NoCapture"; case FunctionParameterAttributeNoWrite: return "NoWrite"; case FunctionParameterAttributeNoReadWrite: return "NoReadWrite"; - case FunctionParameterAttributeRuntimeAlignedINTEL: return "RuntimeAlignedINTEL"; + case FunctionParameterAttributeRuntimeAlignedALTERA: return "RuntimeAlignedALTERA"; default: return "Unknown"; } } @@ -3750,55 +3876,55 @@ inline const char* DecorationToString(Decoration value) { case DecorationUserTypeGOOGLE: return "UserTypeGOOGLE"; case DecorationFunctionRoundingModeINTEL: return "FunctionRoundingModeINTEL"; case DecorationFunctionDenormModeINTEL: return "FunctionDenormModeINTEL"; - case DecorationRegisterINTEL: return "RegisterINTEL"; - case DecorationMemoryINTEL: return "MemoryINTEL"; - case DecorationNumbanksINTEL: return "NumbanksINTEL"; - case DecorationBankwidthINTEL: return "BankwidthINTEL"; - case DecorationMaxPrivateCopiesINTEL: return "MaxPrivateCopiesINTEL"; - case DecorationSinglepumpINTEL: return "SinglepumpINTEL"; - case DecorationDoublepumpINTEL: return "DoublepumpINTEL"; - case DecorationMaxReplicatesINTEL: return "MaxReplicatesINTEL"; - case DecorationSimpleDualPortINTEL: return "SimpleDualPortINTEL"; - case DecorationMergeINTEL: return "MergeINTEL"; - case DecorationBankBitsINTEL: return "BankBitsINTEL"; - case DecorationForcePow2DepthINTEL: return "ForcePow2DepthINTEL"; - case DecorationStridesizeINTEL: return "StridesizeINTEL"; - case DecorationWordsizeINTEL: return "WordsizeINTEL"; - case DecorationTrueDualPortINTEL: return "TrueDualPortINTEL"; - case DecorationBurstCoalesceINTEL: return "BurstCoalesceINTEL"; - case DecorationCacheSizeINTEL: return "CacheSizeINTEL"; - case DecorationDontStaticallyCoalesceINTEL: return "DontStaticallyCoalesceINTEL"; - case DecorationPrefetchINTEL: return "PrefetchINTEL"; - case DecorationStallEnableINTEL: return "StallEnableINTEL"; - case DecorationFuseLoopsInFunctionINTEL: return "FuseLoopsInFunctionINTEL"; - case DecorationMathOpDSPModeINTEL: return "MathOpDSPModeINTEL"; + case DecorationRegisterALTERA: return "RegisterALTERA"; + case DecorationMemoryALTERA: return "MemoryALTERA"; + case DecorationNumbanksALTERA: return "NumbanksALTERA"; + case DecorationBankwidthALTERA: return "BankwidthALTERA"; + case DecorationMaxPrivateCopiesALTERA: return "MaxPrivateCopiesALTERA"; + case DecorationSinglepumpALTERA: return "SinglepumpALTERA"; + case DecorationDoublepumpALTERA: return "DoublepumpALTERA"; + case DecorationMaxReplicatesALTERA: return "MaxReplicatesALTERA"; + case DecorationSimpleDualPortALTERA: return "SimpleDualPortALTERA"; + case DecorationMergeALTERA: return "MergeALTERA"; + case DecorationBankBitsALTERA: return "BankBitsALTERA"; + case DecorationForcePow2DepthALTERA: return "ForcePow2DepthALTERA"; + case DecorationStridesizeALTERA: return "StridesizeALTERA"; + case DecorationWordsizeALTERA: return "WordsizeALTERA"; + case DecorationTrueDualPortALTERA: return "TrueDualPortALTERA"; + case DecorationBurstCoalesceALTERA: return "BurstCoalesceALTERA"; + case DecorationCacheSizeALTERA: return "CacheSizeALTERA"; + case DecorationDontStaticallyCoalesceALTERA: return "DontStaticallyCoalesceALTERA"; + case DecorationPrefetchALTERA: return "PrefetchALTERA"; + case DecorationStallEnableALTERA: return "StallEnableALTERA"; + case DecorationFuseLoopsInFunctionALTERA: return "FuseLoopsInFunctionALTERA"; + case DecorationMathOpDSPModeALTERA: return "MathOpDSPModeALTERA"; case DecorationAliasScopeINTEL: return "AliasScopeINTEL"; case DecorationNoAliasINTEL: return "NoAliasINTEL"; - case DecorationInitiationIntervalINTEL: return "InitiationIntervalINTEL"; - case DecorationMaxConcurrencyINTEL: return "MaxConcurrencyINTEL"; - case DecorationPipelineEnableINTEL: return "PipelineEnableINTEL"; - case DecorationBufferLocationINTEL: return "BufferLocationINTEL"; - case DecorationIOPipeStorageINTEL: return "IOPipeStorageINTEL"; + case DecorationInitiationIntervalALTERA: return "InitiationIntervalALTERA"; + case DecorationMaxConcurrencyALTERA: return "MaxConcurrencyALTERA"; + case DecorationPipelineEnableALTERA: return "PipelineEnableALTERA"; + case DecorationBufferLocationALTERA: return "BufferLocationALTERA"; + case DecorationIOPipeStorageALTERA: return "IOPipeStorageALTERA"; case DecorationFunctionFloatingPointModeINTEL: return "FunctionFloatingPointModeINTEL"; case DecorationSingleElementVectorINTEL: return "SingleElementVectorINTEL"; case DecorationVectorComputeCallableFunctionINTEL: return "VectorComputeCallableFunctionINTEL"; case DecorationMediaBlockIOINTEL: return "MediaBlockIOINTEL"; - case DecorationStallFreeINTEL: return "StallFreeINTEL"; + case DecorationStallFreeALTERA: return "StallFreeALTERA"; case DecorationFPMaxErrorDecorationINTEL: return "FPMaxErrorDecorationINTEL"; - case DecorationLatencyControlLabelINTEL: return "LatencyControlLabelINTEL"; - case DecorationLatencyControlConstraintINTEL: return "LatencyControlConstraintINTEL"; - case DecorationConduitKernelArgumentINTEL: return "ConduitKernelArgumentINTEL"; - case DecorationRegisterMapKernelArgumentINTEL: return "RegisterMapKernelArgumentINTEL"; - case DecorationMMHostInterfaceAddressWidthINTEL: return "MMHostInterfaceAddressWidthINTEL"; - case DecorationMMHostInterfaceDataWidthINTEL: return "MMHostInterfaceDataWidthINTEL"; - case DecorationMMHostInterfaceLatencyINTEL: return "MMHostInterfaceLatencyINTEL"; - case DecorationMMHostInterfaceReadWriteModeINTEL: return "MMHostInterfaceReadWriteModeINTEL"; - case DecorationMMHostInterfaceMaxBurstINTEL: return "MMHostInterfaceMaxBurstINTEL"; - case DecorationMMHostInterfaceWaitRequestINTEL: return "MMHostInterfaceWaitRequestINTEL"; - case DecorationStableKernelArgumentINTEL: return "StableKernelArgumentINTEL"; + case DecorationLatencyControlLabelALTERA: return "LatencyControlLabelALTERA"; + case DecorationLatencyControlConstraintALTERA: return "LatencyControlConstraintALTERA"; + case DecorationConduitKernelArgumentALTERA: return "ConduitKernelArgumentALTERA"; + case DecorationRegisterMapKernelArgumentALTERA: return "RegisterMapKernelArgumentALTERA"; + case DecorationMMHostInterfaceAddressWidthALTERA: return "MMHostInterfaceAddressWidthALTERA"; + case DecorationMMHostInterfaceDataWidthALTERA: return "MMHostInterfaceDataWidthALTERA"; + case DecorationMMHostInterfaceLatencyALTERA: return "MMHostInterfaceLatencyALTERA"; + case DecorationMMHostInterfaceReadWriteModeALTERA: return "MMHostInterfaceReadWriteModeALTERA"; + case DecorationMMHostInterfaceMaxBurstALTERA: return "MMHostInterfaceMaxBurstALTERA"; + case DecorationMMHostInterfaceWaitRequestALTERA: return "MMHostInterfaceWaitRequestALTERA"; + case DecorationStableKernelArgumentALTERA: return "StableKernelArgumentALTERA"; case DecorationHostAccessINTEL: return "HostAccessINTEL"; - case DecorationInitModeINTEL: return "InitModeINTEL"; - case DecorationImplementInRegisterMapINTEL: return "ImplementInRegisterMapINTEL"; + case DecorationInitModeALTERA: return "InitModeALTERA"; + case DecorationImplementInRegisterMapALTERA: return "ImplementInRegisterMapALTERA"; case DecorationConditionalINTEL: return "ConditionalINTEL"; case DecorationCacheControlLoadINTEL: return "CacheControlLoadINTEL"; case DecorationCacheControlStoreINTEL: return "CacheControlStoreINTEL"; @@ -4187,27 +4313,27 @@ inline const char* CapabilityToString(Capability value) { case CapabilitySubgroupAvcMotionEstimationChromaINTEL: return "SubgroupAvcMotionEstimationChromaINTEL"; case CapabilityVariableLengthArrayINTEL: return "VariableLengthArrayINTEL"; case CapabilityFunctionFloatControlINTEL: return "FunctionFloatControlINTEL"; - case CapabilityFPGAMemoryAttributesINTEL: return "FPGAMemoryAttributesINTEL"; + case CapabilityFPGAMemoryAttributesALTERA: return "FPGAMemoryAttributesALTERA"; case CapabilityFPFastMathModeINTEL: return "FPFastMathModeINTEL"; - case CapabilityArbitraryPrecisionIntegersINTEL: return "ArbitraryPrecisionIntegersINTEL"; - case CapabilityArbitraryPrecisionFloatingPointINTEL: return "ArbitraryPrecisionFloatingPointINTEL"; + case CapabilityArbitraryPrecisionIntegersALTERA: return "ArbitraryPrecisionIntegersALTERA"; + case CapabilityArbitraryPrecisionFloatingPointALTERA: return "ArbitraryPrecisionFloatingPointALTERA"; case CapabilityUnstructuredLoopControlsINTEL: return "UnstructuredLoopControlsINTEL"; - case CapabilityFPGALoopControlsINTEL: return "FPGALoopControlsINTEL"; + case CapabilityFPGALoopControlsALTERA: return "FPGALoopControlsALTERA"; case CapabilityKernelAttributesINTEL: return "KernelAttributesINTEL"; case CapabilityFPGAKernelAttributesINTEL: return "FPGAKernelAttributesINTEL"; - case CapabilityFPGAMemoryAccessesINTEL: return "FPGAMemoryAccessesINTEL"; - case CapabilityFPGAClusterAttributesINTEL: return "FPGAClusterAttributesINTEL"; - case CapabilityLoopFuseINTEL: return "LoopFuseINTEL"; - case CapabilityFPGADSPControlINTEL: return "FPGADSPControlINTEL"; + case CapabilityFPGAMemoryAccessesALTERA: return "FPGAMemoryAccessesALTERA"; + case CapabilityFPGAClusterAttributesALTERA: return "FPGAClusterAttributesALTERA"; + case CapabilityLoopFuseALTERA: return "LoopFuseALTERA"; + case CapabilityFPGADSPControlALTERA: return "FPGADSPControlALTERA"; case CapabilityMemoryAccessAliasingINTEL: return "MemoryAccessAliasingINTEL"; - case CapabilityFPGAInvocationPipeliningAttributesINTEL: return "FPGAInvocationPipeliningAttributesINTEL"; - case CapabilityFPGABufferLocationINTEL: return "FPGABufferLocationINTEL"; - case CapabilityArbitraryPrecisionFixedPointINTEL: return "ArbitraryPrecisionFixedPointINTEL"; - case CapabilityUSMStorageClassesINTEL: return "USMStorageClassesINTEL"; - case CapabilityRuntimeAlignedAttributeINTEL: return "RuntimeAlignedAttributeINTEL"; - case CapabilityIOPipesINTEL: return "IOPipesINTEL"; - case CapabilityBlockingPipesINTEL: return "BlockingPipesINTEL"; - case CapabilityFPGARegINTEL: return "FPGARegINTEL"; + case CapabilityFPGAInvocationPipeliningAttributesALTERA: return "FPGAInvocationPipeliningAttributesALTERA"; + case CapabilityFPGABufferLocationALTERA: return "FPGABufferLocationALTERA"; + case CapabilityArbitraryPrecisionFixedPointALTERA: return "ArbitraryPrecisionFixedPointALTERA"; + case CapabilityUSMStorageClassesALTERA: return "USMStorageClassesALTERA"; + case CapabilityRuntimeAlignedAttributeALTERA: return "RuntimeAlignedAttributeALTERA"; + case CapabilityIOPipesALTERA: return "IOPipesALTERA"; + case CapabilityBlockingPipesALTERA: return "BlockingPipesALTERA"; + case CapabilityFPGARegALTERA: return "FPGARegALTERA"; case CapabilityDotProductInputAll: return "DotProductInputAll"; case CapabilityDotProductInput4x8Bit: return "DotProductInput4x8Bit"; case CapabilityDotProductInput4x8BitPacked: return "DotProductInput4x8BitPacked"; @@ -4228,14 +4354,14 @@ inline const char* CapabilityToString(Capability value) { case CapabilityBFloat16ConversionINTEL: return "BFloat16ConversionINTEL"; case CapabilitySplitBarrierINTEL: return "SplitBarrierINTEL"; case CapabilityArithmeticFenceEXT: return "ArithmeticFenceEXT"; - case CapabilityFPGAClusterAttributesV2INTEL: return "FPGAClusterAttributesV2INTEL"; + case CapabilityFPGAClusterAttributesV2ALTERA: return "FPGAClusterAttributesV2ALTERA"; case CapabilityFPGAKernelAttributesv2INTEL: return "FPGAKernelAttributesv2INTEL"; - case CapabilityTaskSequenceINTEL: return "TaskSequenceINTEL"; + case CapabilityTaskSequenceALTERA: return "TaskSequenceALTERA"; case CapabilityFPMaxErrorINTEL: return "FPMaxErrorINTEL"; - case CapabilityFPGALatencyControlINTEL: return "FPGALatencyControlINTEL"; - case CapabilityFPGAArgumentInterfacesINTEL: return "FPGAArgumentInterfacesINTEL"; + case CapabilityFPGALatencyControlALTERA: return "FPGALatencyControlALTERA"; + case CapabilityFPGAArgumentInterfacesALTERA: return "FPGAArgumentInterfacesALTERA"; case CapabilityGlobalVariableHostAccessINTEL: return "GlobalVariableHostAccessINTEL"; - case CapabilityGlobalVariableFPGADecorationsINTEL: return "GlobalVariableFPGADecorationsINTEL"; + case CapabilityGlobalVariableFPGADecorationsALTERA: return "GlobalVariableFPGADecorationsALTERA"; case CapabilitySubgroupBufferPrefetchINTEL: return "SubgroupBufferPrefetchINTEL"; case CapabilitySubgroup2DBlockIOINTEL: return "Subgroup2DBlockIOINTEL"; case CapabilitySubgroup2DBlockTransformINTEL: return "Subgroup2DBlockTransformINTEL"; @@ -4359,8 +4485,8 @@ inline const char* TensorClampModeToString(TensorClampMode value) { inline const char* InitializationModeQualifierToString(InitializationModeQualifier value) { switch (value) { - case InitializationModeQualifierInitOnDeviceReprogramINTEL: return "InitOnDeviceReprogramINTEL"; - case InitializationModeQualifierInitOnDeviceResetINTEL: return "InitOnDeviceResetINTEL"; + case InitializationModeQualifierInitOnDeviceReprogramALTERA: return "InitOnDeviceReprogramALTERA"; + case InitializationModeQualifierInitOnDeviceResetALTERA: return "InitOnDeviceResetALTERA"; default: return "Unknown"; } } @@ -5143,24 +5269,24 @@ inline const char* OpToString(Op value) { case OpVariableLengthArrayINTEL: return "OpVariableLengthArrayINTEL"; case OpSaveMemoryINTEL: return "OpSaveMemoryINTEL"; case OpRestoreMemoryINTEL: return "OpRestoreMemoryINTEL"; - case OpArbitraryFloatSinCosPiINTEL: return "OpArbitraryFloatSinCosPiINTEL"; - case OpArbitraryFloatCastINTEL: return "OpArbitraryFloatCastINTEL"; - case OpArbitraryFloatCastFromIntINTEL: return "OpArbitraryFloatCastFromIntINTEL"; - case OpArbitraryFloatCastToIntINTEL: return "OpArbitraryFloatCastToIntINTEL"; - case OpArbitraryFloatAddINTEL: return "OpArbitraryFloatAddINTEL"; - case OpArbitraryFloatSubINTEL: return "OpArbitraryFloatSubINTEL"; - case OpArbitraryFloatMulINTEL: return "OpArbitraryFloatMulINTEL"; - case OpArbitraryFloatDivINTEL: return "OpArbitraryFloatDivINTEL"; - case OpArbitraryFloatGTINTEL: return "OpArbitraryFloatGTINTEL"; - case OpArbitraryFloatGEINTEL: return "OpArbitraryFloatGEINTEL"; - case OpArbitraryFloatLTINTEL: return "OpArbitraryFloatLTINTEL"; - case OpArbitraryFloatLEINTEL: return "OpArbitraryFloatLEINTEL"; - case OpArbitraryFloatEQINTEL: return "OpArbitraryFloatEQINTEL"; - case OpArbitraryFloatRecipINTEL: return "OpArbitraryFloatRecipINTEL"; - case OpArbitraryFloatRSqrtINTEL: return "OpArbitraryFloatRSqrtINTEL"; - case OpArbitraryFloatCbrtINTEL: return "OpArbitraryFloatCbrtINTEL"; - case OpArbitraryFloatHypotINTEL: return "OpArbitraryFloatHypotINTEL"; - case OpArbitraryFloatSqrtINTEL: return "OpArbitraryFloatSqrtINTEL"; + case OpArbitraryFloatSinCosPiALTERA: return "OpArbitraryFloatSinCosPiALTERA"; + case OpArbitraryFloatCastALTERA: return "OpArbitraryFloatCastALTERA"; + case OpArbitraryFloatCastFromIntALTERA: return "OpArbitraryFloatCastFromIntALTERA"; + case OpArbitraryFloatCastToIntALTERA: return "OpArbitraryFloatCastToIntALTERA"; + case OpArbitraryFloatAddALTERA: return "OpArbitraryFloatAddALTERA"; + case OpArbitraryFloatSubALTERA: return "OpArbitraryFloatSubALTERA"; + case OpArbitraryFloatMulALTERA: return "OpArbitraryFloatMulALTERA"; + case OpArbitraryFloatDivALTERA: return "OpArbitraryFloatDivALTERA"; + case OpArbitraryFloatGTALTERA: return "OpArbitraryFloatGTALTERA"; + case OpArbitraryFloatGEALTERA: return "OpArbitraryFloatGEALTERA"; + case OpArbitraryFloatLTALTERA: return "OpArbitraryFloatLTALTERA"; + case OpArbitraryFloatLEALTERA: return "OpArbitraryFloatLEALTERA"; + case OpArbitraryFloatEQALTERA: return "OpArbitraryFloatEQALTERA"; + case OpArbitraryFloatRecipALTERA: return "OpArbitraryFloatRecipALTERA"; + case OpArbitraryFloatRSqrtALTERA: return "OpArbitraryFloatRSqrtALTERA"; + case OpArbitraryFloatCbrtALTERA: return "OpArbitraryFloatCbrtALTERA"; + case OpArbitraryFloatHypotALTERA: return "OpArbitraryFloatHypotALTERA"; + case OpArbitraryFloatSqrtALTERA: return "OpArbitraryFloatSqrtALTERA"; case OpArbitraryFloatLogINTEL: return "OpArbitraryFloatLogINTEL"; case OpArbitraryFloatLog2INTEL: return "OpArbitraryFloatLog2INTEL"; case OpArbitraryFloatLog10INTEL: return "OpArbitraryFloatLog10INTEL"; @@ -5188,22 +5314,22 @@ inline const char* OpToString(Op value) { case OpAliasDomainDeclINTEL: return "OpAliasDomainDeclINTEL"; case OpAliasScopeDeclINTEL: return "OpAliasScopeDeclINTEL"; case OpAliasScopeListDeclINTEL: return "OpAliasScopeListDeclINTEL"; - case OpFixedSqrtINTEL: return "OpFixedSqrtINTEL"; - case OpFixedRecipINTEL: return "OpFixedRecipINTEL"; - case OpFixedRsqrtINTEL: return "OpFixedRsqrtINTEL"; - case OpFixedSinINTEL: return "OpFixedSinINTEL"; - case OpFixedCosINTEL: return "OpFixedCosINTEL"; - case OpFixedSinCosINTEL: return "OpFixedSinCosINTEL"; - case OpFixedSinPiINTEL: return "OpFixedSinPiINTEL"; - case OpFixedCosPiINTEL: return "OpFixedCosPiINTEL"; - case OpFixedSinCosPiINTEL: return "OpFixedSinCosPiINTEL"; - case OpFixedLogINTEL: return "OpFixedLogINTEL"; - case OpFixedExpINTEL: return "OpFixedExpINTEL"; - case OpPtrCastToCrossWorkgroupINTEL: return "OpPtrCastToCrossWorkgroupINTEL"; - case OpCrossWorkgroupCastToPtrINTEL: return "OpCrossWorkgroupCastToPtrINTEL"; - case OpReadPipeBlockingINTEL: return "OpReadPipeBlockingINTEL"; - case OpWritePipeBlockingINTEL: return "OpWritePipeBlockingINTEL"; - case OpFPGARegINTEL: return "OpFPGARegINTEL"; + case OpFixedSqrtALTERA: return "OpFixedSqrtALTERA"; + case OpFixedRecipALTERA: return "OpFixedRecipALTERA"; + case OpFixedRsqrtALTERA: return "OpFixedRsqrtALTERA"; + case OpFixedSinALTERA: return "OpFixedSinALTERA"; + case OpFixedCosALTERA: return "OpFixedCosALTERA"; + case OpFixedSinCosALTERA: return "OpFixedSinCosALTERA"; + case OpFixedSinPiALTERA: return "OpFixedSinPiALTERA"; + case OpFixedCosPiALTERA: return "OpFixedCosPiALTERA"; + case OpFixedSinCosPiALTERA: return "OpFixedSinCosPiALTERA"; + case OpFixedLogALTERA: return "OpFixedLogALTERA"; + case OpFixedExpALTERA: return "OpFixedExpALTERA"; + case OpPtrCastToCrossWorkgroupALTERA: return "OpPtrCastToCrossWorkgroupALTERA"; + case OpCrossWorkgroupCastToPtrALTERA: return "OpCrossWorkgroupCastToPtrALTERA"; + case OpReadPipeBlockingALTERA: return "OpReadPipeBlockingALTERA"; + case OpWritePipeBlockingALTERA: return "OpWritePipeBlockingALTERA"; + case OpFPGARegALTERA: return "OpFPGARegALTERA"; case OpRayQueryGetRayTMinKHR: return "OpRayQueryGetRayTMinKHR"; case OpRayQueryGetRayFlagsKHR: return "OpRayQueryGetRayFlagsKHR"; case OpRayQueryGetIntersectionTKHR: return "OpRayQueryGetIntersectionTKHR"; @@ -5232,11 +5358,11 @@ inline const char* OpToString(Op value) { case OpControlBarrierArriveINTEL: return "OpControlBarrierArriveINTEL"; case OpControlBarrierWaitINTEL: return "OpControlBarrierWaitINTEL"; case OpArithmeticFenceEXT: return "OpArithmeticFenceEXT"; - case OpTaskSequenceCreateINTEL: return "OpTaskSequenceCreateINTEL"; - case OpTaskSequenceAsyncINTEL: return "OpTaskSequenceAsyncINTEL"; - case OpTaskSequenceGetINTEL: return "OpTaskSequenceGetINTEL"; - case OpTaskSequenceReleaseINTEL: return "OpTaskSequenceReleaseINTEL"; - case OpTypeTaskSequenceINTEL: return "OpTypeTaskSequenceINTEL"; + case OpTaskSequenceCreateALTERA: return "OpTaskSequenceCreateALTERA"; + case OpTaskSequenceAsyncALTERA: return "OpTaskSequenceAsyncALTERA"; + case OpTaskSequenceGetALTERA: return "OpTaskSequenceGetALTERA"; + case OpTaskSequenceReleaseALTERA: return "OpTaskSequenceReleaseALTERA"; + case OpTypeTaskSequenceALTERA: return "OpTypeTaskSequenceALTERA"; case OpSubgroupBlockPrefetchINTEL: return "OpSubgroupBlockPrefetchINTEL"; case OpSubgroup2DBlockLoadINTEL: return "OpSubgroup2DBlockLoadINTEL"; case OpSubgroup2DBlockLoadTransformINTEL: return "OpSubgroup2DBlockLoadTransformINTEL"; diff --git a/include/spirv/unified1/spirv.hpp11 b/include/spirv/unified1/spirv.hpp11 index 3f6ec4fa1..c2fbc0e8d 100644 --- a/include/spirv/unified1/spirv.hpp11 +++ b/include/spirv/unified1/spirv.hpp11 @@ -247,7 +247,9 @@ enum class StorageClass : unsigned { HitObjectAttributeNV = 5385, TaskPayloadWorkgroupEXT = 5402, CodeSectionINTEL = 5605, + DeviceOnlyALTERA = 5936, DeviceOnlyINTEL = 5936, + HostOnlyALTERA = 5937, HostOnlyINTEL = 5937, Max = 0x7fffffff, }; @@ -486,6 +488,7 @@ enum class FunctionParameterAttribute : unsigned { NoCapture = 5, NoWrite = 6, NoReadWrite = 7, + RuntimeAlignedALTERA = 5940, RuntimeAlignedINTEL = 5940, Max = 0x7fffffff, }; @@ -590,54 +593,95 @@ enum class Decoration : unsigned { UserTypeGOOGLE = 5636, FunctionRoundingModeINTEL = 5822, FunctionDenormModeINTEL = 5823, + RegisterALTERA = 5825, RegisterINTEL = 5825, + MemoryALTERA = 5826, MemoryINTEL = 5826, + NumbanksALTERA = 5827, NumbanksINTEL = 5827, + BankwidthALTERA = 5828, BankwidthINTEL = 5828, + MaxPrivateCopiesALTERA = 5829, MaxPrivateCopiesINTEL = 5829, + SinglepumpALTERA = 5830, SinglepumpINTEL = 5830, + DoublepumpALTERA = 5831, DoublepumpINTEL = 5831, + MaxReplicatesALTERA = 5832, MaxReplicatesINTEL = 5832, + SimpleDualPortALTERA = 5833, SimpleDualPortINTEL = 5833, + MergeALTERA = 5834, MergeINTEL = 5834, + BankBitsALTERA = 5835, BankBitsINTEL = 5835, + ForcePow2DepthALTERA = 5836, ForcePow2DepthINTEL = 5836, + StridesizeALTERA = 5883, StridesizeINTEL = 5883, + WordsizeALTERA = 5884, WordsizeINTEL = 5884, + TrueDualPortALTERA = 5885, TrueDualPortINTEL = 5885, + BurstCoalesceALTERA = 5899, BurstCoalesceINTEL = 5899, + CacheSizeALTERA = 5900, CacheSizeINTEL = 5900, + DontStaticallyCoalesceALTERA = 5901, DontStaticallyCoalesceINTEL = 5901, + PrefetchALTERA = 5902, PrefetchINTEL = 5902, + StallEnableALTERA = 5905, StallEnableINTEL = 5905, + FuseLoopsInFunctionALTERA = 5907, FuseLoopsInFunctionINTEL = 5907, + MathOpDSPModeALTERA = 5909, MathOpDSPModeINTEL = 5909, AliasScopeINTEL = 5914, NoAliasINTEL = 5915, + InitiationIntervalALTERA = 5917, InitiationIntervalINTEL = 5917, + MaxConcurrencyALTERA = 5918, MaxConcurrencyINTEL = 5918, + PipelineEnableALTERA = 5919, PipelineEnableINTEL = 5919, + BufferLocationALTERA = 5921, BufferLocationINTEL = 5921, + IOPipeStorageALTERA = 5944, IOPipeStorageINTEL = 5944, FunctionFloatingPointModeINTEL = 6080, SingleElementVectorINTEL = 6085, VectorComputeCallableFunctionINTEL = 6087, MediaBlockIOINTEL = 6140, + StallFreeALTERA = 6151, StallFreeINTEL = 6151, FPMaxErrorDecorationINTEL = 6170, + LatencyControlLabelALTERA = 6172, LatencyControlLabelINTEL = 6172, + LatencyControlConstraintALTERA = 6173, LatencyControlConstraintINTEL = 6173, + ConduitKernelArgumentALTERA = 6175, ConduitKernelArgumentINTEL = 6175, + RegisterMapKernelArgumentALTERA = 6176, RegisterMapKernelArgumentINTEL = 6176, + MMHostInterfaceAddressWidthALTERA = 6177, MMHostInterfaceAddressWidthINTEL = 6177, + MMHostInterfaceDataWidthALTERA = 6178, MMHostInterfaceDataWidthINTEL = 6178, + MMHostInterfaceLatencyALTERA = 6179, MMHostInterfaceLatencyINTEL = 6179, + MMHostInterfaceReadWriteModeALTERA = 6180, MMHostInterfaceReadWriteModeINTEL = 6180, + MMHostInterfaceMaxBurstALTERA = 6181, MMHostInterfaceMaxBurstINTEL = 6181, + MMHostInterfaceWaitRequestALTERA = 6182, MMHostInterfaceWaitRequestINTEL = 6182, + StableKernelArgumentALTERA = 6183, StableKernelArgumentINTEL = 6183, HostAccessINTEL = 6188, + InitModeALTERA = 6190, InitModeINTEL = 6190, + ImplementInRegisterMapALTERA = 6191, ImplementInRegisterMapINTEL = 6191, ConditionalINTEL = 6247, CacheControlLoadINTEL = 6442, @@ -819,15 +863,25 @@ enum class LoopControlShift : unsigned { IterationMultiple = 6, PeelCount = 7, PartialCount = 8, + InitiationIntervalALTERA = 16, InitiationIntervalINTEL = 16, + MaxConcurrencyALTERA = 17, MaxConcurrencyINTEL = 17, + DependencyArrayALTERA = 18, DependencyArrayINTEL = 18, + PipelineEnableALTERA = 19, PipelineEnableINTEL = 19, + LoopCoalesceALTERA = 20, LoopCoalesceINTEL = 20, + MaxInterleavingALTERA = 21, MaxInterleavingINTEL = 21, + SpeculatedIterationsALTERA = 22, SpeculatedIterationsINTEL = 22, + NoFusionALTERA = 23, NoFusionINTEL = 23, + LoopCountALTERA = 24, LoopCountINTEL = 24, + MaxReinvocationDelayALTERA = 25, MaxReinvocationDelayINTEL = 25, Max = 0x7fffffff, }; @@ -843,15 +897,25 @@ enum class LoopControlMask : unsigned { IterationMultiple = 0x00000040, PeelCount = 0x00000080, PartialCount = 0x00000100, + InitiationIntervalALTERA = 0x00010000, InitiationIntervalINTEL = 0x00010000, + MaxConcurrencyALTERA = 0x00020000, MaxConcurrencyINTEL = 0x00020000, + DependencyArrayALTERA = 0x00040000, DependencyArrayINTEL = 0x00040000, + PipelineEnableALTERA = 0x00080000, PipelineEnableINTEL = 0x00080000, + LoopCoalesceALTERA = 0x00100000, LoopCoalesceINTEL = 0x00100000, + MaxInterleavingALTERA = 0x00200000, MaxInterleavingINTEL = 0x00200000, + SpeculatedIterationsALTERA = 0x00400000, SpeculatedIterationsINTEL = 0x00400000, + NoFusionALTERA = 0x00800000, NoFusionINTEL = 0x00800000, + LoopCountALTERA = 0x01000000, LoopCountINTEL = 0x01000000, + MaxReinvocationDelayALTERA = 0x02000000, MaxReinvocationDelayINTEL = 0x02000000, }; @@ -1223,26 +1287,42 @@ enum class Capability : unsigned { SubgroupAvcMotionEstimationChromaINTEL = 5698, VariableLengthArrayINTEL = 5817, FunctionFloatControlINTEL = 5821, + FPGAMemoryAttributesALTERA = 5824, FPGAMemoryAttributesINTEL = 5824, FPFastMathModeINTEL = 5837, + ArbitraryPrecisionIntegersALTERA = 5844, ArbitraryPrecisionIntegersINTEL = 5844, + ArbitraryPrecisionFloatingPointALTERA = 5845, ArbitraryPrecisionFloatingPointINTEL = 5845, UnstructuredLoopControlsINTEL = 5886, + FPGALoopControlsALTERA = 5888, FPGALoopControlsINTEL = 5888, KernelAttributesINTEL = 5892, FPGAKernelAttributesINTEL = 5897, + FPGAMemoryAccessesALTERA = 5898, FPGAMemoryAccessesINTEL = 5898, + FPGAClusterAttributesALTERA = 5904, FPGAClusterAttributesINTEL = 5904, + LoopFuseALTERA = 5906, LoopFuseINTEL = 5906, + FPGADSPControlALTERA = 5908, FPGADSPControlINTEL = 5908, MemoryAccessAliasingINTEL = 5910, + FPGAInvocationPipeliningAttributesALTERA = 5916, FPGAInvocationPipeliningAttributesINTEL = 5916, + FPGABufferLocationALTERA = 5920, FPGABufferLocationINTEL = 5920, + ArbitraryPrecisionFixedPointALTERA = 5922, ArbitraryPrecisionFixedPointINTEL = 5922, + USMStorageClassesALTERA = 5935, USMStorageClassesINTEL = 5935, + RuntimeAlignedAttributeALTERA = 5939, RuntimeAlignedAttributeINTEL = 5939, + IOPipesALTERA = 5943, IOPipesINTEL = 5943, + BlockingPipesALTERA = 5945, BlockingPipesINTEL = 5945, + FPGARegALTERA = 5948, FPGARegINTEL = 5948, DotProductInputAll = 6016, DotProductInputAllKHR = 6016, @@ -1269,13 +1349,18 @@ enum class Capability : unsigned { BFloat16ConversionINTEL = 6115, SplitBarrierINTEL = 6141, ArithmeticFenceEXT = 6144, + FPGAClusterAttributesV2ALTERA = 6150, FPGAClusterAttributesV2INTEL = 6150, FPGAKernelAttributesv2INTEL = 6161, + TaskSequenceALTERA = 6162, TaskSequenceINTEL = 6162, FPMaxErrorINTEL = 6169, + FPGALatencyControlALTERA = 6171, FPGALatencyControlINTEL = 6171, + FPGAArgumentInterfacesALTERA = 6174, FPGAArgumentInterfacesINTEL = 6174, GlobalVariableHostAccessINTEL = 6187, + GlobalVariableFPGADecorationsALTERA = 6189, GlobalVariableFPGADecorationsINTEL = 6189, SubgroupBufferPrefetchINTEL = 6220, Subgroup2DBlockIOINTEL = 6228, @@ -1487,7 +1572,9 @@ enum class TensorOperandsMask : unsigned { }; enum class InitializationModeQualifier : unsigned { + InitOnDeviceReprogramALTERA = 0, InitOnDeviceReprogramINTEL = 0, + InitOnDeviceResetALTERA = 1, InitOnDeviceResetINTEL = 1, Max = 0x7fffffff, }; @@ -2315,23 +2402,41 @@ enum class Op : unsigned { OpVariableLengthArrayINTEL = 5818, OpSaveMemoryINTEL = 5819, OpRestoreMemoryINTEL = 5820, + OpArbitraryFloatSinCosPiALTERA = 5840, OpArbitraryFloatSinCosPiINTEL = 5840, + OpArbitraryFloatCastALTERA = 5841, OpArbitraryFloatCastINTEL = 5841, + OpArbitraryFloatCastFromIntALTERA = 5842, OpArbitraryFloatCastFromIntINTEL = 5842, + OpArbitraryFloatCastToIntALTERA = 5843, OpArbitraryFloatCastToIntINTEL = 5843, + OpArbitraryFloatAddALTERA = 5846, OpArbitraryFloatAddINTEL = 5846, + OpArbitraryFloatSubALTERA = 5847, OpArbitraryFloatSubINTEL = 5847, + OpArbitraryFloatMulALTERA = 5848, OpArbitraryFloatMulINTEL = 5848, + OpArbitraryFloatDivALTERA = 5849, OpArbitraryFloatDivINTEL = 5849, + OpArbitraryFloatGTALTERA = 5850, OpArbitraryFloatGTINTEL = 5850, + OpArbitraryFloatGEALTERA = 5851, OpArbitraryFloatGEINTEL = 5851, + OpArbitraryFloatLTALTERA = 5852, OpArbitraryFloatLTINTEL = 5852, + OpArbitraryFloatLEALTERA = 5853, OpArbitraryFloatLEINTEL = 5853, + OpArbitraryFloatEQALTERA = 5854, OpArbitraryFloatEQINTEL = 5854, + OpArbitraryFloatRecipALTERA = 5855, OpArbitraryFloatRecipINTEL = 5855, + OpArbitraryFloatRSqrtALTERA = 5856, OpArbitraryFloatRSqrtINTEL = 5856, + OpArbitraryFloatCbrtALTERA = 5857, OpArbitraryFloatCbrtINTEL = 5857, + OpArbitraryFloatHypotALTERA = 5858, OpArbitraryFloatHypotINTEL = 5858, + OpArbitraryFloatSqrtALTERA = 5859, OpArbitraryFloatSqrtINTEL = 5859, OpArbitraryFloatLogINTEL = 5860, OpArbitraryFloatLog2INTEL = 5861, @@ -2360,21 +2465,37 @@ enum class Op : unsigned { OpAliasDomainDeclINTEL = 5911, OpAliasScopeDeclINTEL = 5912, OpAliasScopeListDeclINTEL = 5913, + OpFixedSqrtALTERA = 5923, OpFixedSqrtINTEL = 5923, + OpFixedRecipALTERA = 5924, OpFixedRecipINTEL = 5924, + OpFixedRsqrtALTERA = 5925, OpFixedRsqrtINTEL = 5925, + OpFixedSinALTERA = 5926, OpFixedSinINTEL = 5926, + OpFixedCosALTERA = 5927, OpFixedCosINTEL = 5927, + OpFixedSinCosALTERA = 5928, OpFixedSinCosINTEL = 5928, + OpFixedSinPiALTERA = 5929, OpFixedSinPiINTEL = 5929, + OpFixedCosPiALTERA = 5930, OpFixedCosPiINTEL = 5930, + OpFixedSinCosPiALTERA = 5931, OpFixedSinCosPiINTEL = 5931, + OpFixedLogALTERA = 5932, OpFixedLogINTEL = 5932, + OpFixedExpALTERA = 5933, OpFixedExpINTEL = 5933, + OpPtrCastToCrossWorkgroupALTERA = 5934, OpPtrCastToCrossWorkgroupINTEL = 5934, + OpCrossWorkgroupCastToPtrALTERA = 5938, OpCrossWorkgroupCastToPtrINTEL = 5938, + OpReadPipeBlockingALTERA = 5946, OpReadPipeBlockingINTEL = 5946, + OpWritePipeBlockingALTERA = 5947, OpWritePipeBlockingINTEL = 5947, + OpFPGARegALTERA = 5949, OpFPGARegINTEL = 5949, OpRayQueryGetRayTMinKHR = 6016, OpRayQueryGetRayFlagsKHR = 6017, @@ -2404,10 +2525,15 @@ enum class Op : unsigned { OpControlBarrierArriveINTEL = 6142, OpControlBarrierWaitINTEL = 6143, OpArithmeticFenceEXT = 6145, + OpTaskSequenceCreateALTERA = 6163, OpTaskSequenceCreateINTEL = 6163, + OpTaskSequenceAsyncALTERA = 6164, OpTaskSequenceAsyncINTEL = 6164, + OpTaskSequenceGetALTERA = 6165, OpTaskSequenceGetINTEL = 6165, + OpTaskSequenceReleaseALTERA = 6166, OpTaskSequenceReleaseINTEL = 6166, + OpTypeTaskSequenceALTERA = 6199, OpTypeTaskSequenceINTEL = 6199, OpSubgroupBlockPrefetchINTEL = 6221, OpSubgroup2DBlockLoadINTEL = 6231, @@ -3148,24 +3274,24 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { case Op::OpVariableLengthArrayINTEL: *hasResult = true; *hasResultType = true; break; case Op::OpSaveMemoryINTEL: *hasResult = true; *hasResultType = true; break; case Op::OpRestoreMemoryINTEL: *hasResult = false; *hasResultType = false; break; - case Op::OpArbitraryFloatSinCosPiINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpArbitraryFloatCastINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpArbitraryFloatCastFromIntINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpArbitraryFloatCastToIntINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpArbitraryFloatAddINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpArbitraryFloatSubINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpArbitraryFloatMulINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpArbitraryFloatDivINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpArbitraryFloatGTINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpArbitraryFloatGEINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpArbitraryFloatLTINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpArbitraryFloatLEINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpArbitraryFloatEQINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpArbitraryFloatRecipINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpArbitraryFloatRSqrtINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpArbitraryFloatCbrtINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpArbitraryFloatHypotINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpArbitraryFloatSqrtINTEL: *hasResult = true; *hasResultType = true; break; + case Op::OpArbitraryFloatSinCosPiALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpArbitraryFloatCastALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpArbitraryFloatCastFromIntALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpArbitraryFloatCastToIntALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpArbitraryFloatAddALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpArbitraryFloatSubALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpArbitraryFloatMulALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpArbitraryFloatDivALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpArbitraryFloatGTALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpArbitraryFloatGEALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpArbitraryFloatLTALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpArbitraryFloatLEALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpArbitraryFloatEQALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpArbitraryFloatRecipALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpArbitraryFloatRSqrtALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpArbitraryFloatCbrtALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpArbitraryFloatHypotALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpArbitraryFloatSqrtALTERA: *hasResult = true; *hasResultType = true; break; case Op::OpArbitraryFloatLogINTEL: *hasResult = true; *hasResultType = true; break; case Op::OpArbitraryFloatLog2INTEL: *hasResult = true; *hasResultType = true; break; case Op::OpArbitraryFloatLog10INTEL: *hasResult = true; *hasResultType = true; break; @@ -3193,22 +3319,22 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { case Op::OpAliasDomainDeclINTEL: *hasResult = true; *hasResultType = false; break; case Op::OpAliasScopeDeclINTEL: *hasResult = true; *hasResultType = false; break; case Op::OpAliasScopeListDeclINTEL: *hasResult = true; *hasResultType = false; break; - case Op::OpFixedSqrtINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpFixedRecipINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpFixedRsqrtINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpFixedSinINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpFixedCosINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpFixedSinCosINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpFixedSinPiINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpFixedCosPiINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpFixedSinCosPiINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpFixedLogINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpFixedExpINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpPtrCastToCrossWorkgroupINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpCrossWorkgroupCastToPtrINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpReadPipeBlockingINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpWritePipeBlockingINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpFPGARegINTEL: *hasResult = true; *hasResultType = true; break; + case Op::OpFixedSqrtALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpFixedRecipALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpFixedRsqrtALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpFixedSinALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpFixedCosALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpFixedSinCosALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpFixedSinPiALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpFixedCosPiALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpFixedSinCosPiALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpFixedLogALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpFixedExpALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpPtrCastToCrossWorkgroupALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpCrossWorkgroupCastToPtrALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpReadPipeBlockingALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpWritePipeBlockingALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpFPGARegALTERA: *hasResult = true; *hasResultType = true; break; case Op::OpRayQueryGetRayTMinKHR: *hasResult = true; *hasResultType = true; break; case Op::OpRayQueryGetRayFlagsKHR: *hasResult = true; *hasResultType = true; break; case Op::OpRayQueryGetIntersectionTKHR: *hasResult = true; *hasResultType = true; break; @@ -3237,11 +3363,11 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { case Op::OpControlBarrierArriveINTEL: *hasResult = false; *hasResultType = false; break; case Op::OpControlBarrierWaitINTEL: *hasResult = false; *hasResultType = false; break; case Op::OpArithmeticFenceEXT: *hasResult = true; *hasResultType = true; break; - case Op::OpTaskSequenceCreateINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpTaskSequenceAsyncINTEL: *hasResult = false; *hasResultType = false; break; - case Op::OpTaskSequenceGetINTEL: *hasResult = true; *hasResultType = true; break; - case Op::OpTaskSequenceReleaseINTEL: *hasResult = false; *hasResultType = false; break; - case Op::OpTypeTaskSequenceINTEL: *hasResult = true; *hasResultType = false; break; + case Op::OpTaskSequenceCreateALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpTaskSequenceAsyncALTERA: *hasResult = false; *hasResultType = false; break; + case Op::OpTaskSequenceGetALTERA: *hasResult = true; *hasResultType = true; break; + case Op::OpTaskSequenceReleaseALTERA: *hasResult = false; *hasResultType = false; break; + case Op::OpTypeTaskSequenceALTERA: *hasResult = true; *hasResultType = false; break; case Op::OpSubgroupBlockPrefetchINTEL: *hasResult = false; *hasResultType = false; break; case Op::OpSubgroup2DBlockLoadINTEL: *hasResult = false; *hasResultType = false; break; case Op::OpSubgroup2DBlockLoadTransformINTEL: *hasResult = false; *hasResultType = false; break; @@ -3468,8 +3594,8 @@ inline const char* StorageClassToString(StorageClass value) { case StorageClass::HitObjectAttributeNV: return "HitObjectAttributeNV"; case StorageClass::TaskPayloadWorkgroupEXT: return "TaskPayloadWorkgroupEXT"; case StorageClass::CodeSectionINTEL: return "CodeSectionINTEL"; - case StorageClass::DeviceOnlyINTEL: return "DeviceOnlyINTEL"; - case StorageClass::HostOnlyINTEL: return "HostOnlyINTEL"; + case StorageClass::DeviceOnlyALTERA: return "DeviceOnlyALTERA"; + case StorageClass::HostOnlyALTERA: return "HostOnlyALTERA"; default: return "Unknown"; } } @@ -3651,7 +3777,7 @@ inline const char* FunctionParameterAttributeToString(FunctionParameterAttribute case FunctionParameterAttribute::NoCapture: return "NoCapture"; case FunctionParameterAttribute::NoWrite: return "NoWrite"; case FunctionParameterAttribute::NoReadWrite: return "NoReadWrite"; - case FunctionParameterAttribute::RuntimeAlignedINTEL: return "RuntimeAlignedINTEL"; + case FunctionParameterAttribute::RuntimeAlignedALTERA: return "RuntimeAlignedALTERA"; default: return "Unknown"; } } @@ -3750,55 +3876,55 @@ inline const char* DecorationToString(Decoration value) { case Decoration::UserTypeGOOGLE: return "UserTypeGOOGLE"; case Decoration::FunctionRoundingModeINTEL: return "FunctionRoundingModeINTEL"; case Decoration::FunctionDenormModeINTEL: return "FunctionDenormModeINTEL"; - case Decoration::RegisterINTEL: return "RegisterINTEL"; - case Decoration::MemoryINTEL: return "MemoryINTEL"; - case Decoration::NumbanksINTEL: return "NumbanksINTEL"; - case Decoration::BankwidthINTEL: return "BankwidthINTEL"; - case Decoration::MaxPrivateCopiesINTEL: return "MaxPrivateCopiesINTEL"; - case Decoration::SinglepumpINTEL: return "SinglepumpINTEL"; - case Decoration::DoublepumpINTEL: return "DoublepumpINTEL"; - case Decoration::MaxReplicatesINTEL: return "MaxReplicatesINTEL"; - case Decoration::SimpleDualPortINTEL: return "SimpleDualPortINTEL"; - case Decoration::MergeINTEL: return "MergeINTEL"; - case Decoration::BankBitsINTEL: return "BankBitsINTEL"; - case Decoration::ForcePow2DepthINTEL: return "ForcePow2DepthINTEL"; - case Decoration::StridesizeINTEL: return "StridesizeINTEL"; - case Decoration::WordsizeINTEL: return "WordsizeINTEL"; - case Decoration::TrueDualPortINTEL: return "TrueDualPortINTEL"; - case Decoration::BurstCoalesceINTEL: return "BurstCoalesceINTEL"; - case Decoration::CacheSizeINTEL: return "CacheSizeINTEL"; - case Decoration::DontStaticallyCoalesceINTEL: return "DontStaticallyCoalesceINTEL"; - case Decoration::PrefetchINTEL: return "PrefetchINTEL"; - case Decoration::StallEnableINTEL: return "StallEnableINTEL"; - case Decoration::FuseLoopsInFunctionINTEL: return "FuseLoopsInFunctionINTEL"; - case Decoration::MathOpDSPModeINTEL: return "MathOpDSPModeINTEL"; + case Decoration::RegisterALTERA: return "RegisterALTERA"; + case Decoration::MemoryALTERA: return "MemoryALTERA"; + case Decoration::NumbanksALTERA: return "NumbanksALTERA"; + case Decoration::BankwidthALTERA: return "BankwidthALTERA"; + case Decoration::MaxPrivateCopiesALTERA: return "MaxPrivateCopiesALTERA"; + case Decoration::SinglepumpALTERA: return "SinglepumpALTERA"; + case Decoration::DoublepumpALTERA: return "DoublepumpALTERA"; + case Decoration::MaxReplicatesALTERA: return "MaxReplicatesALTERA"; + case Decoration::SimpleDualPortALTERA: return "SimpleDualPortALTERA"; + case Decoration::MergeALTERA: return "MergeALTERA"; + case Decoration::BankBitsALTERA: return "BankBitsALTERA"; + case Decoration::ForcePow2DepthALTERA: return "ForcePow2DepthALTERA"; + case Decoration::StridesizeALTERA: return "StridesizeALTERA"; + case Decoration::WordsizeALTERA: return "WordsizeALTERA"; + case Decoration::TrueDualPortALTERA: return "TrueDualPortALTERA"; + case Decoration::BurstCoalesceALTERA: return "BurstCoalesceALTERA"; + case Decoration::CacheSizeALTERA: return "CacheSizeALTERA"; + case Decoration::DontStaticallyCoalesceALTERA: return "DontStaticallyCoalesceALTERA"; + case Decoration::PrefetchALTERA: return "PrefetchALTERA"; + case Decoration::StallEnableALTERA: return "StallEnableALTERA"; + case Decoration::FuseLoopsInFunctionALTERA: return "FuseLoopsInFunctionALTERA"; + case Decoration::MathOpDSPModeALTERA: return "MathOpDSPModeALTERA"; case Decoration::AliasScopeINTEL: return "AliasScopeINTEL"; case Decoration::NoAliasINTEL: return "NoAliasINTEL"; - case Decoration::InitiationIntervalINTEL: return "InitiationIntervalINTEL"; - case Decoration::MaxConcurrencyINTEL: return "MaxConcurrencyINTEL"; - case Decoration::PipelineEnableINTEL: return "PipelineEnableINTEL"; - case Decoration::BufferLocationINTEL: return "BufferLocationINTEL"; - case Decoration::IOPipeStorageINTEL: return "IOPipeStorageINTEL"; + case Decoration::InitiationIntervalALTERA: return "InitiationIntervalALTERA"; + case Decoration::MaxConcurrencyALTERA: return "MaxConcurrencyALTERA"; + case Decoration::PipelineEnableALTERA: return "PipelineEnableALTERA"; + case Decoration::BufferLocationALTERA: return "BufferLocationALTERA"; + case Decoration::IOPipeStorageALTERA: return "IOPipeStorageALTERA"; case Decoration::FunctionFloatingPointModeINTEL: return "FunctionFloatingPointModeINTEL"; case Decoration::SingleElementVectorINTEL: return "SingleElementVectorINTEL"; case Decoration::VectorComputeCallableFunctionINTEL: return "VectorComputeCallableFunctionINTEL"; case Decoration::MediaBlockIOINTEL: return "MediaBlockIOINTEL"; - case Decoration::StallFreeINTEL: return "StallFreeINTEL"; + case Decoration::StallFreeALTERA: return "StallFreeALTERA"; case Decoration::FPMaxErrorDecorationINTEL: return "FPMaxErrorDecorationINTEL"; - case Decoration::LatencyControlLabelINTEL: return "LatencyControlLabelINTEL"; - case Decoration::LatencyControlConstraintINTEL: return "LatencyControlConstraintINTEL"; - case Decoration::ConduitKernelArgumentINTEL: return "ConduitKernelArgumentINTEL"; - case Decoration::RegisterMapKernelArgumentINTEL: return "RegisterMapKernelArgumentINTEL"; - case Decoration::MMHostInterfaceAddressWidthINTEL: return "MMHostInterfaceAddressWidthINTEL"; - case Decoration::MMHostInterfaceDataWidthINTEL: return "MMHostInterfaceDataWidthINTEL"; - case Decoration::MMHostInterfaceLatencyINTEL: return "MMHostInterfaceLatencyINTEL"; - case Decoration::MMHostInterfaceReadWriteModeINTEL: return "MMHostInterfaceReadWriteModeINTEL"; - case Decoration::MMHostInterfaceMaxBurstINTEL: return "MMHostInterfaceMaxBurstINTEL"; - case Decoration::MMHostInterfaceWaitRequestINTEL: return "MMHostInterfaceWaitRequestINTEL"; - case Decoration::StableKernelArgumentINTEL: return "StableKernelArgumentINTEL"; + case Decoration::LatencyControlLabelALTERA: return "LatencyControlLabelALTERA"; + case Decoration::LatencyControlConstraintALTERA: return "LatencyControlConstraintALTERA"; + case Decoration::ConduitKernelArgumentALTERA: return "ConduitKernelArgumentALTERA"; + case Decoration::RegisterMapKernelArgumentALTERA: return "RegisterMapKernelArgumentALTERA"; + case Decoration::MMHostInterfaceAddressWidthALTERA: return "MMHostInterfaceAddressWidthALTERA"; + case Decoration::MMHostInterfaceDataWidthALTERA: return "MMHostInterfaceDataWidthALTERA"; + case Decoration::MMHostInterfaceLatencyALTERA: return "MMHostInterfaceLatencyALTERA"; + case Decoration::MMHostInterfaceReadWriteModeALTERA: return "MMHostInterfaceReadWriteModeALTERA"; + case Decoration::MMHostInterfaceMaxBurstALTERA: return "MMHostInterfaceMaxBurstALTERA"; + case Decoration::MMHostInterfaceWaitRequestALTERA: return "MMHostInterfaceWaitRequestALTERA"; + case Decoration::StableKernelArgumentALTERA: return "StableKernelArgumentALTERA"; case Decoration::HostAccessINTEL: return "HostAccessINTEL"; - case Decoration::InitModeINTEL: return "InitModeINTEL"; - case Decoration::ImplementInRegisterMapINTEL: return "ImplementInRegisterMapINTEL"; + case Decoration::InitModeALTERA: return "InitModeALTERA"; + case Decoration::ImplementInRegisterMapALTERA: return "ImplementInRegisterMapALTERA"; case Decoration::ConditionalINTEL: return "ConditionalINTEL"; case Decoration::CacheControlLoadINTEL: return "CacheControlLoadINTEL"; case Decoration::CacheControlStoreINTEL: return "CacheControlStoreINTEL"; @@ -4187,27 +4313,27 @@ inline const char* CapabilityToString(Capability value) { case Capability::SubgroupAvcMotionEstimationChromaINTEL: return "SubgroupAvcMotionEstimationChromaINTEL"; case Capability::VariableLengthArrayINTEL: return "VariableLengthArrayINTEL"; case Capability::FunctionFloatControlINTEL: return "FunctionFloatControlINTEL"; - case Capability::FPGAMemoryAttributesINTEL: return "FPGAMemoryAttributesINTEL"; + case Capability::FPGAMemoryAttributesALTERA: return "FPGAMemoryAttributesALTERA"; case Capability::FPFastMathModeINTEL: return "FPFastMathModeINTEL"; - case Capability::ArbitraryPrecisionIntegersINTEL: return "ArbitraryPrecisionIntegersINTEL"; - case Capability::ArbitraryPrecisionFloatingPointINTEL: return "ArbitraryPrecisionFloatingPointINTEL"; + case Capability::ArbitraryPrecisionIntegersALTERA: return "ArbitraryPrecisionIntegersALTERA"; + case Capability::ArbitraryPrecisionFloatingPointALTERA: return "ArbitraryPrecisionFloatingPointALTERA"; case Capability::UnstructuredLoopControlsINTEL: return "UnstructuredLoopControlsINTEL"; - case Capability::FPGALoopControlsINTEL: return "FPGALoopControlsINTEL"; + case Capability::FPGALoopControlsALTERA: return "FPGALoopControlsALTERA"; case Capability::KernelAttributesINTEL: return "KernelAttributesINTEL"; case Capability::FPGAKernelAttributesINTEL: return "FPGAKernelAttributesINTEL"; - case Capability::FPGAMemoryAccessesINTEL: return "FPGAMemoryAccessesINTEL"; - case Capability::FPGAClusterAttributesINTEL: return "FPGAClusterAttributesINTEL"; - case Capability::LoopFuseINTEL: return "LoopFuseINTEL"; - case Capability::FPGADSPControlINTEL: return "FPGADSPControlINTEL"; + case Capability::FPGAMemoryAccessesALTERA: return "FPGAMemoryAccessesALTERA"; + case Capability::FPGAClusterAttributesALTERA: return "FPGAClusterAttributesALTERA"; + case Capability::LoopFuseALTERA: return "LoopFuseALTERA"; + case Capability::FPGADSPControlALTERA: return "FPGADSPControlALTERA"; case Capability::MemoryAccessAliasingINTEL: return "MemoryAccessAliasingINTEL"; - case Capability::FPGAInvocationPipeliningAttributesINTEL: return "FPGAInvocationPipeliningAttributesINTEL"; - case Capability::FPGABufferLocationINTEL: return "FPGABufferLocationINTEL"; - case Capability::ArbitraryPrecisionFixedPointINTEL: return "ArbitraryPrecisionFixedPointINTEL"; - case Capability::USMStorageClassesINTEL: return "USMStorageClassesINTEL"; - case Capability::RuntimeAlignedAttributeINTEL: return "RuntimeAlignedAttributeINTEL"; - case Capability::IOPipesINTEL: return "IOPipesINTEL"; - case Capability::BlockingPipesINTEL: return "BlockingPipesINTEL"; - case Capability::FPGARegINTEL: return "FPGARegINTEL"; + case Capability::FPGAInvocationPipeliningAttributesALTERA: return "FPGAInvocationPipeliningAttributesALTERA"; + case Capability::FPGABufferLocationALTERA: return "FPGABufferLocationALTERA"; + case Capability::ArbitraryPrecisionFixedPointALTERA: return "ArbitraryPrecisionFixedPointALTERA"; + case Capability::USMStorageClassesALTERA: return "USMStorageClassesALTERA"; + case Capability::RuntimeAlignedAttributeALTERA: return "RuntimeAlignedAttributeALTERA"; + case Capability::IOPipesALTERA: return "IOPipesALTERA"; + case Capability::BlockingPipesALTERA: return "BlockingPipesALTERA"; + case Capability::FPGARegALTERA: return "FPGARegALTERA"; case Capability::DotProductInputAll: return "DotProductInputAll"; case Capability::DotProductInput4x8Bit: return "DotProductInput4x8Bit"; case Capability::DotProductInput4x8BitPacked: return "DotProductInput4x8BitPacked"; @@ -4228,14 +4354,14 @@ inline const char* CapabilityToString(Capability value) { case Capability::BFloat16ConversionINTEL: return "BFloat16ConversionINTEL"; case Capability::SplitBarrierINTEL: return "SplitBarrierINTEL"; case Capability::ArithmeticFenceEXT: return "ArithmeticFenceEXT"; - case Capability::FPGAClusterAttributesV2INTEL: return "FPGAClusterAttributesV2INTEL"; + case Capability::FPGAClusterAttributesV2ALTERA: return "FPGAClusterAttributesV2ALTERA"; case Capability::FPGAKernelAttributesv2INTEL: return "FPGAKernelAttributesv2INTEL"; - case Capability::TaskSequenceINTEL: return "TaskSequenceINTEL"; + case Capability::TaskSequenceALTERA: return "TaskSequenceALTERA"; case Capability::FPMaxErrorINTEL: return "FPMaxErrorINTEL"; - case Capability::FPGALatencyControlINTEL: return "FPGALatencyControlINTEL"; - case Capability::FPGAArgumentInterfacesINTEL: return "FPGAArgumentInterfacesINTEL"; + case Capability::FPGALatencyControlALTERA: return "FPGALatencyControlALTERA"; + case Capability::FPGAArgumentInterfacesALTERA: return "FPGAArgumentInterfacesALTERA"; case Capability::GlobalVariableHostAccessINTEL: return "GlobalVariableHostAccessINTEL"; - case Capability::GlobalVariableFPGADecorationsINTEL: return "GlobalVariableFPGADecorationsINTEL"; + case Capability::GlobalVariableFPGADecorationsALTERA: return "GlobalVariableFPGADecorationsALTERA"; case Capability::SubgroupBufferPrefetchINTEL: return "SubgroupBufferPrefetchINTEL"; case Capability::Subgroup2DBlockIOINTEL: return "Subgroup2DBlockIOINTEL"; case Capability::Subgroup2DBlockTransformINTEL: return "Subgroup2DBlockTransformINTEL"; @@ -4359,8 +4485,8 @@ inline const char* TensorClampModeToString(TensorClampMode value) { inline const char* InitializationModeQualifierToString(InitializationModeQualifier value) { switch (value) { - case InitializationModeQualifier::InitOnDeviceReprogramINTEL: return "InitOnDeviceReprogramINTEL"; - case InitializationModeQualifier::InitOnDeviceResetINTEL: return "InitOnDeviceResetINTEL"; + case InitializationModeQualifier::InitOnDeviceReprogramALTERA: return "InitOnDeviceReprogramALTERA"; + case InitializationModeQualifier::InitOnDeviceResetALTERA: return "InitOnDeviceResetALTERA"; default: return "Unknown"; } } @@ -5143,24 +5269,24 @@ inline const char* OpToString(Op value) { case Op::OpVariableLengthArrayINTEL: return "OpVariableLengthArrayINTEL"; case Op::OpSaveMemoryINTEL: return "OpSaveMemoryINTEL"; case Op::OpRestoreMemoryINTEL: return "OpRestoreMemoryINTEL"; - case Op::OpArbitraryFloatSinCosPiINTEL: return "OpArbitraryFloatSinCosPiINTEL"; - case Op::OpArbitraryFloatCastINTEL: return "OpArbitraryFloatCastINTEL"; - case Op::OpArbitraryFloatCastFromIntINTEL: return "OpArbitraryFloatCastFromIntINTEL"; - case Op::OpArbitraryFloatCastToIntINTEL: return "OpArbitraryFloatCastToIntINTEL"; - case Op::OpArbitraryFloatAddINTEL: return "OpArbitraryFloatAddINTEL"; - case Op::OpArbitraryFloatSubINTEL: return "OpArbitraryFloatSubINTEL"; - case Op::OpArbitraryFloatMulINTEL: return "OpArbitraryFloatMulINTEL"; - case Op::OpArbitraryFloatDivINTEL: return "OpArbitraryFloatDivINTEL"; - case Op::OpArbitraryFloatGTINTEL: return "OpArbitraryFloatGTINTEL"; - case Op::OpArbitraryFloatGEINTEL: return "OpArbitraryFloatGEINTEL"; - case Op::OpArbitraryFloatLTINTEL: return "OpArbitraryFloatLTINTEL"; - case Op::OpArbitraryFloatLEINTEL: return "OpArbitraryFloatLEINTEL"; - case Op::OpArbitraryFloatEQINTEL: return "OpArbitraryFloatEQINTEL"; - case Op::OpArbitraryFloatRecipINTEL: return "OpArbitraryFloatRecipINTEL"; - case Op::OpArbitraryFloatRSqrtINTEL: return "OpArbitraryFloatRSqrtINTEL"; - case Op::OpArbitraryFloatCbrtINTEL: return "OpArbitraryFloatCbrtINTEL"; - case Op::OpArbitraryFloatHypotINTEL: return "OpArbitraryFloatHypotINTEL"; - case Op::OpArbitraryFloatSqrtINTEL: return "OpArbitraryFloatSqrtINTEL"; + case Op::OpArbitraryFloatSinCosPiALTERA: return "OpArbitraryFloatSinCosPiALTERA"; + case Op::OpArbitraryFloatCastALTERA: return "OpArbitraryFloatCastALTERA"; + case Op::OpArbitraryFloatCastFromIntALTERA: return "OpArbitraryFloatCastFromIntALTERA"; + case Op::OpArbitraryFloatCastToIntALTERA: return "OpArbitraryFloatCastToIntALTERA"; + case Op::OpArbitraryFloatAddALTERA: return "OpArbitraryFloatAddALTERA"; + case Op::OpArbitraryFloatSubALTERA: return "OpArbitraryFloatSubALTERA"; + case Op::OpArbitraryFloatMulALTERA: return "OpArbitraryFloatMulALTERA"; + case Op::OpArbitraryFloatDivALTERA: return "OpArbitraryFloatDivALTERA"; + case Op::OpArbitraryFloatGTALTERA: return "OpArbitraryFloatGTALTERA"; + case Op::OpArbitraryFloatGEALTERA: return "OpArbitraryFloatGEALTERA"; + case Op::OpArbitraryFloatLTALTERA: return "OpArbitraryFloatLTALTERA"; + case Op::OpArbitraryFloatLEALTERA: return "OpArbitraryFloatLEALTERA"; + case Op::OpArbitraryFloatEQALTERA: return "OpArbitraryFloatEQALTERA"; + case Op::OpArbitraryFloatRecipALTERA: return "OpArbitraryFloatRecipALTERA"; + case Op::OpArbitraryFloatRSqrtALTERA: return "OpArbitraryFloatRSqrtALTERA"; + case Op::OpArbitraryFloatCbrtALTERA: return "OpArbitraryFloatCbrtALTERA"; + case Op::OpArbitraryFloatHypotALTERA: return "OpArbitraryFloatHypotALTERA"; + case Op::OpArbitraryFloatSqrtALTERA: return "OpArbitraryFloatSqrtALTERA"; case Op::OpArbitraryFloatLogINTEL: return "OpArbitraryFloatLogINTEL"; case Op::OpArbitraryFloatLog2INTEL: return "OpArbitraryFloatLog2INTEL"; case Op::OpArbitraryFloatLog10INTEL: return "OpArbitraryFloatLog10INTEL"; @@ -5188,22 +5314,22 @@ inline const char* OpToString(Op value) { case Op::OpAliasDomainDeclINTEL: return "OpAliasDomainDeclINTEL"; case Op::OpAliasScopeDeclINTEL: return "OpAliasScopeDeclINTEL"; case Op::OpAliasScopeListDeclINTEL: return "OpAliasScopeListDeclINTEL"; - case Op::OpFixedSqrtINTEL: return "OpFixedSqrtINTEL"; - case Op::OpFixedRecipINTEL: return "OpFixedRecipINTEL"; - case Op::OpFixedRsqrtINTEL: return "OpFixedRsqrtINTEL"; - case Op::OpFixedSinINTEL: return "OpFixedSinINTEL"; - case Op::OpFixedCosINTEL: return "OpFixedCosINTEL"; - case Op::OpFixedSinCosINTEL: return "OpFixedSinCosINTEL"; - case Op::OpFixedSinPiINTEL: return "OpFixedSinPiINTEL"; - case Op::OpFixedCosPiINTEL: return "OpFixedCosPiINTEL"; - case Op::OpFixedSinCosPiINTEL: return "OpFixedSinCosPiINTEL"; - case Op::OpFixedLogINTEL: return "OpFixedLogINTEL"; - case Op::OpFixedExpINTEL: return "OpFixedExpINTEL"; - case Op::OpPtrCastToCrossWorkgroupINTEL: return "OpPtrCastToCrossWorkgroupINTEL"; - case Op::OpCrossWorkgroupCastToPtrINTEL: return "OpCrossWorkgroupCastToPtrINTEL"; - case Op::OpReadPipeBlockingINTEL: return "OpReadPipeBlockingINTEL"; - case Op::OpWritePipeBlockingINTEL: return "OpWritePipeBlockingINTEL"; - case Op::OpFPGARegINTEL: return "OpFPGARegINTEL"; + case Op::OpFixedSqrtALTERA: return "OpFixedSqrtALTERA"; + case Op::OpFixedRecipALTERA: return "OpFixedRecipALTERA"; + case Op::OpFixedRsqrtALTERA: return "OpFixedRsqrtALTERA"; + case Op::OpFixedSinALTERA: return "OpFixedSinALTERA"; + case Op::OpFixedCosALTERA: return "OpFixedCosALTERA"; + case Op::OpFixedSinCosALTERA: return "OpFixedSinCosALTERA"; + case Op::OpFixedSinPiALTERA: return "OpFixedSinPiALTERA"; + case Op::OpFixedCosPiALTERA: return "OpFixedCosPiALTERA"; + case Op::OpFixedSinCosPiALTERA: return "OpFixedSinCosPiALTERA"; + case Op::OpFixedLogALTERA: return "OpFixedLogALTERA"; + case Op::OpFixedExpALTERA: return "OpFixedExpALTERA"; + case Op::OpPtrCastToCrossWorkgroupALTERA: return "OpPtrCastToCrossWorkgroupALTERA"; + case Op::OpCrossWorkgroupCastToPtrALTERA: return "OpCrossWorkgroupCastToPtrALTERA"; + case Op::OpReadPipeBlockingALTERA: return "OpReadPipeBlockingALTERA"; + case Op::OpWritePipeBlockingALTERA: return "OpWritePipeBlockingALTERA"; + case Op::OpFPGARegALTERA: return "OpFPGARegALTERA"; case Op::OpRayQueryGetRayTMinKHR: return "OpRayQueryGetRayTMinKHR"; case Op::OpRayQueryGetRayFlagsKHR: return "OpRayQueryGetRayFlagsKHR"; case Op::OpRayQueryGetIntersectionTKHR: return "OpRayQueryGetIntersectionTKHR"; @@ -5232,11 +5358,11 @@ inline const char* OpToString(Op value) { case Op::OpControlBarrierArriveINTEL: return "OpControlBarrierArriveINTEL"; case Op::OpControlBarrierWaitINTEL: return "OpControlBarrierWaitINTEL"; case Op::OpArithmeticFenceEXT: return "OpArithmeticFenceEXT"; - case Op::OpTaskSequenceCreateINTEL: return "OpTaskSequenceCreateINTEL"; - case Op::OpTaskSequenceAsyncINTEL: return "OpTaskSequenceAsyncINTEL"; - case Op::OpTaskSequenceGetINTEL: return "OpTaskSequenceGetINTEL"; - case Op::OpTaskSequenceReleaseINTEL: return "OpTaskSequenceReleaseINTEL"; - case Op::OpTypeTaskSequenceINTEL: return "OpTypeTaskSequenceINTEL"; + case Op::OpTaskSequenceCreateALTERA: return "OpTaskSequenceCreateALTERA"; + case Op::OpTaskSequenceAsyncALTERA: return "OpTaskSequenceAsyncALTERA"; + case Op::OpTaskSequenceGetALTERA: return "OpTaskSequenceGetALTERA"; + case Op::OpTaskSequenceReleaseALTERA: return "OpTaskSequenceReleaseALTERA"; + case Op::OpTypeTaskSequenceALTERA: return "OpTypeTaskSequenceALTERA"; case Op::OpSubgroupBlockPrefetchINTEL: return "OpSubgroupBlockPrefetchINTEL"; case Op::OpSubgroup2DBlockLoadINTEL: return "OpSubgroup2DBlockLoadINTEL"; case Op::OpSubgroup2DBlockLoadTransformINTEL: return "OpSubgroup2DBlockLoadTransformINTEL"; diff --git a/include/spirv/unified1/spirv.json b/include/spirv/unified1/spirv.json index 3cbe3067d..cc2205c64 100644 --- a/include/spirv/unified1/spirv.json +++ b/include/spirv/unified1/spirv.json @@ -269,7 +269,9 @@ "HitObjectAttributeNV": 5385, "TaskPayloadWorkgroupEXT": 5402, "CodeSectionINTEL": 5605, + "DeviceOnlyALTERA": 5936, "DeviceOnlyINTEL": 5936, + "HostOnlyALTERA": 5937, "HostOnlyINTEL": 5937 } }, @@ -506,6 +508,7 @@ "NoCapture": 5, "NoWrite": 6, "NoReadWrite": 7, + "RuntimeAlignedALTERA": 5940, "RuntimeAlignedINTEL": 5940 } }, @@ -613,54 +616,95 @@ "UserTypeGOOGLE": 5636, "FunctionRoundingModeINTEL": 5822, "FunctionDenormModeINTEL": 5823, + "RegisterALTERA": 5825, "RegisterINTEL": 5825, + "MemoryALTERA": 5826, "MemoryINTEL": 5826, + "NumbanksALTERA": 5827, "NumbanksINTEL": 5827, + "BankwidthALTERA": 5828, "BankwidthINTEL": 5828, + "MaxPrivateCopiesALTERA": 5829, "MaxPrivateCopiesINTEL": 5829, + "SinglepumpALTERA": 5830, "SinglepumpINTEL": 5830, + "DoublepumpALTERA": 5831, "DoublepumpINTEL": 5831, + "MaxReplicatesALTERA": 5832, "MaxReplicatesINTEL": 5832, + "SimpleDualPortALTERA": 5833, "SimpleDualPortINTEL": 5833, + "MergeALTERA": 5834, "MergeINTEL": 5834, + "BankBitsALTERA": 5835, "BankBitsINTEL": 5835, + "ForcePow2DepthALTERA": 5836, "ForcePow2DepthINTEL": 5836, + "StridesizeALTERA": 5883, "StridesizeINTEL": 5883, + "WordsizeALTERA": 5884, "WordsizeINTEL": 5884, + "TrueDualPortALTERA": 5885, "TrueDualPortINTEL": 5885, + "BurstCoalesceALTERA": 5899, "BurstCoalesceINTEL": 5899, + "CacheSizeALTERA": 5900, "CacheSizeINTEL": 5900, + "DontStaticallyCoalesceALTERA": 5901, "DontStaticallyCoalesceINTEL": 5901, + "PrefetchALTERA": 5902, "PrefetchINTEL": 5902, + "StallEnableALTERA": 5905, "StallEnableINTEL": 5905, + "FuseLoopsInFunctionALTERA": 5907, "FuseLoopsInFunctionINTEL": 5907, + "MathOpDSPModeALTERA": 5909, "MathOpDSPModeINTEL": 5909, "AliasScopeINTEL": 5914, "NoAliasINTEL": 5915, + "InitiationIntervalALTERA": 5917, "InitiationIntervalINTEL": 5917, + "MaxConcurrencyALTERA": 5918, "MaxConcurrencyINTEL": 5918, + "PipelineEnableALTERA": 5919, "PipelineEnableINTEL": 5919, + "BufferLocationALTERA": 5921, "BufferLocationINTEL": 5921, + "IOPipeStorageALTERA": 5944, "IOPipeStorageINTEL": 5944, "FunctionFloatingPointModeINTEL": 6080, "SingleElementVectorINTEL": 6085, "VectorComputeCallableFunctionINTEL": 6087, "MediaBlockIOINTEL": 6140, + "StallFreeALTERA": 6151, "StallFreeINTEL": 6151, "FPMaxErrorDecorationINTEL": 6170, + "LatencyControlLabelALTERA": 6172, "LatencyControlLabelINTEL": 6172, + "LatencyControlConstraintALTERA": 6173, "LatencyControlConstraintINTEL": 6173, + "ConduitKernelArgumentALTERA": 6175, "ConduitKernelArgumentINTEL": 6175, + "RegisterMapKernelArgumentALTERA": 6176, "RegisterMapKernelArgumentINTEL": 6176, + "MMHostInterfaceAddressWidthALTERA": 6177, "MMHostInterfaceAddressWidthINTEL": 6177, + "MMHostInterfaceDataWidthALTERA": 6178, "MMHostInterfaceDataWidthINTEL": 6178, + "MMHostInterfaceLatencyALTERA": 6179, "MMHostInterfaceLatencyINTEL": 6179, + "MMHostInterfaceReadWriteModeALTERA": 6180, "MMHostInterfaceReadWriteModeINTEL": 6180, + "MMHostInterfaceMaxBurstALTERA": 6181, "MMHostInterfaceMaxBurstINTEL": 6181, + "MMHostInterfaceWaitRequestALTERA": 6182, "MMHostInterfaceWaitRequestINTEL": 6182, + "StableKernelArgumentALTERA": 6183, "StableKernelArgumentINTEL": 6183, "HostAccessINTEL": 6188, + "InitModeALTERA": 6190, "InitModeINTEL": 6190, + "ImplementInRegisterMapALTERA": 6191, "ImplementInRegisterMapINTEL": 6191, "ConditionalINTEL": 6247, "CacheControlLoadINTEL": 6442, @@ -845,15 +889,25 @@ "IterationMultiple": 6, "PeelCount": 7, "PartialCount": 8, + "InitiationIntervalALTERA": 16, "InitiationIntervalINTEL": 16, + "MaxConcurrencyALTERA": 17, "MaxConcurrencyINTEL": 17, + "DependencyArrayALTERA": 18, "DependencyArrayINTEL": 18, + "PipelineEnableALTERA": 19, "PipelineEnableINTEL": 19, + "LoopCoalesceALTERA": 20, "LoopCoalesceINTEL": 20, + "MaxInterleavingALTERA": 21, "MaxInterleavingINTEL": 21, + "SpeculatedIterationsALTERA": 22, "SpeculatedIterationsINTEL": 22, + "NoFusionALTERA": 23, "NoFusionINTEL": 23, + "LoopCountALTERA": 24, "LoopCountINTEL": 24, + "MaxReinvocationDelayALTERA": 25, "MaxReinvocationDelayINTEL": 25 } }, @@ -1199,26 +1253,42 @@ "SubgroupAvcMotionEstimationChromaINTEL": 5698, "VariableLengthArrayINTEL": 5817, "FunctionFloatControlINTEL": 5821, + "FPGAMemoryAttributesALTERA": 5824, "FPGAMemoryAttributesINTEL": 5824, "FPFastMathModeINTEL": 5837, + "ArbitraryPrecisionIntegersALTERA": 5844, "ArbitraryPrecisionIntegersINTEL": 5844, + "ArbitraryPrecisionFloatingPointALTERA": 5845, "ArbitraryPrecisionFloatingPointINTEL": 5845, "UnstructuredLoopControlsINTEL": 5886, + "FPGALoopControlsALTERA": 5888, "FPGALoopControlsINTEL": 5888, "KernelAttributesINTEL": 5892, "FPGAKernelAttributesINTEL": 5897, + "FPGAMemoryAccessesALTERA": 5898, "FPGAMemoryAccessesINTEL": 5898, + "FPGAClusterAttributesALTERA": 5904, "FPGAClusterAttributesINTEL": 5904, + "LoopFuseALTERA": 5906, "LoopFuseINTEL": 5906, + "FPGADSPControlALTERA": 5908, "FPGADSPControlINTEL": 5908, "MemoryAccessAliasingINTEL": 5910, + "FPGAInvocationPipeliningAttributesALTERA": 5916, "FPGAInvocationPipeliningAttributesINTEL": 5916, + "FPGABufferLocationALTERA": 5920, "FPGABufferLocationINTEL": 5920, + "ArbitraryPrecisionFixedPointALTERA": 5922, "ArbitraryPrecisionFixedPointINTEL": 5922, + "USMStorageClassesALTERA": 5935, "USMStorageClassesINTEL": 5935, + "RuntimeAlignedAttributeALTERA": 5939, "RuntimeAlignedAttributeINTEL": 5939, + "IOPipesALTERA": 5943, "IOPipesINTEL": 5943, + "BlockingPipesALTERA": 5945, "BlockingPipesINTEL": 5945, + "FPGARegALTERA": 5948, "FPGARegINTEL": 5948, "DotProductInputAll": 6016, "DotProductInputAllKHR": 6016, @@ -1245,13 +1315,18 @@ "BFloat16ConversionINTEL": 6115, "SplitBarrierINTEL": 6141, "ArithmeticFenceEXT": 6144, + "FPGAClusterAttributesV2ALTERA": 6150, "FPGAClusterAttributesV2INTEL": 6150, "FPGAKernelAttributesv2INTEL": 6161, + "TaskSequenceALTERA": 6162, "TaskSequenceINTEL": 6162, "FPMaxErrorINTEL": 6169, + "FPGALatencyControlALTERA": 6171, "FPGALatencyControlINTEL": 6171, + "FPGAArgumentInterfacesALTERA": 6174, "FPGAArgumentInterfacesINTEL": 6174, "GlobalVariableHostAccessINTEL": 6187, + "GlobalVariableFPGADecorationsALTERA": 6189, "GlobalVariableFPGADecorationsINTEL": 6189, "SubgroupBufferPrefetchINTEL": 6220, "Subgroup2DBlockIOINTEL": 6228, @@ -1462,7 +1537,9 @@ "Type": "Value", "Values": { + "InitOnDeviceReprogramALTERA": 0, "InitOnDeviceReprogramINTEL": 0, + "InitOnDeviceResetALTERA": 1, "InitOnDeviceResetINTEL": 1 } }, @@ -2296,23 +2373,41 @@ "OpVariableLengthArrayINTEL": 5818, "OpSaveMemoryINTEL": 5819, "OpRestoreMemoryINTEL": 5820, + "OpArbitraryFloatSinCosPiALTERA": 5840, "OpArbitraryFloatSinCosPiINTEL": 5840, + "OpArbitraryFloatCastALTERA": 5841, "OpArbitraryFloatCastINTEL": 5841, + "OpArbitraryFloatCastFromIntALTERA": 5842, "OpArbitraryFloatCastFromIntINTEL": 5842, + "OpArbitraryFloatCastToIntALTERA": 5843, "OpArbitraryFloatCastToIntINTEL": 5843, + "OpArbitraryFloatAddALTERA": 5846, "OpArbitraryFloatAddINTEL": 5846, + "OpArbitraryFloatSubALTERA": 5847, "OpArbitraryFloatSubINTEL": 5847, + "OpArbitraryFloatMulALTERA": 5848, "OpArbitraryFloatMulINTEL": 5848, + "OpArbitraryFloatDivALTERA": 5849, "OpArbitraryFloatDivINTEL": 5849, + "OpArbitraryFloatGTALTERA": 5850, "OpArbitraryFloatGTINTEL": 5850, + "OpArbitraryFloatGEALTERA": 5851, "OpArbitraryFloatGEINTEL": 5851, + "OpArbitraryFloatLTALTERA": 5852, "OpArbitraryFloatLTINTEL": 5852, + "OpArbitraryFloatLEALTERA": 5853, "OpArbitraryFloatLEINTEL": 5853, + "OpArbitraryFloatEQALTERA": 5854, "OpArbitraryFloatEQINTEL": 5854, + "OpArbitraryFloatRecipALTERA": 5855, "OpArbitraryFloatRecipINTEL": 5855, + "OpArbitraryFloatRSqrtALTERA": 5856, "OpArbitraryFloatRSqrtINTEL": 5856, + "OpArbitraryFloatCbrtALTERA": 5857, "OpArbitraryFloatCbrtINTEL": 5857, + "OpArbitraryFloatHypotALTERA": 5858, "OpArbitraryFloatHypotINTEL": 5858, + "OpArbitraryFloatSqrtALTERA": 5859, "OpArbitraryFloatSqrtINTEL": 5859, "OpArbitraryFloatLogINTEL": 5860, "OpArbitraryFloatLog2INTEL": 5861, @@ -2341,21 +2436,37 @@ "OpAliasDomainDeclINTEL": 5911, "OpAliasScopeDeclINTEL": 5912, "OpAliasScopeListDeclINTEL": 5913, + "OpFixedSqrtALTERA": 5923, "OpFixedSqrtINTEL": 5923, + "OpFixedRecipALTERA": 5924, "OpFixedRecipINTEL": 5924, + "OpFixedRsqrtALTERA": 5925, "OpFixedRsqrtINTEL": 5925, + "OpFixedSinALTERA": 5926, "OpFixedSinINTEL": 5926, + "OpFixedCosALTERA": 5927, "OpFixedCosINTEL": 5927, + "OpFixedSinCosALTERA": 5928, "OpFixedSinCosINTEL": 5928, + "OpFixedSinPiALTERA": 5929, "OpFixedSinPiINTEL": 5929, + "OpFixedCosPiALTERA": 5930, "OpFixedCosPiINTEL": 5930, + "OpFixedSinCosPiALTERA": 5931, "OpFixedSinCosPiINTEL": 5931, + "OpFixedLogALTERA": 5932, "OpFixedLogINTEL": 5932, + "OpFixedExpALTERA": 5933, "OpFixedExpINTEL": 5933, + "OpPtrCastToCrossWorkgroupALTERA": 5934, "OpPtrCastToCrossWorkgroupINTEL": 5934, + "OpCrossWorkgroupCastToPtrALTERA": 5938, "OpCrossWorkgroupCastToPtrINTEL": 5938, + "OpReadPipeBlockingALTERA": 5946, "OpReadPipeBlockingINTEL": 5946, + "OpWritePipeBlockingALTERA": 5947, "OpWritePipeBlockingINTEL": 5947, + "OpFPGARegALTERA": 5949, "OpFPGARegINTEL": 5949, "OpRayQueryGetRayTMinKHR": 6016, "OpRayQueryGetRayFlagsKHR": 6017, @@ -2385,10 +2496,15 @@ "OpControlBarrierArriveINTEL": 6142, "OpControlBarrierWaitINTEL": 6143, "OpArithmeticFenceEXT": 6145, + "OpTaskSequenceCreateALTERA": 6163, "OpTaskSequenceCreateINTEL": 6163, + "OpTaskSequenceAsyncALTERA": 6164, "OpTaskSequenceAsyncINTEL": 6164, + "OpTaskSequenceGetALTERA": 6165, "OpTaskSequenceGetINTEL": 6165, + "OpTaskSequenceReleaseALTERA": 6166, "OpTaskSequenceReleaseINTEL": 6166, + "OpTypeTaskSequenceALTERA": 6199, "OpTypeTaskSequenceINTEL": 6199, "OpSubgroupBlockPrefetchINTEL": 6221, "OpSubgroup2DBlockLoadINTEL": 6231, diff --git a/include/spirv/unified1/spirv.lua b/include/spirv/unified1/spirv.lua index f2474c943..612d9822c 100644 --- a/include/spirv/unified1/spirv.lua +++ b/include/spirv/unified1/spirv.lua @@ -238,7 +238,9 @@ spv = { HitObjectAttributeNV = 5385, TaskPayloadWorkgroupEXT = 5402, CodeSectionINTEL = 5605, + DeviceOnlyALTERA = 5936, DeviceOnlyINTEL = 5936, + HostOnlyALTERA = 5937, HostOnlyINTEL = 5937, Max = 0x7fffffff, }, @@ -477,6 +479,7 @@ spv = { NoCapture = 5, NoWrite = 6, NoReadWrite = 7, + RuntimeAlignedALTERA = 5940, RuntimeAlignedINTEL = 5940, Max = 0x7fffffff, }, @@ -581,54 +584,95 @@ spv = { UserTypeGOOGLE = 5636, FunctionRoundingModeINTEL = 5822, FunctionDenormModeINTEL = 5823, + RegisterALTERA = 5825, RegisterINTEL = 5825, + MemoryALTERA = 5826, MemoryINTEL = 5826, + NumbanksALTERA = 5827, NumbanksINTEL = 5827, + BankwidthALTERA = 5828, BankwidthINTEL = 5828, + MaxPrivateCopiesALTERA = 5829, MaxPrivateCopiesINTEL = 5829, + SinglepumpALTERA = 5830, SinglepumpINTEL = 5830, + DoublepumpALTERA = 5831, DoublepumpINTEL = 5831, + MaxReplicatesALTERA = 5832, MaxReplicatesINTEL = 5832, + SimpleDualPortALTERA = 5833, SimpleDualPortINTEL = 5833, + MergeALTERA = 5834, MergeINTEL = 5834, + BankBitsALTERA = 5835, BankBitsINTEL = 5835, + ForcePow2DepthALTERA = 5836, ForcePow2DepthINTEL = 5836, + StridesizeALTERA = 5883, StridesizeINTEL = 5883, + WordsizeALTERA = 5884, WordsizeINTEL = 5884, + TrueDualPortALTERA = 5885, TrueDualPortINTEL = 5885, + BurstCoalesceALTERA = 5899, BurstCoalesceINTEL = 5899, + CacheSizeALTERA = 5900, CacheSizeINTEL = 5900, + DontStaticallyCoalesceALTERA = 5901, DontStaticallyCoalesceINTEL = 5901, + PrefetchALTERA = 5902, PrefetchINTEL = 5902, + StallEnableALTERA = 5905, StallEnableINTEL = 5905, + FuseLoopsInFunctionALTERA = 5907, FuseLoopsInFunctionINTEL = 5907, + MathOpDSPModeALTERA = 5909, MathOpDSPModeINTEL = 5909, AliasScopeINTEL = 5914, NoAliasINTEL = 5915, + InitiationIntervalALTERA = 5917, InitiationIntervalINTEL = 5917, + MaxConcurrencyALTERA = 5918, MaxConcurrencyINTEL = 5918, + PipelineEnableALTERA = 5919, PipelineEnableINTEL = 5919, + BufferLocationALTERA = 5921, BufferLocationINTEL = 5921, + IOPipeStorageALTERA = 5944, IOPipeStorageINTEL = 5944, FunctionFloatingPointModeINTEL = 6080, SingleElementVectorINTEL = 6085, VectorComputeCallableFunctionINTEL = 6087, MediaBlockIOINTEL = 6140, + StallFreeALTERA = 6151, StallFreeINTEL = 6151, FPMaxErrorDecorationINTEL = 6170, + LatencyControlLabelALTERA = 6172, LatencyControlLabelINTEL = 6172, + LatencyControlConstraintALTERA = 6173, LatencyControlConstraintINTEL = 6173, + ConduitKernelArgumentALTERA = 6175, ConduitKernelArgumentINTEL = 6175, + RegisterMapKernelArgumentALTERA = 6176, RegisterMapKernelArgumentINTEL = 6176, + MMHostInterfaceAddressWidthALTERA = 6177, MMHostInterfaceAddressWidthINTEL = 6177, + MMHostInterfaceDataWidthALTERA = 6178, MMHostInterfaceDataWidthINTEL = 6178, + MMHostInterfaceLatencyALTERA = 6179, MMHostInterfaceLatencyINTEL = 6179, + MMHostInterfaceReadWriteModeALTERA = 6180, MMHostInterfaceReadWriteModeINTEL = 6180, + MMHostInterfaceMaxBurstALTERA = 6181, MMHostInterfaceMaxBurstINTEL = 6181, + MMHostInterfaceWaitRequestALTERA = 6182, MMHostInterfaceWaitRequestINTEL = 6182, + StableKernelArgumentALTERA = 6183, StableKernelArgumentINTEL = 6183, HostAccessINTEL = 6188, + InitModeALTERA = 6190, InitModeINTEL = 6190, + ImplementInRegisterMapALTERA = 6191, ImplementInRegisterMapINTEL = 6191, ConditionalINTEL = 6247, CacheControlLoadINTEL = 6442, @@ -810,15 +854,25 @@ spv = { IterationMultiple = 6, PeelCount = 7, PartialCount = 8, + InitiationIntervalALTERA = 16, InitiationIntervalINTEL = 16, + MaxConcurrencyALTERA = 17, MaxConcurrencyINTEL = 17, + DependencyArrayALTERA = 18, DependencyArrayINTEL = 18, + PipelineEnableALTERA = 19, PipelineEnableINTEL = 19, + LoopCoalesceALTERA = 20, LoopCoalesceINTEL = 20, + MaxInterleavingALTERA = 21, MaxInterleavingINTEL = 21, + SpeculatedIterationsALTERA = 22, SpeculatedIterationsINTEL = 22, + NoFusionALTERA = 23, NoFusionINTEL = 23, + LoopCountALTERA = 24, LoopCountINTEL = 24, + MaxReinvocationDelayALTERA = 25, MaxReinvocationDelayINTEL = 25, Max = 0x7fffffff, }, @@ -834,15 +888,25 @@ spv = { IterationMultiple = 0x00000040, PeelCount = 0x00000080, PartialCount = 0x00000100, + InitiationIntervalALTERA = 0x00010000, InitiationIntervalINTEL = 0x00010000, + MaxConcurrencyALTERA = 0x00020000, MaxConcurrencyINTEL = 0x00020000, + DependencyArrayALTERA = 0x00040000, DependencyArrayINTEL = 0x00040000, + PipelineEnableALTERA = 0x00080000, PipelineEnableINTEL = 0x00080000, + LoopCoalesceALTERA = 0x00100000, LoopCoalesceINTEL = 0x00100000, + MaxInterleavingALTERA = 0x00200000, MaxInterleavingINTEL = 0x00200000, + SpeculatedIterationsALTERA = 0x00400000, SpeculatedIterationsINTEL = 0x00400000, + NoFusionALTERA = 0x00800000, NoFusionINTEL = 0x00800000, + LoopCountALTERA = 0x01000000, LoopCountINTEL = 0x01000000, + MaxReinvocationDelayALTERA = 0x02000000, MaxReinvocationDelayINTEL = 0x02000000, }, @@ -1214,26 +1278,42 @@ spv = { SubgroupAvcMotionEstimationChromaINTEL = 5698, VariableLengthArrayINTEL = 5817, FunctionFloatControlINTEL = 5821, + FPGAMemoryAttributesALTERA = 5824, FPGAMemoryAttributesINTEL = 5824, FPFastMathModeINTEL = 5837, + ArbitraryPrecisionIntegersALTERA = 5844, ArbitraryPrecisionIntegersINTEL = 5844, + ArbitraryPrecisionFloatingPointALTERA = 5845, ArbitraryPrecisionFloatingPointINTEL = 5845, UnstructuredLoopControlsINTEL = 5886, + FPGALoopControlsALTERA = 5888, FPGALoopControlsINTEL = 5888, KernelAttributesINTEL = 5892, FPGAKernelAttributesINTEL = 5897, + FPGAMemoryAccessesALTERA = 5898, FPGAMemoryAccessesINTEL = 5898, + FPGAClusterAttributesALTERA = 5904, FPGAClusterAttributesINTEL = 5904, + LoopFuseALTERA = 5906, LoopFuseINTEL = 5906, + FPGADSPControlALTERA = 5908, FPGADSPControlINTEL = 5908, MemoryAccessAliasingINTEL = 5910, + FPGAInvocationPipeliningAttributesALTERA = 5916, FPGAInvocationPipeliningAttributesINTEL = 5916, + FPGABufferLocationALTERA = 5920, FPGABufferLocationINTEL = 5920, + ArbitraryPrecisionFixedPointALTERA = 5922, ArbitraryPrecisionFixedPointINTEL = 5922, + USMStorageClassesALTERA = 5935, USMStorageClassesINTEL = 5935, + RuntimeAlignedAttributeALTERA = 5939, RuntimeAlignedAttributeINTEL = 5939, + IOPipesALTERA = 5943, IOPipesINTEL = 5943, + BlockingPipesALTERA = 5945, BlockingPipesINTEL = 5945, + FPGARegALTERA = 5948, FPGARegINTEL = 5948, DotProductInputAll = 6016, DotProductInputAllKHR = 6016, @@ -1260,13 +1340,18 @@ spv = { BFloat16ConversionINTEL = 6115, SplitBarrierINTEL = 6141, ArithmeticFenceEXT = 6144, + FPGAClusterAttributesV2ALTERA = 6150, FPGAClusterAttributesV2INTEL = 6150, FPGAKernelAttributesv2INTEL = 6161, + TaskSequenceALTERA = 6162, TaskSequenceINTEL = 6162, FPMaxErrorINTEL = 6169, + FPGALatencyControlALTERA = 6171, FPGALatencyControlINTEL = 6171, + FPGAArgumentInterfacesALTERA = 6174, FPGAArgumentInterfacesINTEL = 6174, GlobalVariableHostAccessINTEL = 6187, + GlobalVariableFPGADecorationsALTERA = 6189, GlobalVariableFPGADecorationsINTEL = 6189, SubgroupBufferPrefetchINTEL = 6220, Subgroup2DBlockIOINTEL = 6228, @@ -1478,7 +1563,9 @@ spv = { }, InitializationModeQualifier = { + InitOnDeviceReprogramALTERA = 0, InitOnDeviceReprogramINTEL = 0, + InitOnDeviceResetALTERA = 1, InitOnDeviceResetINTEL = 1, Max = 0x7fffffff, }, @@ -2306,23 +2393,41 @@ spv = { OpVariableLengthArrayINTEL = 5818, OpSaveMemoryINTEL = 5819, OpRestoreMemoryINTEL = 5820, + OpArbitraryFloatSinCosPiALTERA = 5840, OpArbitraryFloatSinCosPiINTEL = 5840, + OpArbitraryFloatCastALTERA = 5841, OpArbitraryFloatCastINTEL = 5841, + OpArbitraryFloatCastFromIntALTERA = 5842, OpArbitraryFloatCastFromIntINTEL = 5842, + OpArbitraryFloatCastToIntALTERA = 5843, OpArbitraryFloatCastToIntINTEL = 5843, + OpArbitraryFloatAddALTERA = 5846, OpArbitraryFloatAddINTEL = 5846, + OpArbitraryFloatSubALTERA = 5847, OpArbitraryFloatSubINTEL = 5847, + OpArbitraryFloatMulALTERA = 5848, OpArbitraryFloatMulINTEL = 5848, + OpArbitraryFloatDivALTERA = 5849, OpArbitraryFloatDivINTEL = 5849, + OpArbitraryFloatGTALTERA = 5850, OpArbitraryFloatGTINTEL = 5850, + OpArbitraryFloatGEALTERA = 5851, OpArbitraryFloatGEINTEL = 5851, + OpArbitraryFloatLTALTERA = 5852, OpArbitraryFloatLTINTEL = 5852, + OpArbitraryFloatLEALTERA = 5853, OpArbitraryFloatLEINTEL = 5853, + OpArbitraryFloatEQALTERA = 5854, OpArbitraryFloatEQINTEL = 5854, + OpArbitraryFloatRecipALTERA = 5855, OpArbitraryFloatRecipINTEL = 5855, + OpArbitraryFloatRSqrtALTERA = 5856, OpArbitraryFloatRSqrtINTEL = 5856, + OpArbitraryFloatCbrtALTERA = 5857, OpArbitraryFloatCbrtINTEL = 5857, + OpArbitraryFloatHypotALTERA = 5858, OpArbitraryFloatHypotINTEL = 5858, + OpArbitraryFloatSqrtALTERA = 5859, OpArbitraryFloatSqrtINTEL = 5859, OpArbitraryFloatLogINTEL = 5860, OpArbitraryFloatLog2INTEL = 5861, @@ -2351,21 +2456,37 @@ spv = { OpAliasDomainDeclINTEL = 5911, OpAliasScopeDeclINTEL = 5912, OpAliasScopeListDeclINTEL = 5913, + OpFixedSqrtALTERA = 5923, OpFixedSqrtINTEL = 5923, + OpFixedRecipALTERA = 5924, OpFixedRecipINTEL = 5924, + OpFixedRsqrtALTERA = 5925, OpFixedRsqrtINTEL = 5925, + OpFixedSinALTERA = 5926, OpFixedSinINTEL = 5926, + OpFixedCosALTERA = 5927, OpFixedCosINTEL = 5927, + OpFixedSinCosALTERA = 5928, OpFixedSinCosINTEL = 5928, + OpFixedSinPiALTERA = 5929, OpFixedSinPiINTEL = 5929, + OpFixedCosPiALTERA = 5930, OpFixedCosPiINTEL = 5930, + OpFixedSinCosPiALTERA = 5931, OpFixedSinCosPiINTEL = 5931, + OpFixedLogALTERA = 5932, OpFixedLogINTEL = 5932, + OpFixedExpALTERA = 5933, OpFixedExpINTEL = 5933, + OpPtrCastToCrossWorkgroupALTERA = 5934, OpPtrCastToCrossWorkgroupINTEL = 5934, + OpCrossWorkgroupCastToPtrALTERA = 5938, OpCrossWorkgroupCastToPtrINTEL = 5938, + OpReadPipeBlockingALTERA = 5946, OpReadPipeBlockingINTEL = 5946, + OpWritePipeBlockingALTERA = 5947, OpWritePipeBlockingINTEL = 5947, + OpFPGARegALTERA = 5949, OpFPGARegINTEL = 5949, OpRayQueryGetRayTMinKHR = 6016, OpRayQueryGetRayFlagsKHR = 6017, @@ -2395,10 +2516,15 @@ spv = { OpControlBarrierArriveINTEL = 6142, OpControlBarrierWaitINTEL = 6143, OpArithmeticFenceEXT = 6145, + OpTaskSequenceCreateALTERA = 6163, OpTaskSequenceCreateINTEL = 6163, + OpTaskSequenceAsyncALTERA = 6164, OpTaskSequenceAsyncINTEL = 6164, + OpTaskSequenceGetALTERA = 6165, OpTaskSequenceGetINTEL = 6165, + OpTaskSequenceReleaseALTERA = 6166, OpTaskSequenceReleaseINTEL = 6166, + OpTypeTaskSequenceALTERA = 6199, OpTypeTaskSequenceINTEL = 6199, OpSubgroupBlockPrefetchINTEL = 6221, OpSubgroup2DBlockLoadINTEL = 6231, diff --git a/include/spirv/unified1/spirv.py b/include/spirv/unified1/spirv.py index 11191073f..a1a573c71 100644 --- a/include/spirv/unified1/spirv.py +++ b/include/spirv/unified1/spirv.py @@ -233,7 +233,9 @@ 'HitObjectAttributeNV' : 5385, 'TaskPayloadWorkgroupEXT' : 5402, 'CodeSectionINTEL' : 5605, + 'DeviceOnlyALTERA' : 5936, 'DeviceOnlyINTEL' : 5936, + 'HostOnlyALTERA' : 5937, 'HostOnlyINTEL' : 5937, }, @@ -460,6 +462,7 @@ 'NoCapture' : 5, 'NoWrite' : 6, 'NoReadWrite' : 7, + 'RuntimeAlignedALTERA' : 5940, 'RuntimeAlignedINTEL' : 5940, }, @@ -563,54 +566,95 @@ 'UserTypeGOOGLE' : 5636, 'FunctionRoundingModeINTEL' : 5822, 'FunctionDenormModeINTEL' : 5823, + 'RegisterALTERA' : 5825, 'RegisterINTEL' : 5825, + 'MemoryALTERA' : 5826, 'MemoryINTEL' : 5826, + 'NumbanksALTERA' : 5827, 'NumbanksINTEL' : 5827, + 'BankwidthALTERA' : 5828, 'BankwidthINTEL' : 5828, + 'MaxPrivateCopiesALTERA' : 5829, 'MaxPrivateCopiesINTEL' : 5829, + 'SinglepumpALTERA' : 5830, 'SinglepumpINTEL' : 5830, + 'DoublepumpALTERA' : 5831, 'DoublepumpINTEL' : 5831, + 'MaxReplicatesALTERA' : 5832, 'MaxReplicatesINTEL' : 5832, + 'SimpleDualPortALTERA' : 5833, 'SimpleDualPortINTEL' : 5833, + 'MergeALTERA' : 5834, 'MergeINTEL' : 5834, + 'BankBitsALTERA' : 5835, 'BankBitsINTEL' : 5835, + 'ForcePow2DepthALTERA' : 5836, 'ForcePow2DepthINTEL' : 5836, + 'StridesizeALTERA' : 5883, 'StridesizeINTEL' : 5883, + 'WordsizeALTERA' : 5884, 'WordsizeINTEL' : 5884, + 'TrueDualPortALTERA' : 5885, 'TrueDualPortINTEL' : 5885, + 'BurstCoalesceALTERA' : 5899, 'BurstCoalesceINTEL' : 5899, + 'CacheSizeALTERA' : 5900, 'CacheSizeINTEL' : 5900, + 'DontStaticallyCoalesceALTERA' : 5901, 'DontStaticallyCoalesceINTEL' : 5901, + 'PrefetchALTERA' : 5902, 'PrefetchINTEL' : 5902, + 'StallEnableALTERA' : 5905, 'StallEnableINTEL' : 5905, + 'FuseLoopsInFunctionALTERA' : 5907, 'FuseLoopsInFunctionINTEL' : 5907, + 'MathOpDSPModeALTERA' : 5909, 'MathOpDSPModeINTEL' : 5909, 'AliasScopeINTEL' : 5914, 'NoAliasINTEL' : 5915, + 'InitiationIntervalALTERA' : 5917, 'InitiationIntervalINTEL' : 5917, + 'MaxConcurrencyALTERA' : 5918, 'MaxConcurrencyINTEL' : 5918, + 'PipelineEnableALTERA' : 5919, 'PipelineEnableINTEL' : 5919, + 'BufferLocationALTERA' : 5921, 'BufferLocationINTEL' : 5921, + 'IOPipeStorageALTERA' : 5944, 'IOPipeStorageINTEL' : 5944, 'FunctionFloatingPointModeINTEL' : 6080, 'SingleElementVectorINTEL' : 6085, 'VectorComputeCallableFunctionINTEL' : 6087, 'MediaBlockIOINTEL' : 6140, + 'StallFreeALTERA' : 6151, 'StallFreeINTEL' : 6151, 'FPMaxErrorDecorationINTEL' : 6170, + 'LatencyControlLabelALTERA' : 6172, 'LatencyControlLabelINTEL' : 6172, + 'LatencyControlConstraintALTERA' : 6173, 'LatencyControlConstraintINTEL' : 6173, + 'ConduitKernelArgumentALTERA' : 6175, 'ConduitKernelArgumentINTEL' : 6175, + 'RegisterMapKernelArgumentALTERA' : 6176, 'RegisterMapKernelArgumentINTEL' : 6176, + 'MMHostInterfaceAddressWidthALTERA' : 6177, 'MMHostInterfaceAddressWidthINTEL' : 6177, + 'MMHostInterfaceDataWidthALTERA' : 6178, 'MMHostInterfaceDataWidthINTEL' : 6178, + 'MMHostInterfaceLatencyALTERA' : 6179, 'MMHostInterfaceLatencyINTEL' : 6179, + 'MMHostInterfaceReadWriteModeALTERA' : 6180, 'MMHostInterfaceReadWriteModeINTEL' : 6180, + 'MMHostInterfaceMaxBurstALTERA' : 6181, 'MMHostInterfaceMaxBurstINTEL' : 6181, + 'MMHostInterfaceWaitRequestALTERA' : 6182, 'MMHostInterfaceWaitRequestINTEL' : 6182, + 'StableKernelArgumentALTERA' : 6183, 'StableKernelArgumentINTEL' : 6183, 'HostAccessINTEL' : 6188, + 'InitModeALTERA' : 6190, 'InitModeINTEL' : 6190, + 'ImplementInRegisterMapALTERA' : 6191, 'ImplementInRegisterMapINTEL' : 6191, 'ConditionalINTEL' : 6247, 'CacheControlLoadINTEL' : 6442, @@ -789,15 +833,25 @@ 'IterationMultiple' : 6, 'PeelCount' : 7, 'PartialCount' : 8, + 'InitiationIntervalALTERA' : 16, 'InitiationIntervalINTEL' : 16, + 'MaxConcurrencyALTERA' : 17, 'MaxConcurrencyINTEL' : 17, + 'DependencyArrayALTERA' : 18, 'DependencyArrayINTEL' : 18, + 'PipelineEnableALTERA' : 19, 'PipelineEnableINTEL' : 19, + 'LoopCoalesceALTERA' : 20, 'LoopCoalesceINTEL' : 20, + 'MaxInterleavingALTERA' : 21, 'MaxInterleavingINTEL' : 21, + 'SpeculatedIterationsALTERA' : 22, 'SpeculatedIterationsINTEL' : 22, + 'NoFusionALTERA' : 23, 'NoFusionINTEL' : 23, + 'LoopCountALTERA' : 24, 'LoopCountINTEL' : 24, + 'MaxReinvocationDelayALTERA' : 25, 'MaxReinvocationDelayINTEL' : 25, }, @@ -812,15 +866,25 @@ 'IterationMultiple' : 0x00000040, 'PeelCount' : 0x00000080, 'PartialCount' : 0x00000100, + 'InitiationIntervalALTERA' : 0x00010000, 'InitiationIntervalINTEL' : 0x00010000, + 'MaxConcurrencyALTERA' : 0x00020000, 'MaxConcurrencyINTEL' : 0x00020000, + 'DependencyArrayALTERA' : 0x00040000, 'DependencyArrayINTEL' : 0x00040000, + 'PipelineEnableALTERA' : 0x00080000, 'PipelineEnableINTEL' : 0x00080000, + 'LoopCoalesceALTERA' : 0x00100000, 'LoopCoalesceINTEL' : 0x00100000, + 'MaxInterleavingALTERA' : 0x00200000, 'MaxInterleavingINTEL' : 0x00200000, + 'SpeculatedIterationsALTERA' : 0x00400000, 'SpeculatedIterationsINTEL' : 0x00400000, + 'NoFusionALTERA' : 0x00800000, 'NoFusionINTEL' : 0x00800000, + 'LoopCountALTERA' : 0x01000000, 'LoopCountINTEL' : 0x01000000, + 'MaxReinvocationDelayALTERA' : 0x02000000, 'MaxReinvocationDelayINTEL' : 0x02000000, }, @@ -1185,26 +1249,42 @@ 'SubgroupAvcMotionEstimationChromaINTEL' : 5698, 'VariableLengthArrayINTEL' : 5817, 'FunctionFloatControlINTEL' : 5821, + 'FPGAMemoryAttributesALTERA' : 5824, 'FPGAMemoryAttributesINTEL' : 5824, 'FPFastMathModeINTEL' : 5837, + 'ArbitraryPrecisionIntegersALTERA' : 5844, 'ArbitraryPrecisionIntegersINTEL' : 5844, + 'ArbitraryPrecisionFloatingPointALTERA' : 5845, 'ArbitraryPrecisionFloatingPointINTEL' : 5845, 'UnstructuredLoopControlsINTEL' : 5886, + 'FPGALoopControlsALTERA' : 5888, 'FPGALoopControlsINTEL' : 5888, 'KernelAttributesINTEL' : 5892, 'FPGAKernelAttributesINTEL' : 5897, + 'FPGAMemoryAccessesALTERA' : 5898, 'FPGAMemoryAccessesINTEL' : 5898, + 'FPGAClusterAttributesALTERA' : 5904, 'FPGAClusterAttributesINTEL' : 5904, + 'LoopFuseALTERA' : 5906, 'LoopFuseINTEL' : 5906, + 'FPGADSPControlALTERA' : 5908, 'FPGADSPControlINTEL' : 5908, 'MemoryAccessAliasingINTEL' : 5910, + 'FPGAInvocationPipeliningAttributesALTERA' : 5916, 'FPGAInvocationPipeliningAttributesINTEL' : 5916, + 'FPGABufferLocationALTERA' : 5920, 'FPGABufferLocationINTEL' : 5920, + 'ArbitraryPrecisionFixedPointALTERA' : 5922, 'ArbitraryPrecisionFixedPointINTEL' : 5922, + 'USMStorageClassesALTERA' : 5935, 'USMStorageClassesINTEL' : 5935, + 'RuntimeAlignedAttributeALTERA' : 5939, 'RuntimeAlignedAttributeINTEL' : 5939, + 'IOPipesALTERA' : 5943, 'IOPipesINTEL' : 5943, + 'BlockingPipesALTERA' : 5945, 'BlockingPipesINTEL' : 5945, + 'FPGARegALTERA' : 5948, 'FPGARegINTEL' : 5948, 'DotProductInputAll' : 6016, 'DotProductInputAllKHR' : 6016, @@ -1231,13 +1311,18 @@ 'BFloat16ConversionINTEL' : 6115, 'SplitBarrierINTEL' : 6141, 'ArithmeticFenceEXT' : 6144, + 'FPGAClusterAttributesV2ALTERA' : 6150, 'FPGAClusterAttributesV2INTEL' : 6150, 'FPGAKernelAttributesv2INTEL' : 6161, + 'TaskSequenceALTERA' : 6162, 'TaskSequenceINTEL' : 6162, 'FPMaxErrorINTEL' : 6169, + 'FPGALatencyControlALTERA' : 6171, 'FPGALatencyControlINTEL' : 6171, + 'FPGAArgumentInterfacesALTERA' : 6174, 'FPGAArgumentInterfacesINTEL' : 6174, 'GlobalVariableHostAccessINTEL' : 6187, + 'GlobalVariableFPGADecorationsALTERA' : 6189, 'GlobalVariableFPGADecorationsINTEL' : 6189, 'SubgroupBufferPrefetchINTEL' : 6220, 'Subgroup2DBlockIOINTEL' : 6228, @@ -1431,7 +1516,9 @@ }, 'InitializationModeQualifier' : { + 'InitOnDeviceReprogramALTERA' : 0, 'InitOnDeviceReprogramINTEL' : 0, + 'InitOnDeviceResetALTERA' : 1, 'InitOnDeviceResetINTEL' : 1, }, @@ -2249,23 +2336,41 @@ 'OpVariableLengthArrayINTEL' : 5818, 'OpSaveMemoryINTEL' : 5819, 'OpRestoreMemoryINTEL' : 5820, + 'OpArbitraryFloatSinCosPiALTERA' : 5840, 'OpArbitraryFloatSinCosPiINTEL' : 5840, + 'OpArbitraryFloatCastALTERA' : 5841, 'OpArbitraryFloatCastINTEL' : 5841, + 'OpArbitraryFloatCastFromIntALTERA' : 5842, 'OpArbitraryFloatCastFromIntINTEL' : 5842, + 'OpArbitraryFloatCastToIntALTERA' : 5843, 'OpArbitraryFloatCastToIntINTEL' : 5843, + 'OpArbitraryFloatAddALTERA' : 5846, 'OpArbitraryFloatAddINTEL' : 5846, + 'OpArbitraryFloatSubALTERA' : 5847, 'OpArbitraryFloatSubINTEL' : 5847, + 'OpArbitraryFloatMulALTERA' : 5848, 'OpArbitraryFloatMulINTEL' : 5848, + 'OpArbitraryFloatDivALTERA' : 5849, 'OpArbitraryFloatDivINTEL' : 5849, + 'OpArbitraryFloatGTALTERA' : 5850, 'OpArbitraryFloatGTINTEL' : 5850, + 'OpArbitraryFloatGEALTERA' : 5851, 'OpArbitraryFloatGEINTEL' : 5851, + 'OpArbitraryFloatLTALTERA' : 5852, 'OpArbitraryFloatLTINTEL' : 5852, + 'OpArbitraryFloatLEALTERA' : 5853, 'OpArbitraryFloatLEINTEL' : 5853, + 'OpArbitraryFloatEQALTERA' : 5854, 'OpArbitraryFloatEQINTEL' : 5854, + 'OpArbitraryFloatRecipALTERA' : 5855, 'OpArbitraryFloatRecipINTEL' : 5855, + 'OpArbitraryFloatRSqrtALTERA' : 5856, 'OpArbitraryFloatRSqrtINTEL' : 5856, + 'OpArbitraryFloatCbrtALTERA' : 5857, 'OpArbitraryFloatCbrtINTEL' : 5857, + 'OpArbitraryFloatHypotALTERA' : 5858, 'OpArbitraryFloatHypotINTEL' : 5858, + 'OpArbitraryFloatSqrtALTERA' : 5859, 'OpArbitraryFloatSqrtINTEL' : 5859, 'OpArbitraryFloatLogINTEL' : 5860, 'OpArbitraryFloatLog2INTEL' : 5861, @@ -2294,21 +2399,37 @@ 'OpAliasDomainDeclINTEL' : 5911, 'OpAliasScopeDeclINTEL' : 5912, 'OpAliasScopeListDeclINTEL' : 5913, + 'OpFixedSqrtALTERA' : 5923, 'OpFixedSqrtINTEL' : 5923, + 'OpFixedRecipALTERA' : 5924, 'OpFixedRecipINTEL' : 5924, + 'OpFixedRsqrtALTERA' : 5925, 'OpFixedRsqrtINTEL' : 5925, + 'OpFixedSinALTERA' : 5926, 'OpFixedSinINTEL' : 5926, + 'OpFixedCosALTERA' : 5927, 'OpFixedCosINTEL' : 5927, + 'OpFixedSinCosALTERA' : 5928, 'OpFixedSinCosINTEL' : 5928, + 'OpFixedSinPiALTERA' : 5929, 'OpFixedSinPiINTEL' : 5929, + 'OpFixedCosPiALTERA' : 5930, 'OpFixedCosPiINTEL' : 5930, + 'OpFixedSinCosPiALTERA' : 5931, 'OpFixedSinCosPiINTEL' : 5931, + 'OpFixedLogALTERA' : 5932, 'OpFixedLogINTEL' : 5932, + 'OpFixedExpALTERA' : 5933, 'OpFixedExpINTEL' : 5933, + 'OpPtrCastToCrossWorkgroupALTERA' : 5934, 'OpPtrCastToCrossWorkgroupINTEL' : 5934, + 'OpCrossWorkgroupCastToPtrALTERA' : 5938, 'OpCrossWorkgroupCastToPtrINTEL' : 5938, + 'OpReadPipeBlockingALTERA' : 5946, 'OpReadPipeBlockingINTEL' : 5946, + 'OpWritePipeBlockingALTERA' : 5947, 'OpWritePipeBlockingINTEL' : 5947, + 'OpFPGARegALTERA' : 5949, 'OpFPGARegINTEL' : 5949, 'OpRayQueryGetRayTMinKHR' : 6016, 'OpRayQueryGetRayFlagsKHR' : 6017, @@ -2338,10 +2459,15 @@ 'OpControlBarrierArriveINTEL' : 6142, 'OpControlBarrierWaitINTEL' : 6143, 'OpArithmeticFenceEXT' : 6145, + 'OpTaskSequenceCreateALTERA' : 6163, 'OpTaskSequenceCreateINTEL' : 6163, + 'OpTaskSequenceAsyncALTERA' : 6164, 'OpTaskSequenceAsyncINTEL' : 6164, + 'OpTaskSequenceGetALTERA' : 6165, 'OpTaskSequenceGetINTEL' : 6165, + 'OpTaskSequenceReleaseALTERA' : 6166, 'OpTaskSequenceReleaseINTEL' : 6166, + 'OpTypeTaskSequenceALTERA' : 6199, 'OpTypeTaskSequenceINTEL' : 6199, 'OpSubgroupBlockPrefetchINTEL' : 6221, 'OpSubgroup2DBlockLoadINTEL' : 6231, diff --git a/include/spirv/unified1/spv.d b/include/spirv/unified1/spv.d index bbb0167db..a4ae899c6 100644 --- a/include/spirv/unified1/spv.d +++ b/include/spirv/unified1/spv.d @@ -251,7 +251,9 @@ enum StorageClass : uint HitObjectAttributeNV = 5385, TaskPayloadWorkgroupEXT = 5402, CodeSectionINTEL = 5605, + DeviceOnlyALTERA = 5936, DeviceOnlyINTEL = 5936, + HostOnlyALTERA = 5937, HostOnlyINTEL = 5937, Max = 0x7fffffff, } @@ -504,6 +506,7 @@ enum FunctionParameterAttribute : uint NoCapture = 5, NoWrite = 6, NoReadWrite = 7, + RuntimeAlignedALTERA = 5940, RuntimeAlignedINTEL = 5940, Max = 0x7fffffff, } @@ -609,54 +612,95 @@ enum Decoration : uint UserTypeGOOGLE = 5636, FunctionRoundingModeINTEL = 5822, FunctionDenormModeINTEL = 5823, + RegisterALTERA = 5825, RegisterINTEL = 5825, + MemoryALTERA = 5826, MemoryINTEL = 5826, + NumbanksALTERA = 5827, NumbanksINTEL = 5827, + BankwidthALTERA = 5828, BankwidthINTEL = 5828, + MaxPrivateCopiesALTERA = 5829, MaxPrivateCopiesINTEL = 5829, + SinglepumpALTERA = 5830, SinglepumpINTEL = 5830, + DoublepumpALTERA = 5831, DoublepumpINTEL = 5831, + MaxReplicatesALTERA = 5832, MaxReplicatesINTEL = 5832, + SimpleDualPortALTERA = 5833, SimpleDualPortINTEL = 5833, + MergeALTERA = 5834, MergeINTEL = 5834, + BankBitsALTERA = 5835, BankBitsINTEL = 5835, + ForcePow2DepthALTERA = 5836, ForcePow2DepthINTEL = 5836, + StridesizeALTERA = 5883, StridesizeINTEL = 5883, + WordsizeALTERA = 5884, WordsizeINTEL = 5884, + TrueDualPortALTERA = 5885, TrueDualPortINTEL = 5885, + BurstCoalesceALTERA = 5899, BurstCoalesceINTEL = 5899, + CacheSizeALTERA = 5900, CacheSizeINTEL = 5900, + DontStaticallyCoalesceALTERA = 5901, DontStaticallyCoalesceINTEL = 5901, + PrefetchALTERA = 5902, PrefetchINTEL = 5902, + StallEnableALTERA = 5905, StallEnableINTEL = 5905, + FuseLoopsInFunctionALTERA = 5907, FuseLoopsInFunctionINTEL = 5907, + MathOpDSPModeALTERA = 5909, MathOpDSPModeINTEL = 5909, AliasScopeINTEL = 5914, NoAliasINTEL = 5915, + InitiationIntervalALTERA = 5917, InitiationIntervalINTEL = 5917, + MaxConcurrencyALTERA = 5918, MaxConcurrencyINTEL = 5918, + PipelineEnableALTERA = 5919, PipelineEnableINTEL = 5919, + BufferLocationALTERA = 5921, BufferLocationINTEL = 5921, + IOPipeStorageALTERA = 5944, IOPipeStorageINTEL = 5944, FunctionFloatingPointModeINTEL = 6080, SingleElementVectorINTEL = 6085, VectorComputeCallableFunctionINTEL = 6087, MediaBlockIOINTEL = 6140, + StallFreeALTERA = 6151, StallFreeINTEL = 6151, FPMaxErrorDecorationINTEL = 6170, + LatencyControlLabelALTERA = 6172, LatencyControlLabelINTEL = 6172, + LatencyControlConstraintALTERA = 6173, LatencyControlConstraintINTEL = 6173, + ConduitKernelArgumentALTERA = 6175, ConduitKernelArgumentINTEL = 6175, + RegisterMapKernelArgumentALTERA = 6176, RegisterMapKernelArgumentINTEL = 6176, + MMHostInterfaceAddressWidthALTERA = 6177, MMHostInterfaceAddressWidthINTEL = 6177, + MMHostInterfaceDataWidthALTERA = 6178, MMHostInterfaceDataWidthINTEL = 6178, + MMHostInterfaceLatencyALTERA = 6179, MMHostInterfaceLatencyINTEL = 6179, + MMHostInterfaceReadWriteModeALTERA = 6180, MMHostInterfaceReadWriteModeINTEL = 6180, + MMHostInterfaceMaxBurstALTERA = 6181, MMHostInterfaceMaxBurstINTEL = 6181, + MMHostInterfaceWaitRequestALTERA = 6182, MMHostInterfaceWaitRequestINTEL = 6182, + StableKernelArgumentALTERA = 6183, StableKernelArgumentINTEL = 6183, HostAccessINTEL = 6188, + InitModeALTERA = 6190, InitModeINTEL = 6190, + ImplementInRegisterMapALTERA = 6191, ImplementInRegisterMapINTEL = 6191, ConditionalINTEL = 6247, CacheControlLoadINTEL = 6442, @@ -842,15 +886,25 @@ enum LoopControlShift : uint IterationMultiple = 6, PeelCount = 7, PartialCount = 8, + InitiationIntervalALTERA = 16, InitiationIntervalINTEL = 16, + MaxConcurrencyALTERA = 17, MaxConcurrencyINTEL = 17, + DependencyArrayALTERA = 18, DependencyArrayINTEL = 18, + PipelineEnableALTERA = 19, PipelineEnableINTEL = 19, + LoopCoalesceALTERA = 20, LoopCoalesceINTEL = 20, + MaxInterleavingALTERA = 21, MaxInterleavingINTEL = 21, + SpeculatedIterationsALTERA = 22, SpeculatedIterationsINTEL = 22, + NoFusionALTERA = 23, NoFusionINTEL = 23, + LoopCountALTERA = 24, LoopCountINTEL = 24, + MaxReinvocationDelayALTERA = 25, MaxReinvocationDelayINTEL = 25, Max = 0x7fffffff, } @@ -867,15 +921,25 @@ enum LoopControlMask : uint IterationMultiple = 0x00000040, PeelCount = 0x00000080, PartialCount = 0x00000100, + InitiationIntervalALTERA = 0x00010000, InitiationIntervalINTEL = 0x00010000, + MaxConcurrencyALTERA = 0x00020000, MaxConcurrencyINTEL = 0x00020000, + DependencyArrayALTERA = 0x00040000, DependencyArrayINTEL = 0x00040000, + PipelineEnableALTERA = 0x00080000, PipelineEnableINTEL = 0x00080000, + LoopCoalesceALTERA = 0x00100000, LoopCoalesceINTEL = 0x00100000, + MaxInterleavingALTERA = 0x00200000, MaxInterleavingINTEL = 0x00200000, + SpeculatedIterationsALTERA = 0x00400000, SpeculatedIterationsINTEL = 0x00400000, + NoFusionALTERA = 0x00800000, NoFusionINTEL = 0x00800000, + LoopCountALTERA = 0x01000000, LoopCountINTEL = 0x01000000, + MaxReinvocationDelayALTERA = 0x02000000, MaxReinvocationDelayINTEL = 0x02000000, } @@ -1259,26 +1323,42 @@ enum Capability : uint SubgroupAvcMotionEstimationChromaINTEL = 5698, VariableLengthArrayINTEL = 5817, FunctionFloatControlINTEL = 5821, + FPGAMemoryAttributesALTERA = 5824, FPGAMemoryAttributesINTEL = 5824, FPFastMathModeINTEL = 5837, + ArbitraryPrecisionIntegersALTERA = 5844, ArbitraryPrecisionIntegersINTEL = 5844, + ArbitraryPrecisionFloatingPointALTERA = 5845, ArbitraryPrecisionFloatingPointINTEL = 5845, UnstructuredLoopControlsINTEL = 5886, + FPGALoopControlsALTERA = 5888, FPGALoopControlsINTEL = 5888, KernelAttributesINTEL = 5892, FPGAKernelAttributesINTEL = 5897, + FPGAMemoryAccessesALTERA = 5898, FPGAMemoryAccessesINTEL = 5898, + FPGAClusterAttributesALTERA = 5904, FPGAClusterAttributesINTEL = 5904, + LoopFuseALTERA = 5906, LoopFuseINTEL = 5906, + FPGADSPControlALTERA = 5908, FPGADSPControlINTEL = 5908, MemoryAccessAliasingINTEL = 5910, + FPGAInvocationPipeliningAttributesALTERA = 5916, FPGAInvocationPipeliningAttributesINTEL = 5916, + FPGABufferLocationALTERA = 5920, FPGABufferLocationINTEL = 5920, + ArbitraryPrecisionFixedPointALTERA = 5922, ArbitraryPrecisionFixedPointINTEL = 5922, + USMStorageClassesALTERA = 5935, USMStorageClassesINTEL = 5935, + RuntimeAlignedAttributeALTERA = 5939, RuntimeAlignedAttributeINTEL = 5939, + IOPipesALTERA = 5943, IOPipesINTEL = 5943, + BlockingPipesALTERA = 5945, BlockingPipesINTEL = 5945, + FPGARegALTERA = 5948, FPGARegINTEL = 5948, DotProductInputAll = 6016, DotProductInputAllKHR = 6016, @@ -1305,13 +1385,18 @@ enum Capability : uint BFloat16ConversionINTEL = 6115, SplitBarrierINTEL = 6141, ArithmeticFenceEXT = 6144, + FPGAClusterAttributesV2ALTERA = 6150, FPGAClusterAttributesV2INTEL = 6150, FPGAKernelAttributesv2INTEL = 6161, + TaskSequenceALTERA = 6162, TaskSequenceINTEL = 6162, FPMaxErrorINTEL = 6169, + FPGALatencyControlALTERA = 6171, FPGALatencyControlINTEL = 6171, + FPGAArgumentInterfacesALTERA = 6174, FPGAArgumentInterfacesINTEL = 6174, GlobalVariableHostAccessINTEL = 6187, + GlobalVariableFPGADecorationsALTERA = 6189, GlobalVariableFPGADecorationsINTEL = 6189, SubgroupBufferPrefetchINTEL = 6220, Subgroup2DBlockIOINTEL = 6228, @@ -1547,7 +1632,9 @@ enum TensorOperandsMask : uint enum InitializationModeQualifier : uint { + InitOnDeviceReprogramALTERA = 0, InitOnDeviceReprogramINTEL = 0, + InitOnDeviceResetALTERA = 1, InitOnDeviceResetINTEL = 1, Max = 0x7fffffff, } @@ -2387,23 +2474,41 @@ enum Op : uint OpVariableLengthArrayINTEL = 5818, OpSaveMemoryINTEL = 5819, OpRestoreMemoryINTEL = 5820, + OpArbitraryFloatSinCosPiALTERA = 5840, OpArbitraryFloatSinCosPiINTEL = 5840, + OpArbitraryFloatCastALTERA = 5841, OpArbitraryFloatCastINTEL = 5841, + OpArbitraryFloatCastFromIntALTERA = 5842, OpArbitraryFloatCastFromIntINTEL = 5842, + OpArbitraryFloatCastToIntALTERA = 5843, OpArbitraryFloatCastToIntINTEL = 5843, + OpArbitraryFloatAddALTERA = 5846, OpArbitraryFloatAddINTEL = 5846, + OpArbitraryFloatSubALTERA = 5847, OpArbitraryFloatSubINTEL = 5847, + OpArbitraryFloatMulALTERA = 5848, OpArbitraryFloatMulINTEL = 5848, + OpArbitraryFloatDivALTERA = 5849, OpArbitraryFloatDivINTEL = 5849, + OpArbitraryFloatGTALTERA = 5850, OpArbitraryFloatGTINTEL = 5850, + OpArbitraryFloatGEALTERA = 5851, OpArbitraryFloatGEINTEL = 5851, + OpArbitraryFloatLTALTERA = 5852, OpArbitraryFloatLTINTEL = 5852, + OpArbitraryFloatLEALTERA = 5853, OpArbitraryFloatLEINTEL = 5853, + OpArbitraryFloatEQALTERA = 5854, OpArbitraryFloatEQINTEL = 5854, + OpArbitraryFloatRecipALTERA = 5855, OpArbitraryFloatRecipINTEL = 5855, + OpArbitraryFloatRSqrtALTERA = 5856, OpArbitraryFloatRSqrtINTEL = 5856, + OpArbitraryFloatCbrtALTERA = 5857, OpArbitraryFloatCbrtINTEL = 5857, + OpArbitraryFloatHypotALTERA = 5858, OpArbitraryFloatHypotINTEL = 5858, + OpArbitraryFloatSqrtALTERA = 5859, OpArbitraryFloatSqrtINTEL = 5859, OpArbitraryFloatLogINTEL = 5860, OpArbitraryFloatLog2INTEL = 5861, @@ -2432,21 +2537,37 @@ enum Op : uint OpAliasDomainDeclINTEL = 5911, OpAliasScopeDeclINTEL = 5912, OpAliasScopeListDeclINTEL = 5913, + OpFixedSqrtALTERA = 5923, OpFixedSqrtINTEL = 5923, + OpFixedRecipALTERA = 5924, OpFixedRecipINTEL = 5924, + OpFixedRsqrtALTERA = 5925, OpFixedRsqrtINTEL = 5925, + OpFixedSinALTERA = 5926, OpFixedSinINTEL = 5926, + OpFixedCosALTERA = 5927, OpFixedCosINTEL = 5927, + OpFixedSinCosALTERA = 5928, OpFixedSinCosINTEL = 5928, + OpFixedSinPiALTERA = 5929, OpFixedSinPiINTEL = 5929, + OpFixedCosPiALTERA = 5930, OpFixedCosPiINTEL = 5930, + OpFixedSinCosPiALTERA = 5931, OpFixedSinCosPiINTEL = 5931, + OpFixedLogALTERA = 5932, OpFixedLogINTEL = 5932, + OpFixedExpALTERA = 5933, OpFixedExpINTEL = 5933, + OpPtrCastToCrossWorkgroupALTERA = 5934, OpPtrCastToCrossWorkgroupINTEL = 5934, + OpCrossWorkgroupCastToPtrALTERA = 5938, OpCrossWorkgroupCastToPtrINTEL = 5938, + OpReadPipeBlockingALTERA = 5946, OpReadPipeBlockingINTEL = 5946, + OpWritePipeBlockingALTERA = 5947, OpWritePipeBlockingINTEL = 5947, + OpFPGARegALTERA = 5949, OpFPGARegINTEL = 5949, OpRayQueryGetRayTMinKHR = 6016, OpRayQueryGetRayFlagsKHR = 6017, @@ -2476,10 +2597,15 @@ enum Op : uint OpControlBarrierArriveINTEL = 6142, OpControlBarrierWaitINTEL = 6143, OpArithmeticFenceEXT = 6145, + OpTaskSequenceCreateALTERA = 6163, OpTaskSequenceCreateINTEL = 6163, + OpTaskSequenceAsyncALTERA = 6164, OpTaskSequenceAsyncINTEL = 6164, + OpTaskSequenceGetALTERA = 6165, OpTaskSequenceGetINTEL = 6165, + OpTaskSequenceReleaseALTERA = 6166, OpTaskSequenceReleaseINTEL = 6166, + OpTypeTaskSequenceALTERA = 6199, OpTypeTaskSequenceINTEL = 6199, OpSubgroupBlockPrefetchINTEL = 6221, OpSubgroup2DBlockLoadINTEL = 6231, diff --git a/tools/buildHeaders/jsonToSpirv.cpp b/tools/buildHeaders/jsonToSpirv.cpp index cc55723e0..e7d69b664 100644 --- a/tools/buildHeaders/jsonToSpirv.cpp +++ b/tools/buildHeaders/jsonToSpirv.cpp @@ -99,9 +99,6 @@ bool IsLegacyDoublyEnabledInstruction(const std::string& instruction) { "OpAliasDomainDeclINTEL", "OpAliasScopeDeclINTEL", "OpAliasScopeListDeclINTEL", - "OpReadPipeBlockingINTEL", - "OpWritePipeBlockingINTEL", - "OpFPGARegINTEL", "OpRayQueryGetRayTMinKHR", "OpRayQueryGetRayFlagsKHR", "OpRayQueryGetIntersectionTKHR", From f2e4bd213104fe323a01e935df56557328d37ac8 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Wed, 29 Oct 2025 16:38:10 +0100 Subject: [PATCH 05/11] Use regular integers when the enumerant value is not hexadecimal (#550) --- .../unified1/extinst.debuginfo.grammar.json | 46 ++++++++-------- ...semantic.shader.debuginfo.100.grammar.json | 54 +++++++++---------- .../extinst.opencl.debuginfo.100.grammar.json | 54 +++++++++---------- 3 files changed, 77 insertions(+), 77 deletions(-) diff --git a/include/spirv/unified1/extinst.debuginfo.grammar.json b/include/spirv/unified1/extinst.debuginfo.grammar.json index d723d6129..b73874d6e 100644 --- a/include/spirv/unified1/extinst.debuginfo.grammar.json +++ b/include/spirv/unified1/extinst.debuginfo.grammar.json @@ -432,35 +432,35 @@ "enumerants" : [ { "enumerant" : "Unspecified", - "value" : "0" + "value" : 0 }, { "enumerant" : "Address", - "value" : "1" + "value" : 1 }, { "enumerant" : "Boolean", - "value" : "2" + "value" : 2 }, { "enumerant" : "Float", - "value" : "4" + "value" : 4 }, { "enumerant" : "Signed", - "value" : "5" + "value" : 5 }, { "enumerant" : "SignedChar", - "value" : "6" + "value" : 6 }, { "enumerant" : "Unsigned", - "value" : "7" + "value" : 7 }, { "enumerant" : "UnsignedChar", - "value" : "8" + "value" : 8 } ] }, @@ -470,15 +470,15 @@ "enumerants" : [ { "enumerant" : "Class", - "value" : "0" + "value" : 0 }, { "enumerant" : "Structure", - "value" : "1" + "value" : 1 }, { "enumerant" : "Union", - "value" : "2" + "value" : 2 } ] }, @@ -488,15 +488,15 @@ "enumerants" : [ { "enumerant" : "ConstType", - "value" : "0" + "value" : 0 }, { "enumerant" : "VolatileType", - "value" : "1" + "value" : 1 }, { "enumerant" : "RestrictType", - "value" : "2" + "value" : 2 } ] }, @@ -506,26 +506,26 @@ "enumerants" : [ { "enumerant" : "Deref", - "value" : "0" + "value" : 0 }, { "enumerant" : "Plus", - "value" : "1" + "value" : 1 }, { "enumerant" : "Minus", - "value" : "2" + "value" : 2 }, { "enumerant" : "PlusUconst", - "value" : "3", + "value" : 3, "parameters" : [ { "kind" : "LiteralInteger" } ] }, { "enumerant" : "BitPiece", - "value" : "4", + "value" : 4, "parameters" : [ { "kind" : "LiteralInteger" }, { "kind" : "LiteralInteger" } @@ -533,19 +533,19 @@ }, { "enumerant" : "Swap", - "value" : "5" + "value" : 5 }, { "enumerant" : "Xderef", - "value" : "6" + "value" : 6 }, { "enumerant" : "StackValue", - "value" : "7" + "value" : 7 }, { "enumerant" : "Constu", - "value" : "8", + "value" : 8, "parameters" : [ { "kind" : "LiteralInteger" } ] diff --git a/include/spirv/unified1/extinst.nonsemantic.shader.debuginfo.100.grammar.json b/include/spirv/unified1/extinst.nonsemantic.shader.debuginfo.100.grammar.json index effbdd3fb..305f17112 100644 --- a/include/spirv/unified1/extinst.nonsemantic.shader.debuginfo.100.grammar.json +++ b/include/spirv/unified1/extinst.nonsemantic.shader.debuginfo.100.grammar.json @@ -547,35 +547,35 @@ "enumerants" : [ { "enumerant" : "Unspecified", - "value" : "0" + "value" : 0 }, { "enumerant" : "Address", - "value" : "1" + "value" : 1 }, { "enumerant" : "Boolean", - "value" : "2" + "value" : 2 }, { "enumerant" : "Float", - "value" : "3" + "value" : 3 }, { "enumerant" : "Signed", - "value" : "4" + "value" : 4 }, { "enumerant" : "SignedChar", - "value" : "5" + "value" : 5 }, { "enumerant" : "Unsigned", - "value" : "6" + "value" : 6 }, { "enumerant" : "UnsignedChar", - "value" : "7" + "value" : 7 } ] }, @@ -585,15 +585,15 @@ "enumerants" : [ { "enumerant" : "Class", - "value" : "0" + "value" : 0 }, { "enumerant" : "Structure", - "value" : "1" + "value" : 1 }, { "enumerant" : "Union", - "value" : "2" + "value" : 2 } ] }, @@ -603,19 +603,19 @@ "enumerants" : [ { "enumerant" : "ConstType", - "value" : "0" + "value" : 0 }, { "enumerant" : "VolatileType", - "value" : "1" + "value" : 1 }, { "enumerant" : "RestrictType", - "value" : "2" + "value" : 2 }, { "enumerant" : "AtomicType", - "value" : "3" + "value" : 3 } ] }, @@ -625,26 +625,26 @@ "enumerants" : [ { "enumerant" : "Deref", - "value" : "0" + "value" : 0 }, { "enumerant" : "Plus", - "value" : "1" + "value" : 1 }, { "enumerant" : "Minus", - "value" : "2" + "value" : 2 }, { "enumerant" : "PlusUconst", - "value" : "3", + "value" : 3, "parameters" : [ { "kind" : "IdRef" } ] }, { "enumerant" : "BitPiece", - "value" : "4", + "value" : 4, "parameters" : [ { "kind" : "IdRef" }, { "kind" : "IdRef" } @@ -652,26 +652,26 @@ }, { "enumerant" : "Swap", - "value" : "5" + "value" : 5 }, { "enumerant" : "Xderef", - "value" : "6" + "value" : 6 }, { "enumerant" : "StackValue", - "value" : "7" + "value" : 7 }, { "enumerant" : "Constu", - "value" : "8", + "value" : 8, "parameters" : [ { "kind" : "IdRef" } ] }, { "enumerant" : "Fragment", - "value" : "9", + "value" : 9, "parameters" : [ { "kind" : "IdRef" }, { "kind" : "IdRef" } @@ -685,11 +685,11 @@ "enumerants" : [ { "enumerant" : "ImportedModule", - "value" : "0" + "value" : 0 }, { "enumerant" : "ImportedDeclaration", - "value" : "1" + "value" : 1 } ] } diff --git a/include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json b/include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json index 6d4d6e3e5..598d0f6b1 100644 --- a/include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json +++ b/include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json @@ -485,35 +485,35 @@ "enumerants" : [ { "enumerant" : "Unspecified", - "value" : "0" + "value" : 0 }, { "enumerant" : "Address", - "value" : "1" + "value" : 1 }, { "enumerant" : "Boolean", - "value" : "2" + "value" : 2 }, { "enumerant" : "Float", - "value" : "3" + "value" : 3 }, { "enumerant" : "Signed", - "value" : "4" + "value" : 4 }, { "enumerant" : "SignedChar", - "value" : "5" + "value" : 5 }, { "enumerant" : "Unsigned", - "value" : "6" + "value" : 6 }, { "enumerant" : "UnsignedChar", - "value" : "7" + "value" : 7 } ] }, @@ -523,15 +523,15 @@ "enumerants" : [ { "enumerant" : "Class", - "value" : "0" + "value" : 0 }, { "enumerant" : "Structure", - "value" : "1" + "value" : 1 }, { "enumerant" : "Union", - "value" : "2" + "value" : 2 } ] }, @@ -541,19 +541,19 @@ "enumerants" : [ { "enumerant" : "ConstType", - "value" : "0" + "value" : 0 }, { "enumerant" : "VolatileType", - "value" : "1" + "value" : 1 }, { "enumerant" : "RestrictType", - "value" : "2" + "value" : 2 }, { "enumerant" : "AtomicType", - "value" : "3" + "value" : 3 } ] }, @@ -563,26 +563,26 @@ "enumerants" : [ { "enumerant" : "Deref", - "value" : "0" + "value" : 0 }, { "enumerant" : "Plus", - "value" : "1" + "value" : 1 }, { "enumerant" : "Minus", - "value" : "2" + "value" : 2 }, { "enumerant" : "PlusUconst", - "value" : "3", + "value" : 3, "parameters" : [ { "kind" : "LiteralInteger" } ] }, { "enumerant" : "BitPiece", - "value" : "4", + "value" : 4, "parameters" : [ { "kind" : "LiteralInteger" }, { "kind" : "LiteralInteger" } @@ -590,26 +590,26 @@ }, { "enumerant" : "Swap", - "value" : "5" + "value" : 5 }, { "enumerant" : "Xderef", - "value" : "6" + "value" : 6 }, { "enumerant" : "StackValue", - "value" : "7" + "value" : 7 }, { "enumerant" : "Constu", - "value" : "8", + "value" : 8, "parameters" : [ { "kind" : "LiteralInteger" } ] }, { "enumerant" : "Fragment", - "value" : "9", + "value" : 9, "parameters" : [ { "kind" : "LiteralInteger" }, { "kind" : "LiteralInteger" } @@ -623,11 +623,11 @@ "enumerants" : [ { "enumerant" : "ImportedModule", - "value" : "0" + "value" : 0 }, { "enumerant" : "ImportedDeclaration", - "value" : "1" + "value" : 1 } ] } From 0ff65315141cf745c1ac286084943409edbe6504 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Petit?= Date: Wed, 5 Nov 2025 16:36:29 +0000 Subject: [PATCH 06/11] Update TOSA patch version in TOSA.001000.1 instruction set (#553) Change-Id: I11147ca086d52694b117f59a9788ca729067dbcb Signed-off-by: Kevin Petit --- include/spirv/unified1/TOSA.001000.1.h | 2 +- include/spirv/unified1/extinst.tosa.001000.1.grammar.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/spirv/unified1/TOSA.001000.1.h b/include/spirv/unified1/TOSA.001000.1.h index 3da296907..619024cf9 100644 --- a/include/spirv/unified1/TOSA.001000.1.h +++ b/include/spirv/unified1/TOSA.001000.1.h @@ -9,7 +9,7 @@ extern "C" { #endif enum { - TOSAVersion = 1000000, + TOSAVersion = 1000001, TOSAVersion_BitWidthPadding = 0x7fffffff }; enum { diff --git a/include/spirv/unified1/extinst.tosa.001000.1.grammar.json b/include/spirv/unified1/extinst.tosa.001000.1.grammar.json index cabab82fb..1eabf584c 100644 --- a/include/spirv/unified1/extinst.tosa.001000.1.grammar.json +++ b/include/spirv/unified1/extinst.tosa.001000.1.grammar.json @@ -3,7 +3,7 @@ "SPDX-FileCopyrightText: 2022-2025 Arm Ltd.", "SPDX-License-Identifier: MIT" ], - "version": 1000000, + "version": 1000001, "revision": 1, "instructions": [ { From a582b76273bc5655a7349c70e327e045ae12f9f2 Mon Sep 17 00:00:00 2001 From: alelenv <40001162+alelenv@users.noreply.github.com> Date: Wed, 12 Nov 2025 08:43:18 -0800 Subject: [PATCH 07/11] Add headers for SPV_EXT_shader_invocation_reorder. (#554) * Add headers for SPV_EXT_shader_invocation_reorder. * Address review feedback for inconsistencies wrt spec. --- include/spirv/unified1/spirv.bf | 39 ++ .../spirv/unified1/spirv.core.grammar.json | 496 ++++++++++++++++++ include/spirv/unified1/spirv.cs | 39 ++ include/spirv/unified1/spirv.h | 114 ++++ include/spirv/unified1/spirv.hpp | 114 ++++ include/spirv/unified1/spirv.hpp11 | 114 ++++ include/spirv/unified1/spirv.json | 39 ++ include/spirv/unified1/spirv.lua | 39 ++ include/spirv/unified1/spirv.py | 39 ++ include/spirv/unified1/spv.d | 39 ++ 10 files changed, 1072 insertions(+) diff --git a/include/spirv/unified1/spirv.bf b/include/spirv/unified1/spirv.bf index 677c236ae..77fb1332c 100644 --- a/include/spirv/unified1/spirv.bf +++ b/include/spirv/unified1/spirv.bf @@ -248,6 +248,7 @@ namespace Spv PhysicalStorageBufferEXT = 5349, HitObjectAttributeNV = 5385, TaskPayloadWorkgroupEXT = 5402, + HitObjectAttributeEXT = 5411, CodeSectionINTEL = 5605, DeviceOnlyALTERA = 5936, DeviceOnlyINTEL = 5936, @@ -590,6 +591,7 @@ namespace Spv AliasedPointer = 5356, AliasedPointerEXT = 5356, HitObjectShaderRecordBufferNV = 5386, + HitObjectShaderRecordBufferEXT = 5389, BindlessSamplerNV = 5398, BindlessImageNV = 5399, BoundSamplerNV = 5400, @@ -1283,6 +1285,7 @@ namespace Spv DisplacementMicromapNV = 5380, RayTracingOpacityMicromapEXT = 5381, ShaderInvocationReorderNV = 5383, + ShaderInvocationReorderEXT = 5388, BindlessTextureNV = 5390, RayQueryPositionFetchKHR = 5391, CooperativeVectorNV = 5394, @@ -2252,6 +2255,36 @@ namespace Spv OpFetchMicroTriangleVertexBarycentricNV = 5301, OpCooperativeVectorLoadNV = 5302, OpCooperativeVectorStoreNV = 5303, + OpHitObjectRecordFromQueryEXT = 5304, + OpHitObjectRecordMissEXT = 5305, + OpHitObjectRecordMissMotionEXT = 5306, + OpHitObjectGetIntersectionTriangleVertexPositionsEXT = 5307, + OpHitObjectGetRayFlagsEXT = 5308, + OpHitObjectSetShaderBindingTableRecordIndexEXT = 5309, + OpHitObjectReorderExecuteShaderEXT = 5310, + OpHitObjectTraceReorderExecuteEXT = 5311, + OpHitObjectTraceMotionReorderExecuteEXT = 5312, + OpTypeHitObjectEXT = 5313, + OpReorderThreadWithHintEXT = 5314, + OpReorderThreadWithHitObjectEXT = 5315, + OpHitObjectTraceRayEXT = 5316, + OpHitObjectTraceRayMotionEXT = 5317, + OpHitObjectRecordEmptyEXT = 5318, + OpHitObjectExecuteShaderEXT = 5319, + OpHitObjectGetCurrentTimeEXT = 5320, + OpHitObjectGetAttributesEXT = 5321, + OpHitObjectGetHitKindEXT = 5322, + OpHitObjectGetPrimitiveIndexEXT = 5323, + OpHitObjectGetGeometryIndexEXT = 5324, + OpHitObjectGetInstanceIdEXT = 5325, + OpHitObjectGetInstanceCustomIndexEXT = 5326, + OpHitObjectGetObjectRayOriginEXT = 5327, + OpHitObjectGetObjectRayDirectionEXT = 5328, + OpHitObjectGetWorldRayDirectionEXT = 5329, + OpHitObjectGetWorldRayOriginEXT = 5330, + OpHitObjectGetObjectToWorldEXT = 5331, + OpHitObjectGetWorldToObjectEXT = 5332, + OpHitObjectGetRayTMaxEXT = 5333, OpReportIntersectionKHR = 5334, OpReportIntersectionNV = 5334, OpIgnoreIntersectionNV = 5335, @@ -2266,6 +2299,12 @@ namespace Spv OpRayQueryGetClusterIdNV = 5345, OpRayQueryGetIntersectionClusterIdNV = 5345, OpHitObjectGetClusterIdNV = 5346, + OpHitObjectGetRayTMinEXT = 5347, + OpHitObjectGetShaderBindingTableRecordIndexEXT = 5348, + OpHitObjectGetShaderRecordBufferHandleEXT = 5349, + OpHitObjectIsEmptyEXT = 5350, + OpHitObjectIsHitEXT = 5351, + OpHitObjectIsMissEXT = 5352, OpTypeCooperativeMatrixNV = 5358, OpCooperativeMatrixLoadNV = 5359, OpCooperativeMatrixStoreNV = 5360, diff --git a/include/spirv/unified1/spirv.core.grammar.json b/include/spirv/unified1/spirv.core.grammar.json index 74aff15f7..0eaf7820c 100644 --- a/include/spirv/unified1/spirv.core.grammar.json +++ b/include/spirv/unified1/spirv.core.grammar.json @@ -6374,6 +6374,411 @@ "capabilities" : [ "CooperativeVectorNV" ], "version" : "None" }, + { + "opname" : "OpHitObjectRecordFromQueryEXT", + "class" : "Reserved", + "opcode" : 5304, + "operands" : [ + { "kind" : "IdRef", "name" : "Hit Object" }, + { "kind" : "IdRef", "name" : "Ray Query" }, + { "kind" : "IdRef", "name" : "SBT Record Index" }, + { "kind" : "IdRef", "name" : "Hit Object Attributes" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectRecordMissEXT", + "class" : "Reserved", + "opcode" : 5305, + "operands" : [ + { "kind" : "IdRef", "name" : "Hit Object" }, + { "kind" : "IdRef", "name" : "Ray Flags" }, + { "kind" : "IdRef", "name" : "Miss Index" }, + { "kind" : "IdRef", "name" : "Ray Origin" }, + { "kind" : "IdRef", "name" : "Ray Tmin" }, + { "kind" : "IdRef", "name" : "Ray Direction" }, + { "kind" : "IdRef", "name" : "Ray Tmax" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectRecordMissMotionEXT", + "class" : "Reserved", + "opcode" : 5306, + "operands" : [ + { "kind" : "IdRef", "name" : "Hit Object" }, + { "kind" : "IdRef", "name" : "Ray Flags" }, + { "kind" : "IdRef", "name" : "Miss Index" }, + { "kind" : "IdRef", "name" : "Ray Origin" }, + { "kind" : "IdRef", "name" : "Ray Tmin" }, + { "kind" : "IdRef", "name" : "Ray Direction" }, + { "kind" : "IdRef", "name" : "Ray Tmax" }, + { "kind" : "IdRef", "name" : "Current Time" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT", "RayTracingMotionBlurNV" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectGetIntersectionTriangleVertexPositionsEXT", + "class" : "Reserved", + "opcode" : 5307, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectGetRayFlagsEXT", + "class" : "Reserved", + "opcode" : 5308, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectSetShaderBindingTableRecordIndexEXT", + "class" : "Reserved", + "opcode" : 5309, + "operands" : [ + { "kind" : "IdRef", "name" : "Hit Object" }, + { "kind" : "IdRef", "name" : "SBT Record Index" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectReorderExecuteShaderEXT", + "class" : "Reserved", + "opcode" : 5310, + "operands" : [ + { "kind" : "IdRef", "name" : "Hit Object" }, + { "kind" : "IdRef", "name" : "Payload" }, + { "kind" : "IdRef", "quantifier" : "?", "name" : "Hint" }, + { "kind" : "IdRef", "quantifier" : "?", "name" : "Bits" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectTraceReorderExecuteEXT", + "class" : "Reserved", + "opcode" : 5311, + "operands" : [ + { "kind" : "IdRef", "name" : "Hit Object" }, + { "kind" : "IdRef", "name" : "Acceleration Structure"}, + { "kind" : "IdRef", "name" : "Ray Flags"}, + { "kind" : "IdRef", "name" : "Cull Mask"}, + { "kind" : "IdRef", "name" : "SBT Offset"}, + { "kind" : "IdRef", "name" : "SBT Stride"}, + { "kind" : "IdRef", "name" : "Miss Index"}, + { "kind" : "IdRef", "name" : "Ray Origin"}, + { "kind" : "IdRef", "name" : "Ray Tmin"}, + { "kind" : "IdRef", "name" : "Ray Direction"}, + { "kind" : "IdRef", "name" : "Ray Tmax"}, + { "kind" : "IdRef", "name" : "Payload"}, + { "kind" : "IdRef", "quantifier" : "?", "name" : "Hint" }, + { "kind" : "IdRef", "quantifier" : "?", "name" : "Bits" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectTraceMotionReorderExecuteEXT", + "class" : "Reserved", + "opcode" : 5312, + "operands" : [ + { "kind" : "IdRef", "name" : "Hit Object" }, + { "kind" : "IdRef", "name" : "Acceleration Structure"}, + { "kind" : "IdRef", "name" : "Ray Flags"}, + { "kind" : "IdRef", "name" : "Cull Mask"}, + { "kind" : "IdRef", "name" : "SBT Offset"}, + { "kind" : "IdRef", "name" : "SBT Stride"}, + { "kind" : "IdRef", "name" : "Miss Index"}, + { "kind" : "IdRef", "name" : "Ray Origin"}, + { "kind" : "IdRef", "name" : "Ray Tmin"}, + { "kind" : "IdRef", "name" : "Ray Direction"}, + { "kind" : "IdRef", "name" : "Ray Tmax"}, + { "kind" : "IdRef", "name" : "Current Time"}, + { "kind" : "IdRef", "name" : "Payload"}, + { "kind" : "IdRef", "quantifier" : "?", "name" : "Hint" }, + { "kind" : "IdRef", "quantifier" : "?", "name" : "Bits" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT", "RayTracingMotionBlurNV" ], + "version" : "None" + }, + { + "opname" : "OpTypeHitObjectEXT", + "class" : "Type-Declaration", + "opcode" : 5313, + "operands" : [ + { "kind" : "IdResult" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpReorderThreadWithHintEXT", + "class" : "Reserved", + "opcode" : 5314, + "operands" : [ + { "kind" : "IdRef", "name" : "Hint" }, + { "kind" : "IdRef", "name" : "Bits" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpReorderThreadWithHitObjectEXT", + "class" : "Reserved", + "opcode" : 5315, + "operands" : [ + { "kind" : "IdRef", "name" : "Hit Object" }, + { "kind" : "IdRef", "quantifier" : "?", "name" : "Hint" }, + { "kind" : "IdRef", "quantifier" : "?", "name" : "Bits" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectTraceRayEXT", + "class" : "Reserved", + "opcode" : 5316, + "operands" : [ + { "kind" : "IdRef", "name" : "Hit Object" }, + { "kind" : "IdRef", "name" : "Acceleration Structure"}, + { "kind" : "IdRef", "name" : "Ray Flags"}, + { "kind" : "IdRef", "name" : "Cull Mask"}, + { "kind" : "IdRef", "name" : "SBT Offset"}, + { "kind" : "IdRef", "name" : "SBT Stride"}, + { "kind" : "IdRef", "name" : "Miss Index"}, + { "kind" : "IdRef", "name" : "Ray Origin"}, + { "kind" : "IdRef", "name" : "Ray Tmin"}, + { "kind" : "IdRef", "name" : "Ray Direction"}, + { "kind" : "IdRef", "name" : "Ray Tmax"}, + { "kind" : "IdRef", "name" : "Payload"} + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectTraceRayMotionEXT", + "class" : "Reserved", + "opcode" : 5317, + "operands" : [ + { "kind" : "IdRef", "name" : "Hit Object" }, + { "kind" : "IdRef", "name" : "Acceleration Structure"}, + { "kind" : "IdRef", "name" : "Ray Flags"}, + { "kind" : "IdRef", "name" : "Cull Mask"}, + { "kind" : "IdRef", "name" : "SBT Offset"}, + { "kind" : "IdRef", "name" : "SBT Stride"}, + { "kind" : "IdRef", "name" : "Miss Index"}, + { "kind" : "IdRef", "name" : "Ray Origin"}, + { "kind" : "IdRef", "name" : "Ray Tmin"}, + { "kind" : "IdRef", "name" : "Ray Direction"}, + { "kind" : "IdRef", "name" : "Ray Tmax"}, + { "kind" : "IdRef", "name" : "Current Time"}, + { "kind" : "IdRef", "name" : "Payload"} + ], + "capabilities" : [ "ShaderInvocationReorderEXT", "RayTracingMotionBlurNV" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectRecordEmptyEXT", + "class" : "Reserved", + "opcode" : 5318, + "operands" : [ + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectExecuteShaderEXT", + "class" : "Reserved", + "opcode" : 5319, + "operands" : [ + { "kind" : "IdRef", "name" : "Hit Object" }, + { "kind" : "IdRef", "name" : "Payload" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectGetCurrentTimeEXT", + "class" : "Reserved", + "opcode" : 5320, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" , "RayTracingMotionBlurNV" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectGetAttributesEXT", + "class" : "Reserved", + "opcode" : 5321, + "operands" : [ + { "kind" : "IdRef", "name" : "Hit Object" }, + { "kind" : "IdRef", "name" : "Hit Object Attribute" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectGetHitKindEXT", + "class" : "Reserved", + "opcode" : 5322, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectGetPrimitiveIndexEXT", + "class" : "Reserved", + "opcode" : 5323, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectGetGeometryIndexEXT", + "class" : "Reserved", + "opcode" : 5324, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectGetInstanceIdEXT", + "class" : "Reserved", + "opcode" : 5325, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectGetInstanceCustomIndexEXT", + "class" : "Reserved", + "opcode" : 5326, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectGetObjectRayOriginEXT", + "class" : "Reserved", + "opcode" : 5327, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectGetObjectRayDirectionEXT", + "class" : "Reserved", + "opcode" : 5328, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectGetWorldRayDirectionEXT", + "class" : "Reserved", + "opcode" : 5329, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectGetWorldRayOriginEXT", + "class" : "Reserved", + "opcode" : 5330, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectGetObjectToWorldEXT", + "class" : "Reserved", + "opcode" : 5331, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectGetWorldToObjectEXT", + "class" : "Reserved", + "opcode" : 5332, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectGetRayTMaxEXT", + "class" : "Reserved", + "opcode" : 5333, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, { "opname" : "OpReportIntersectionKHR", "class" : "Reserved", @@ -6549,6 +6954,78 @@ "capabilities" : [ "RayTracingClusterAccelerationStructureNV" ], "version" : "None" }, + { + "opname" : "OpHitObjectGetRayTMinEXT", + "class" : "Reserved", + "opcode" : 5347, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectGetShaderBindingTableRecordIndexEXT", + "class" : "Reserved", + "opcode" : 5348, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectGetShaderRecordBufferHandleEXT", + "class" : "Reserved", + "opcode" : 5349, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectIsEmptyEXT", + "class" : "Reserved", + "opcode" : 5350, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectIsHitEXT", + "class" : "Reserved", + "opcode" : 5351, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, + { + "opname" : "OpHitObjectIsMissEXT", + "class" : "Reserved", + "opcode" : 5352, + "operands" : [ + { "kind" : "IdResultType"}, + { "kind" : "IdResult"}, + { "kind" : "IdRef", "name" : "Hit Object" } + ], + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, { "opname" : "OpTypeCooperativeMatrixNV", "class" : "Type-Declaration", @@ -13124,6 +13601,12 @@ "capabilities" : [ "MeshShadingEXT" ], "version" : "1.4" }, + { + "enumerant" : "HitObjectAttributeEXT", + "value" : 5411, + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, { "enumerant" : "CodeSectionINTEL", "value" : 5605, @@ -14583,6 +15066,12 @@ "capabilities" : [ "ShaderInvocationReorderNV" ], "version" : "None" }, + { + "enumerant" : "HitObjectShaderRecordBufferEXT", + "value" : 5389, + "capabilities" : [ "ShaderInvocationReorderEXT" ], + "version" : "None" + }, { "enumerant" : "BindlessSamplerNV", "value" : 5398, @@ -17280,6 +17769,13 @@ "extensions" : [ "SPV_NV_shader_invocation_reorder" ], "version" : "None" }, + { + "enumerant" : "ShaderInvocationReorderEXT", + "value" : 5388, + "capabilities" : [ "RayTracingKHR" ], + "extensions" : [ "SPV_EXT_shader_invocation_reorder" ], + "version" : "None" + }, { "enumerant" : "BindlessTextureNV", "value" : 5390, diff --git a/include/spirv/unified1/spirv.cs b/include/spirv/unified1/spirv.cs index 4214bb7eb..6a000cd20 100644 --- a/include/spirv/unified1/spirv.cs +++ b/include/spirv/unified1/spirv.cs @@ -247,6 +247,7 @@ public enum StorageClass PhysicalStorageBufferEXT = 5349, HitObjectAttributeNV = 5385, TaskPayloadWorkgroupEXT = 5402, + HitObjectAttributeEXT = 5411, CodeSectionINTEL = 5605, DeviceOnlyALTERA = 5936, DeviceOnlyINTEL = 5936, @@ -589,6 +590,7 @@ public enum Decoration AliasedPointer = 5356, AliasedPointerEXT = 5356, HitObjectShaderRecordBufferNV = 5386, + HitObjectShaderRecordBufferEXT = 5389, BindlessSamplerNV = 5398, BindlessImageNV = 5399, BoundSamplerNV = 5400, @@ -1282,6 +1284,7 @@ public enum Capability DisplacementMicromapNV = 5380, RayTracingOpacityMicromapEXT = 5381, ShaderInvocationReorderNV = 5383, + ShaderInvocationReorderEXT = 5388, BindlessTextureNV = 5390, RayQueryPositionFetchKHR = 5391, CooperativeVectorNV = 5394, @@ -2251,6 +2254,36 @@ public enum Op OpFetchMicroTriangleVertexBarycentricNV = 5301, OpCooperativeVectorLoadNV = 5302, OpCooperativeVectorStoreNV = 5303, + OpHitObjectRecordFromQueryEXT = 5304, + OpHitObjectRecordMissEXT = 5305, + OpHitObjectRecordMissMotionEXT = 5306, + OpHitObjectGetIntersectionTriangleVertexPositionsEXT = 5307, + OpHitObjectGetRayFlagsEXT = 5308, + OpHitObjectSetShaderBindingTableRecordIndexEXT = 5309, + OpHitObjectReorderExecuteShaderEXT = 5310, + OpHitObjectTraceReorderExecuteEXT = 5311, + OpHitObjectTraceMotionReorderExecuteEXT = 5312, + OpTypeHitObjectEXT = 5313, + OpReorderThreadWithHintEXT = 5314, + OpReorderThreadWithHitObjectEXT = 5315, + OpHitObjectTraceRayEXT = 5316, + OpHitObjectTraceRayMotionEXT = 5317, + OpHitObjectRecordEmptyEXT = 5318, + OpHitObjectExecuteShaderEXT = 5319, + OpHitObjectGetCurrentTimeEXT = 5320, + OpHitObjectGetAttributesEXT = 5321, + OpHitObjectGetHitKindEXT = 5322, + OpHitObjectGetPrimitiveIndexEXT = 5323, + OpHitObjectGetGeometryIndexEXT = 5324, + OpHitObjectGetInstanceIdEXT = 5325, + OpHitObjectGetInstanceCustomIndexEXT = 5326, + OpHitObjectGetObjectRayOriginEXT = 5327, + OpHitObjectGetObjectRayDirectionEXT = 5328, + OpHitObjectGetWorldRayDirectionEXT = 5329, + OpHitObjectGetWorldRayOriginEXT = 5330, + OpHitObjectGetObjectToWorldEXT = 5331, + OpHitObjectGetWorldToObjectEXT = 5332, + OpHitObjectGetRayTMaxEXT = 5333, OpReportIntersectionKHR = 5334, OpReportIntersectionNV = 5334, OpIgnoreIntersectionNV = 5335, @@ -2265,6 +2298,12 @@ public enum Op OpRayQueryGetClusterIdNV = 5345, OpRayQueryGetIntersectionClusterIdNV = 5345, OpHitObjectGetClusterIdNV = 5346, + OpHitObjectGetRayTMinEXT = 5347, + OpHitObjectGetShaderBindingTableRecordIndexEXT = 5348, + OpHitObjectGetShaderRecordBufferHandleEXT = 5349, + OpHitObjectIsEmptyEXT = 5350, + OpHitObjectIsHitEXT = 5351, + OpHitObjectIsMissEXT = 5352, OpTypeCooperativeMatrixNV = 5358, OpCooperativeMatrixLoadNV = 5359, OpCooperativeMatrixStoreNV = 5360, diff --git a/include/spirv/unified1/spirv.h b/include/spirv/unified1/spirv.h index b8cca13b6..e8b5ad198 100644 --- a/include/spirv/unified1/spirv.h +++ b/include/spirv/unified1/spirv.h @@ -250,6 +250,7 @@ typedef enum SpvStorageClass_ { SpvStorageClassPhysicalStorageBufferEXT = 5349, SpvStorageClassHitObjectAttributeNV = 5385, SpvStorageClassTaskPayloadWorkgroupEXT = 5402, + SpvStorageClassHitObjectAttributeEXT = 5411, SpvStorageClassCodeSectionINTEL = 5605, SpvStorageClassDeviceOnlyALTERA = 5936, SpvStorageClassDeviceOnlyINTEL = 5936, @@ -577,6 +578,7 @@ typedef enum SpvDecoration_ { SpvDecorationAliasedPointer = 5356, SpvDecorationAliasedPointerEXT = 5356, SpvDecorationHitObjectShaderRecordBufferNV = 5386, + SpvDecorationHitObjectShaderRecordBufferEXT = 5389, SpvDecorationBindlessSamplerNV = 5398, SpvDecorationBindlessImageNV = 5399, SpvDecorationBoundSamplerNV = 5400, @@ -1253,6 +1255,7 @@ typedef enum SpvCapability_ { SpvCapabilityDisplacementMicromapNV = 5380, SpvCapabilityRayTracingOpacityMicromapEXT = 5381, SpvCapabilityShaderInvocationReorderNV = 5383, + SpvCapabilityShaderInvocationReorderEXT = 5388, SpvCapabilityBindlessTextureNV = 5390, SpvCapabilityRayQueryPositionFetchKHR = 5391, SpvCapabilityCooperativeVectorNV = 5394, @@ -2186,6 +2189,36 @@ typedef enum SpvOp_ { SpvOpFetchMicroTriangleVertexBarycentricNV = 5301, SpvOpCooperativeVectorLoadNV = 5302, SpvOpCooperativeVectorStoreNV = 5303, + SpvOpHitObjectRecordFromQueryEXT = 5304, + SpvOpHitObjectRecordMissEXT = 5305, + SpvOpHitObjectRecordMissMotionEXT = 5306, + SpvOpHitObjectGetIntersectionTriangleVertexPositionsEXT = 5307, + SpvOpHitObjectGetRayFlagsEXT = 5308, + SpvOpHitObjectSetShaderBindingTableRecordIndexEXT = 5309, + SpvOpHitObjectReorderExecuteShaderEXT = 5310, + SpvOpHitObjectTraceReorderExecuteEXT = 5311, + SpvOpHitObjectTraceMotionReorderExecuteEXT = 5312, + SpvOpTypeHitObjectEXT = 5313, + SpvOpReorderThreadWithHintEXT = 5314, + SpvOpReorderThreadWithHitObjectEXT = 5315, + SpvOpHitObjectTraceRayEXT = 5316, + SpvOpHitObjectTraceRayMotionEXT = 5317, + SpvOpHitObjectRecordEmptyEXT = 5318, + SpvOpHitObjectExecuteShaderEXT = 5319, + SpvOpHitObjectGetCurrentTimeEXT = 5320, + SpvOpHitObjectGetAttributesEXT = 5321, + SpvOpHitObjectGetHitKindEXT = 5322, + SpvOpHitObjectGetPrimitiveIndexEXT = 5323, + SpvOpHitObjectGetGeometryIndexEXT = 5324, + SpvOpHitObjectGetInstanceIdEXT = 5325, + SpvOpHitObjectGetInstanceCustomIndexEXT = 5326, + SpvOpHitObjectGetObjectRayOriginEXT = 5327, + SpvOpHitObjectGetObjectRayDirectionEXT = 5328, + SpvOpHitObjectGetWorldRayDirectionEXT = 5329, + SpvOpHitObjectGetWorldRayOriginEXT = 5330, + SpvOpHitObjectGetObjectToWorldEXT = 5331, + SpvOpHitObjectGetWorldToObjectEXT = 5332, + SpvOpHitObjectGetRayTMaxEXT = 5333, SpvOpReportIntersectionKHR = 5334, SpvOpReportIntersectionNV = 5334, SpvOpIgnoreIntersectionNV = 5335, @@ -2200,6 +2233,12 @@ typedef enum SpvOp_ { SpvOpRayQueryGetClusterIdNV = 5345, SpvOpRayQueryGetIntersectionClusterIdNV = 5345, SpvOpHitObjectGetClusterIdNV = 5346, + SpvOpHitObjectGetRayTMinEXT = 5347, + SpvOpHitObjectGetShaderBindingTableRecordIndexEXT = 5348, + SpvOpHitObjectGetShaderRecordBufferHandleEXT = 5349, + SpvOpHitObjectIsEmptyEXT = 5350, + SpvOpHitObjectIsHitEXT = 5351, + SpvOpHitObjectIsMissEXT = 5352, SpvOpTypeCooperativeMatrixNV = 5358, SpvOpCooperativeMatrixLoadNV = 5359, SpvOpCooperativeMatrixStoreNV = 5360, @@ -3064,6 +3103,36 @@ inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultTy case SpvOpFetchMicroTriangleVertexBarycentricNV: *hasResult = true; *hasResultType = true; break; case SpvOpCooperativeVectorLoadNV: *hasResult = true; *hasResultType = true; break; case SpvOpCooperativeVectorStoreNV: *hasResult = false; *hasResultType = false; break; + case SpvOpHitObjectRecordFromQueryEXT: *hasResult = false; *hasResultType = false; break; + case SpvOpHitObjectRecordMissEXT: *hasResult = false; *hasResultType = false; break; + case SpvOpHitObjectRecordMissMotionEXT: *hasResult = false; *hasResultType = false; break; + case SpvOpHitObjectGetIntersectionTriangleVertexPositionsEXT: *hasResult = true; *hasResultType = true; break; + case SpvOpHitObjectGetRayFlagsEXT: *hasResult = true; *hasResultType = true; break; + case SpvOpHitObjectSetShaderBindingTableRecordIndexEXT: *hasResult = false; *hasResultType = false; break; + case SpvOpHitObjectReorderExecuteShaderEXT: *hasResult = false; *hasResultType = false; break; + case SpvOpHitObjectTraceReorderExecuteEXT: *hasResult = false; *hasResultType = false; break; + case SpvOpHitObjectTraceMotionReorderExecuteEXT: *hasResult = false; *hasResultType = false; break; + case SpvOpTypeHitObjectEXT: *hasResult = true; *hasResultType = false; break; + case SpvOpReorderThreadWithHintEXT: *hasResult = false; *hasResultType = false; break; + case SpvOpReorderThreadWithHitObjectEXT: *hasResult = false; *hasResultType = false; break; + case SpvOpHitObjectTraceRayEXT: *hasResult = false; *hasResultType = false; break; + case SpvOpHitObjectTraceRayMotionEXT: *hasResult = false; *hasResultType = false; break; + case SpvOpHitObjectRecordEmptyEXT: *hasResult = false; *hasResultType = false; break; + case SpvOpHitObjectExecuteShaderEXT: *hasResult = false; *hasResultType = false; break; + case SpvOpHitObjectGetCurrentTimeEXT: *hasResult = true; *hasResultType = true; break; + case SpvOpHitObjectGetAttributesEXT: *hasResult = false; *hasResultType = false; break; + case SpvOpHitObjectGetHitKindEXT: *hasResult = true; *hasResultType = true; break; + case SpvOpHitObjectGetPrimitiveIndexEXT: *hasResult = true; *hasResultType = true; break; + case SpvOpHitObjectGetGeometryIndexEXT: *hasResult = true; *hasResultType = true; break; + case SpvOpHitObjectGetInstanceIdEXT: *hasResult = true; *hasResultType = true; break; + case SpvOpHitObjectGetInstanceCustomIndexEXT: *hasResult = true; *hasResultType = true; break; + case SpvOpHitObjectGetObjectRayOriginEXT: *hasResult = true; *hasResultType = true; break; + case SpvOpHitObjectGetObjectRayDirectionEXT: *hasResult = true; *hasResultType = true; break; + case SpvOpHitObjectGetWorldRayDirectionEXT: *hasResult = true; *hasResultType = true; break; + case SpvOpHitObjectGetWorldRayOriginEXT: *hasResult = true; *hasResultType = true; break; + case SpvOpHitObjectGetObjectToWorldEXT: *hasResult = true; *hasResultType = true; break; + case SpvOpHitObjectGetWorldToObjectEXT: *hasResult = true; *hasResultType = true; break; + case SpvOpHitObjectGetRayTMaxEXT: *hasResult = true; *hasResultType = true; break; case SpvOpReportIntersectionKHR: *hasResult = true; *hasResultType = true; break; case SpvOpIgnoreIntersectionNV: *hasResult = false; *hasResultType = false; break; case SpvOpTerminateRayNV: *hasResult = false; *hasResultType = false; break; @@ -3075,6 +3144,12 @@ inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultTy case SpvOpExecuteCallableNV: *hasResult = false; *hasResultType = false; break; case SpvOpRayQueryGetIntersectionClusterIdNV: *hasResult = true; *hasResultType = true; break; case SpvOpHitObjectGetClusterIdNV: *hasResult = true; *hasResultType = true; break; + case SpvOpHitObjectGetRayTMinEXT: *hasResult = true; *hasResultType = true; break; + case SpvOpHitObjectGetShaderBindingTableRecordIndexEXT: *hasResult = true; *hasResultType = true; break; + case SpvOpHitObjectGetShaderRecordBufferHandleEXT: *hasResult = true; *hasResultType = true; break; + case SpvOpHitObjectIsEmptyEXT: *hasResult = true; *hasResultType = true; break; + case SpvOpHitObjectIsHitEXT: *hasResult = true; *hasResultType = true; break; + case SpvOpHitObjectIsMissEXT: *hasResult = true; *hasResultType = true; break; case SpvOpTypeCooperativeMatrixNV: *hasResult = true; *hasResultType = false; break; case SpvOpCooperativeMatrixLoadNV: *hasResult = true; *hasResultType = true; break; case SpvOpCooperativeMatrixStoreNV: *hasResult = false; *hasResultType = false; break; @@ -3597,6 +3672,7 @@ inline const char* SpvStorageClassToString(SpvStorageClass value) { case SpvStorageClassPhysicalStorageBuffer: return "PhysicalStorageBuffer"; case SpvStorageClassHitObjectAttributeNV: return "HitObjectAttributeNV"; case SpvStorageClassTaskPayloadWorkgroupEXT: return "TaskPayloadWorkgroupEXT"; + case SpvStorageClassHitObjectAttributeEXT: return "HitObjectAttributeEXT"; case SpvStorageClassCodeSectionINTEL: return "CodeSectionINTEL"; case SpvStorageClassDeviceOnlyALTERA: return "DeviceOnlyALTERA"; case SpvStorageClassHostOnlyALTERA: return "HostOnlyALTERA"; @@ -3862,6 +3938,7 @@ inline const char* SpvDecorationToString(SpvDecoration value) { case SpvDecorationRestrictPointer: return "RestrictPointer"; case SpvDecorationAliasedPointer: return "AliasedPointer"; case SpvDecorationHitObjectShaderRecordBufferNV: return "HitObjectShaderRecordBufferNV"; + case SpvDecorationHitObjectShaderRecordBufferEXT: return "HitObjectShaderRecordBufferEXT"; case SpvDecorationBindlessSamplerNV: return "BindlessSamplerNV"; case SpvDecorationBindlessImageNV: return "BindlessImageNV"; case SpvDecorationBoundSamplerNV: return "BoundSamplerNV"; @@ -4279,6 +4356,7 @@ inline const char* SpvCapabilityToString(SpvCapability value) { case SpvCapabilityDisplacementMicromapNV: return "DisplacementMicromapNV"; case SpvCapabilityRayTracingOpacityMicromapEXT: return "RayTracingOpacityMicromapEXT"; case SpvCapabilityShaderInvocationReorderNV: return "ShaderInvocationReorderNV"; + case SpvCapabilityShaderInvocationReorderEXT: return "ShaderInvocationReorderEXT"; case SpvCapabilityBindlessTextureNV: return "BindlessTextureNV"; case SpvCapabilityRayQueryPositionFetchKHR: return "RayQueryPositionFetchKHR"; case SpvCapabilityCooperativeVectorNV: return "CooperativeVectorNV"; @@ -5059,6 +5137,36 @@ inline const char* SpvOpToString(SpvOp value) { case SpvOpFetchMicroTriangleVertexBarycentricNV: return "OpFetchMicroTriangleVertexBarycentricNV"; case SpvOpCooperativeVectorLoadNV: return "OpCooperativeVectorLoadNV"; case SpvOpCooperativeVectorStoreNV: return "OpCooperativeVectorStoreNV"; + case SpvOpHitObjectRecordFromQueryEXT: return "OpHitObjectRecordFromQueryEXT"; + case SpvOpHitObjectRecordMissEXT: return "OpHitObjectRecordMissEXT"; + case SpvOpHitObjectRecordMissMotionEXT: return "OpHitObjectRecordMissMotionEXT"; + case SpvOpHitObjectGetIntersectionTriangleVertexPositionsEXT: return "OpHitObjectGetIntersectionTriangleVertexPositionsEXT"; + case SpvOpHitObjectGetRayFlagsEXT: return "OpHitObjectGetRayFlagsEXT"; + case SpvOpHitObjectSetShaderBindingTableRecordIndexEXT: return "OpHitObjectSetShaderBindingTableRecordIndexEXT"; + case SpvOpHitObjectReorderExecuteShaderEXT: return "OpHitObjectReorderExecuteShaderEXT"; + case SpvOpHitObjectTraceReorderExecuteEXT: return "OpHitObjectTraceReorderExecuteEXT"; + case SpvOpHitObjectTraceMotionReorderExecuteEXT: return "OpHitObjectTraceMotionReorderExecuteEXT"; + case SpvOpTypeHitObjectEXT: return "OpTypeHitObjectEXT"; + case SpvOpReorderThreadWithHintEXT: return "OpReorderThreadWithHintEXT"; + case SpvOpReorderThreadWithHitObjectEXT: return "OpReorderThreadWithHitObjectEXT"; + case SpvOpHitObjectTraceRayEXT: return "OpHitObjectTraceRayEXT"; + case SpvOpHitObjectTraceRayMotionEXT: return "OpHitObjectTraceRayMotionEXT"; + case SpvOpHitObjectRecordEmptyEXT: return "OpHitObjectRecordEmptyEXT"; + case SpvOpHitObjectExecuteShaderEXT: return "OpHitObjectExecuteShaderEXT"; + case SpvOpHitObjectGetCurrentTimeEXT: return "OpHitObjectGetCurrentTimeEXT"; + case SpvOpHitObjectGetAttributesEXT: return "OpHitObjectGetAttributesEXT"; + case SpvOpHitObjectGetHitKindEXT: return "OpHitObjectGetHitKindEXT"; + case SpvOpHitObjectGetPrimitiveIndexEXT: return "OpHitObjectGetPrimitiveIndexEXT"; + case SpvOpHitObjectGetGeometryIndexEXT: return "OpHitObjectGetGeometryIndexEXT"; + case SpvOpHitObjectGetInstanceIdEXT: return "OpHitObjectGetInstanceIdEXT"; + case SpvOpHitObjectGetInstanceCustomIndexEXT: return "OpHitObjectGetInstanceCustomIndexEXT"; + case SpvOpHitObjectGetObjectRayOriginEXT: return "OpHitObjectGetObjectRayOriginEXT"; + case SpvOpHitObjectGetObjectRayDirectionEXT: return "OpHitObjectGetObjectRayDirectionEXT"; + case SpvOpHitObjectGetWorldRayDirectionEXT: return "OpHitObjectGetWorldRayDirectionEXT"; + case SpvOpHitObjectGetWorldRayOriginEXT: return "OpHitObjectGetWorldRayOriginEXT"; + case SpvOpHitObjectGetObjectToWorldEXT: return "OpHitObjectGetObjectToWorldEXT"; + case SpvOpHitObjectGetWorldToObjectEXT: return "OpHitObjectGetWorldToObjectEXT"; + case SpvOpHitObjectGetRayTMaxEXT: return "OpHitObjectGetRayTMaxEXT"; case SpvOpReportIntersectionKHR: return "OpReportIntersectionKHR"; case SpvOpIgnoreIntersectionNV: return "OpIgnoreIntersectionNV"; case SpvOpTerminateRayNV: return "OpTerminateRayNV"; @@ -5070,6 +5178,12 @@ inline const char* SpvOpToString(SpvOp value) { case SpvOpExecuteCallableNV: return "OpExecuteCallableNV"; case SpvOpRayQueryGetClusterIdNV: return "OpRayQueryGetClusterIdNV"; case SpvOpHitObjectGetClusterIdNV: return "OpHitObjectGetClusterIdNV"; + case SpvOpHitObjectGetRayTMinEXT: return "OpHitObjectGetRayTMinEXT"; + case SpvOpHitObjectGetShaderBindingTableRecordIndexEXT: return "OpHitObjectGetShaderBindingTableRecordIndexEXT"; + case SpvOpHitObjectGetShaderRecordBufferHandleEXT: return "OpHitObjectGetShaderRecordBufferHandleEXT"; + case SpvOpHitObjectIsEmptyEXT: return "OpHitObjectIsEmptyEXT"; + case SpvOpHitObjectIsHitEXT: return "OpHitObjectIsHitEXT"; + case SpvOpHitObjectIsMissEXT: return "OpHitObjectIsMissEXT"; case SpvOpTypeCooperativeMatrixNV: return "OpTypeCooperativeMatrixNV"; case SpvOpCooperativeMatrixLoadNV: return "OpCooperativeMatrixLoadNV"; case SpvOpCooperativeMatrixStoreNV: return "OpCooperativeMatrixStoreNV"; diff --git a/include/spirv/unified1/spirv.hpp b/include/spirv/unified1/spirv.hpp index 50ecfb7b3..7da782df0 100644 --- a/include/spirv/unified1/spirv.hpp +++ b/include/spirv/unified1/spirv.hpp @@ -246,6 +246,7 @@ enum StorageClass { StorageClassPhysicalStorageBufferEXT = 5349, StorageClassHitObjectAttributeNV = 5385, StorageClassTaskPayloadWorkgroupEXT = 5402, + StorageClassHitObjectAttributeEXT = 5411, StorageClassCodeSectionINTEL = 5605, StorageClassDeviceOnlyALTERA = 5936, StorageClassDeviceOnlyINTEL = 5936, @@ -573,6 +574,7 @@ enum Decoration { DecorationAliasedPointer = 5356, DecorationAliasedPointerEXT = 5356, DecorationHitObjectShaderRecordBufferNV = 5386, + DecorationHitObjectShaderRecordBufferEXT = 5389, DecorationBindlessSamplerNV = 5398, DecorationBindlessImageNV = 5399, DecorationBoundSamplerNV = 5400, @@ -1249,6 +1251,7 @@ enum Capability { CapabilityDisplacementMicromapNV = 5380, CapabilityRayTracingOpacityMicromapEXT = 5381, CapabilityShaderInvocationReorderNV = 5383, + CapabilityShaderInvocationReorderEXT = 5388, CapabilityBindlessTextureNV = 5390, CapabilityRayQueryPositionFetchKHR = 5391, CapabilityCooperativeVectorNV = 5394, @@ -2182,6 +2185,36 @@ enum Op { OpFetchMicroTriangleVertexBarycentricNV = 5301, OpCooperativeVectorLoadNV = 5302, OpCooperativeVectorStoreNV = 5303, + OpHitObjectRecordFromQueryEXT = 5304, + OpHitObjectRecordMissEXT = 5305, + OpHitObjectRecordMissMotionEXT = 5306, + OpHitObjectGetIntersectionTriangleVertexPositionsEXT = 5307, + OpHitObjectGetRayFlagsEXT = 5308, + OpHitObjectSetShaderBindingTableRecordIndexEXT = 5309, + OpHitObjectReorderExecuteShaderEXT = 5310, + OpHitObjectTraceReorderExecuteEXT = 5311, + OpHitObjectTraceMotionReorderExecuteEXT = 5312, + OpTypeHitObjectEXT = 5313, + OpReorderThreadWithHintEXT = 5314, + OpReorderThreadWithHitObjectEXT = 5315, + OpHitObjectTraceRayEXT = 5316, + OpHitObjectTraceRayMotionEXT = 5317, + OpHitObjectRecordEmptyEXT = 5318, + OpHitObjectExecuteShaderEXT = 5319, + OpHitObjectGetCurrentTimeEXT = 5320, + OpHitObjectGetAttributesEXT = 5321, + OpHitObjectGetHitKindEXT = 5322, + OpHitObjectGetPrimitiveIndexEXT = 5323, + OpHitObjectGetGeometryIndexEXT = 5324, + OpHitObjectGetInstanceIdEXT = 5325, + OpHitObjectGetInstanceCustomIndexEXT = 5326, + OpHitObjectGetObjectRayOriginEXT = 5327, + OpHitObjectGetObjectRayDirectionEXT = 5328, + OpHitObjectGetWorldRayDirectionEXT = 5329, + OpHitObjectGetWorldRayOriginEXT = 5330, + OpHitObjectGetObjectToWorldEXT = 5331, + OpHitObjectGetWorldToObjectEXT = 5332, + OpHitObjectGetRayTMaxEXT = 5333, OpReportIntersectionKHR = 5334, OpReportIntersectionNV = 5334, OpIgnoreIntersectionNV = 5335, @@ -2196,6 +2229,12 @@ enum Op { OpRayQueryGetClusterIdNV = 5345, OpRayQueryGetIntersectionClusterIdNV = 5345, OpHitObjectGetClusterIdNV = 5346, + OpHitObjectGetRayTMinEXT = 5347, + OpHitObjectGetShaderBindingTableRecordIndexEXT = 5348, + OpHitObjectGetShaderRecordBufferHandleEXT = 5349, + OpHitObjectIsEmptyEXT = 5350, + OpHitObjectIsHitEXT = 5351, + OpHitObjectIsMissEXT = 5352, OpTypeCooperativeMatrixNV = 5358, OpCooperativeMatrixLoadNV = 5359, OpCooperativeMatrixStoreNV = 5360, @@ -3060,6 +3099,36 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { case OpFetchMicroTriangleVertexBarycentricNV: *hasResult = true; *hasResultType = true; break; case OpCooperativeVectorLoadNV: *hasResult = true; *hasResultType = true; break; case OpCooperativeVectorStoreNV: *hasResult = false; *hasResultType = false; break; + case OpHitObjectRecordFromQueryEXT: *hasResult = false; *hasResultType = false; break; + case OpHitObjectRecordMissEXT: *hasResult = false; *hasResultType = false; break; + case OpHitObjectRecordMissMotionEXT: *hasResult = false; *hasResultType = false; break; + case OpHitObjectGetIntersectionTriangleVertexPositionsEXT: *hasResult = true; *hasResultType = true; break; + case OpHitObjectGetRayFlagsEXT: *hasResult = true; *hasResultType = true; break; + case OpHitObjectSetShaderBindingTableRecordIndexEXT: *hasResult = false; *hasResultType = false; break; + case OpHitObjectReorderExecuteShaderEXT: *hasResult = false; *hasResultType = false; break; + case OpHitObjectTraceReorderExecuteEXT: *hasResult = false; *hasResultType = false; break; + case OpHitObjectTraceMotionReorderExecuteEXT: *hasResult = false; *hasResultType = false; break; + case OpTypeHitObjectEXT: *hasResult = true; *hasResultType = false; break; + case OpReorderThreadWithHintEXT: *hasResult = false; *hasResultType = false; break; + case OpReorderThreadWithHitObjectEXT: *hasResult = false; *hasResultType = false; break; + case OpHitObjectTraceRayEXT: *hasResult = false; *hasResultType = false; break; + case OpHitObjectTraceRayMotionEXT: *hasResult = false; *hasResultType = false; break; + case OpHitObjectRecordEmptyEXT: *hasResult = false; *hasResultType = false; break; + case OpHitObjectExecuteShaderEXT: *hasResult = false; *hasResultType = false; break; + case OpHitObjectGetCurrentTimeEXT: *hasResult = true; *hasResultType = true; break; + case OpHitObjectGetAttributesEXT: *hasResult = false; *hasResultType = false; break; + case OpHitObjectGetHitKindEXT: *hasResult = true; *hasResultType = true; break; + case OpHitObjectGetPrimitiveIndexEXT: *hasResult = true; *hasResultType = true; break; + case OpHitObjectGetGeometryIndexEXT: *hasResult = true; *hasResultType = true; break; + case OpHitObjectGetInstanceIdEXT: *hasResult = true; *hasResultType = true; break; + case OpHitObjectGetInstanceCustomIndexEXT: *hasResult = true; *hasResultType = true; break; + case OpHitObjectGetObjectRayOriginEXT: *hasResult = true; *hasResultType = true; break; + case OpHitObjectGetObjectRayDirectionEXT: *hasResult = true; *hasResultType = true; break; + case OpHitObjectGetWorldRayDirectionEXT: *hasResult = true; *hasResultType = true; break; + case OpHitObjectGetWorldRayOriginEXT: *hasResult = true; *hasResultType = true; break; + case OpHitObjectGetObjectToWorldEXT: *hasResult = true; *hasResultType = true; break; + case OpHitObjectGetWorldToObjectEXT: *hasResult = true; *hasResultType = true; break; + case OpHitObjectGetRayTMaxEXT: *hasResult = true; *hasResultType = true; break; case OpReportIntersectionKHR: *hasResult = true; *hasResultType = true; break; case OpIgnoreIntersectionNV: *hasResult = false; *hasResultType = false; break; case OpTerminateRayNV: *hasResult = false; *hasResultType = false; break; @@ -3071,6 +3140,12 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { case OpExecuteCallableNV: *hasResult = false; *hasResultType = false; break; case OpRayQueryGetIntersectionClusterIdNV: *hasResult = true; *hasResultType = true; break; case OpHitObjectGetClusterIdNV: *hasResult = true; *hasResultType = true; break; + case OpHitObjectGetRayTMinEXT: *hasResult = true; *hasResultType = true; break; + case OpHitObjectGetShaderBindingTableRecordIndexEXT: *hasResult = true; *hasResultType = true; break; + case OpHitObjectGetShaderRecordBufferHandleEXT: *hasResult = true; *hasResultType = true; break; + case OpHitObjectIsEmptyEXT: *hasResult = true; *hasResultType = true; break; + case OpHitObjectIsHitEXT: *hasResult = true; *hasResultType = true; break; + case OpHitObjectIsMissEXT: *hasResult = true; *hasResultType = true; break; case OpTypeCooperativeMatrixNV: *hasResult = true; *hasResultType = false; break; case OpCooperativeMatrixLoadNV: *hasResult = true; *hasResultType = true; break; case OpCooperativeMatrixStoreNV: *hasResult = false; *hasResultType = false; break; @@ -3593,6 +3668,7 @@ inline const char* StorageClassToString(StorageClass value) { case StorageClassPhysicalStorageBuffer: return "PhysicalStorageBuffer"; case StorageClassHitObjectAttributeNV: return "HitObjectAttributeNV"; case StorageClassTaskPayloadWorkgroupEXT: return "TaskPayloadWorkgroupEXT"; + case StorageClassHitObjectAttributeEXT: return "HitObjectAttributeEXT"; case StorageClassCodeSectionINTEL: return "CodeSectionINTEL"; case StorageClassDeviceOnlyALTERA: return "DeviceOnlyALTERA"; case StorageClassHostOnlyALTERA: return "HostOnlyALTERA"; @@ -3858,6 +3934,7 @@ inline const char* DecorationToString(Decoration value) { case DecorationRestrictPointer: return "RestrictPointer"; case DecorationAliasedPointer: return "AliasedPointer"; case DecorationHitObjectShaderRecordBufferNV: return "HitObjectShaderRecordBufferNV"; + case DecorationHitObjectShaderRecordBufferEXT: return "HitObjectShaderRecordBufferEXT"; case DecorationBindlessSamplerNV: return "BindlessSamplerNV"; case DecorationBindlessImageNV: return "BindlessImageNV"; case DecorationBoundSamplerNV: return "BoundSamplerNV"; @@ -4275,6 +4352,7 @@ inline const char* CapabilityToString(Capability value) { case CapabilityDisplacementMicromapNV: return "DisplacementMicromapNV"; case CapabilityRayTracingOpacityMicromapEXT: return "RayTracingOpacityMicromapEXT"; case CapabilityShaderInvocationReorderNV: return "ShaderInvocationReorderNV"; + case CapabilityShaderInvocationReorderEXT: return "ShaderInvocationReorderEXT"; case CapabilityBindlessTextureNV: return "BindlessTextureNV"; case CapabilityRayQueryPositionFetchKHR: return "RayQueryPositionFetchKHR"; case CapabilityCooperativeVectorNV: return "CooperativeVectorNV"; @@ -5055,6 +5133,36 @@ inline const char* OpToString(Op value) { case OpFetchMicroTriangleVertexBarycentricNV: return "OpFetchMicroTriangleVertexBarycentricNV"; case OpCooperativeVectorLoadNV: return "OpCooperativeVectorLoadNV"; case OpCooperativeVectorStoreNV: return "OpCooperativeVectorStoreNV"; + case OpHitObjectRecordFromQueryEXT: return "OpHitObjectRecordFromQueryEXT"; + case OpHitObjectRecordMissEXT: return "OpHitObjectRecordMissEXT"; + case OpHitObjectRecordMissMotionEXT: return "OpHitObjectRecordMissMotionEXT"; + case OpHitObjectGetIntersectionTriangleVertexPositionsEXT: return "OpHitObjectGetIntersectionTriangleVertexPositionsEXT"; + case OpHitObjectGetRayFlagsEXT: return "OpHitObjectGetRayFlagsEXT"; + case OpHitObjectSetShaderBindingTableRecordIndexEXT: return "OpHitObjectSetShaderBindingTableRecordIndexEXT"; + case OpHitObjectReorderExecuteShaderEXT: return "OpHitObjectReorderExecuteShaderEXT"; + case OpHitObjectTraceReorderExecuteEXT: return "OpHitObjectTraceReorderExecuteEXT"; + case OpHitObjectTraceMotionReorderExecuteEXT: return "OpHitObjectTraceMotionReorderExecuteEXT"; + case OpTypeHitObjectEXT: return "OpTypeHitObjectEXT"; + case OpReorderThreadWithHintEXT: return "OpReorderThreadWithHintEXT"; + case OpReorderThreadWithHitObjectEXT: return "OpReorderThreadWithHitObjectEXT"; + case OpHitObjectTraceRayEXT: return "OpHitObjectTraceRayEXT"; + case OpHitObjectTraceRayMotionEXT: return "OpHitObjectTraceRayMotionEXT"; + case OpHitObjectRecordEmptyEXT: return "OpHitObjectRecordEmptyEXT"; + case OpHitObjectExecuteShaderEXT: return "OpHitObjectExecuteShaderEXT"; + case OpHitObjectGetCurrentTimeEXT: return "OpHitObjectGetCurrentTimeEXT"; + case OpHitObjectGetAttributesEXT: return "OpHitObjectGetAttributesEXT"; + case OpHitObjectGetHitKindEXT: return "OpHitObjectGetHitKindEXT"; + case OpHitObjectGetPrimitiveIndexEXT: return "OpHitObjectGetPrimitiveIndexEXT"; + case OpHitObjectGetGeometryIndexEXT: return "OpHitObjectGetGeometryIndexEXT"; + case OpHitObjectGetInstanceIdEXT: return "OpHitObjectGetInstanceIdEXT"; + case OpHitObjectGetInstanceCustomIndexEXT: return "OpHitObjectGetInstanceCustomIndexEXT"; + case OpHitObjectGetObjectRayOriginEXT: return "OpHitObjectGetObjectRayOriginEXT"; + case OpHitObjectGetObjectRayDirectionEXT: return "OpHitObjectGetObjectRayDirectionEXT"; + case OpHitObjectGetWorldRayDirectionEXT: return "OpHitObjectGetWorldRayDirectionEXT"; + case OpHitObjectGetWorldRayOriginEXT: return "OpHitObjectGetWorldRayOriginEXT"; + case OpHitObjectGetObjectToWorldEXT: return "OpHitObjectGetObjectToWorldEXT"; + case OpHitObjectGetWorldToObjectEXT: return "OpHitObjectGetWorldToObjectEXT"; + case OpHitObjectGetRayTMaxEXT: return "OpHitObjectGetRayTMaxEXT"; case OpReportIntersectionKHR: return "OpReportIntersectionKHR"; case OpIgnoreIntersectionNV: return "OpIgnoreIntersectionNV"; case OpTerminateRayNV: return "OpTerminateRayNV"; @@ -5066,6 +5174,12 @@ inline const char* OpToString(Op value) { case OpExecuteCallableNV: return "OpExecuteCallableNV"; case OpRayQueryGetClusterIdNV: return "OpRayQueryGetClusterIdNV"; case OpHitObjectGetClusterIdNV: return "OpHitObjectGetClusterIdNV"; + case OpHitObjectGetRayTMinEXT: return "OpHitObjectGetRayTMinEXT"; + case OpHitObjectGetShaderBindingTableRecordIndexEXT: return "OpHitObjectGetShaderBindingTableRecordIndexEXT"; + case OpHitObjectGetShaderRecordBufferHandleEXT: return "OpHitObjectGetShaderRecordBufferHandleEXT"; + case OpHitObjectIsEmptyEXT: return "OpHitObjectIsEmptyEXT"; + case OpHitObjectIsHitEXT: return "OpHitObjectIsHitEXT"; + case OpHitObjectIsMissEXT: return "OpHitObjectIsMissEXT"; case OpTypeCooperativeMatrixNV: return "OpTypeCooperativeMatrixNV"; case OpCooperativeMatrixLoadNV: return "OpCooperativeMatrixLoadNV"; case OpCooperativeMatrixStoreNV: return "OpCooperativeMatrixStoreNV"; diff --git a/include/spirv/unified1/spirv.hpp11 b/include/spirv/unified1/spirv.hpp11 index c2fbc0e8d..084be7121 100644 --- a/include/spirv/unified1/spirv.hpp11 +++ b/include/spirv/unified1/spirv.hpp11 @@ -246,6 +246,7 @@ enum class StorageClass : unsigned { PhysicalStorageBufferEXT = 5349, HitObjectAttributeNV = 5385, TaskPayloadWorkgroupEXT = 5402, + HitObjectAttributeEXT = 5411, CodeSectionINTEL = 5605, DeviceOnlyALTERA = 5936, DeviceOnlyINTEL = 5936, @@ -573,6 +574,7 @@ enum class Decoration : unsigned { AliasedPointer = 5356, AliasedPointerEXT = 5356, HitObjectShaderRecordBufferNV = 5386, + HitObjectShaderRecordBufferEXT = 5389, BindlessSamplerNV = 5398, BindlessImageNV = 5399, BoundSamplerNV = 5400, @@ -1249,6 +1251,7 @@ enum class Capability : unsigned { DisplacementMicromapNV = 5380, RayTracingOpacityMicromapEXT = 5381, ShaderInvocationReorderNV = 5383, + ShaderInvocationReorderEXT = 5388, BindlessTextureNV = 5390, RayQueryPositionFetchKHR = 5391, CooperativeVectorNV = 5394, @@ -2182,6 +2185,36 @@ enum class Op : unsigned { OpFetchMicroTriangleVertexBarycentricNV = 5301, OpCooperativeVectorLoadNV = 5302, OpCooperativeVectorStoreNV = 5303, + OpHitObjectRecordFromQueryEXT = 5304, + OpHitObjectRecordMissEXT = 5305, + OpHitObjectRecordMissMotionEXT = 5306, + OpHitObjectGetIntersectionTriangleVertexPositionsEXT = 5307, + OpHitObjectGetRayFlagsEXT = 5308, + OpHitObjectSetShaderBindingTableRecordIndexEXT = 5309, + OpHitObjectReorderExecuteShaderEXT = 5310, + OpHitObjectTraceReorderExecuteEXT = 5311, + OpHitObjectTraceMotionReorderExecuteEXT = 5312, + OpTypeHitObjectEXT = 5313, + OpReorderThreadWithHintEXT = 5314, + OpReorderThreadWithHitObjectEXT = 5315, + OpHitObjectTraceRayEXT = 5316, + OpHitObjectTraceRayMotionEXT = 5317, + OpHitObjectRecordEmptyEXT = 5318, + OpHitObjectExecuteShaderEXT = 5319, + OpHitObjectGetCurrentTimeEXT = 5320, + OpHitObjectGetAttributesEXT = 5321, + OpHitObjectGetHitKindEXT = 5322, + OpHitObjectGetPrimitiveIndexEXT = 5323, + OpHitObjectGetGeometryIndexEXT = 5324, + OpHitObjectGetInstanceIdEXT = 5325, + OpHitObjectGetInstanceCustomIndexEXT = 5326, + OpHitObjectGetObjectRayOriginEXT = 5327, + OpHitObjectGetObjectRayDirectionEXT = 5328, + OpHitObjectGetWorldRayDirectionEXT = 5329, + OpHitObjectGetWorldRayOriginEXT = 5330, + OpHitObjectGetObjectToWorldEXT = 5331, + OpHitObjectGetWorldToObjectEXT = 5332, + OpHitObjectGetRayTMaxEXT = 5333, OpReportIntersectionKHR = 5334, OpReportIntersectionNV = 5334, OpIgnoreIntersectionNV = 5335, @@ -2196,6 +2229,12 @@ enum class Op : unsigned { OpRayQueryGetClusterIdNV = 5345, OpRayQueryGetIntersectionClusterIdNV = 5345, OpHitObjectGetClusterIdNV = 5346, + OpHitObjectGetRayTMinEXT = 5347, + OpHitObjectGetShaderBindingTableRecordIndexEXT = 5348, + OpHitObjectGetShaderRecordBufferHandleEXT = 5349, + OpHitObjectIsEmptyEXT = 5350, + OpHitObjectIsHitEXT = 5351, + OpHitObjectIsMissEXT = 5352, OpTypeCooperativeMatrixNV = 5358, OpCooperativeMatrixLoadNV = 5359, OpCooperativeMatrixStoreNV = 5360, @@ -3060,6 +3099,36 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { case Op::OpFetchMicroTriangleVertexBarycentricNV: *hasResult = true; *hasResultType = true; break; case Op::OpCooperativeVectorLoadNV: *hasResult = true; *hasResultType = true; break; case Op::OpCooperativeVectorStoreNV: *hasResult = false; *hasResultType = false; break; + case Op::OpHitObjectRecordFromQueryEXT: *hasResult = false; *hasResultType = false; break; + case Op::OpHitObjectRecordMissEXT: *hasResult = false; *hasResultType = false; break; + case Op::OpHitObjectRecordMissMotionEXT: *hasResult = false; *hasResultType = false; break; + case Op::OpHitObjectGetIntersectionTriangleVertexPositionsEXT: *hasResult = true; *hasResultType = true; break; + case Op::OpHitObjectGetRayFlagsEXT: *hasResult = true; *hasResultType = true; break; + case Op::OpHitObjectSetShaderBindingTableRecordIndexEXT: *hasResult = false; *hasResultType = false; break; + case Op::OpHitObjectReorderExecuteShaderEXT: *hasResult = false; *hasResultType = false; break; + case Op::OpHitObjectTraceReorderExecuteEXT: *hasResult = false; *hasResultType = false; break; + case Op::OpHitObjectTraceMotionReorderExecuteEXT: *hasResult = false; *hasResultType = false; break; + case Op::OpTypeHitObjectEXT: *hasResult = true; *hasResultType = false; break; + case Op::OpReorderThreadWithHintEXT: *hasResult = false; *hasResultType = false; break; + case Op::OpReorderThreadWithHitObjectEXT: *hasResult = false; *hasResultType = false; break; + case Op::OpHitObjectTraceRayEXT: *hasResult = false; *hasResultType = false; break; + case Op::OpHitObjectTraceRayMotionEXT: *hasResult = false; *hasResultType = false; break; + case Op::OpHitObjectRecordEmptyEXT: *hasResult = false; *hasResultType = false; break; + case Op::OpHitObjectExecuteShaderEXT: *hasResult = false; *hasResultType = false; break; + case Op::OpHitObjectGetCurrentTimeEXT: *hasResult = true; *hasResultType = true; break; + case Op::OpHitObjectGetAttributesEXT: *hasResult = false; *hasResultType = false; break; + case Op::OpHitObjectGetHitKindEXT: *hasResult = true; *hasResultType = true; break; + case Op::OpHitObjectGetPrimitiveIndexEXT: *hasResult = true; *hasResultType = true; break; + case Op::OpHitObjectGetGeometryIndexEXT: *hasResult = true; *hasResultType = true; break; + case Op::OpHitObjectGetInstanceIdEXT: *hasResult = true; *hasResultType = true; break; + case Op::OpHitObjectGetInstanceCustomIndexEXT: *hasResult = true; *hasResultType = true; break; + case Op::OpHitObjectGetObjectRayOriginEXT: *hasResult = true; *hasResultType = true; break; + case Op::OpHitObjectGetObjectRayDirectionEXT: *hasResult = true; *hasResultType = true; break; + case Op::OpHitObjectGetWorldRayDirectionEXT: *hasResult = true; *hasResultType = true; break; + case Op::OpHitObjectGetWorldRayOriginEXT: *hasResult = true; *hasResultType = true; break; + case Op::OpHitObjectGetObjectToWorldEXT: *hasResult = true; *hasResultType = true; break; + case Op::OpHitObjectGetWorldToObjectEXT: *hasResult = true; *hasResultType = true; break; + case Op::OpHitObjectGetRayTMaxEXT: *hasResult = true; *hasResultType = true; break; case Op::OpReportIntersectionKHR: *hasResult = true; *hasResultType = true; break; case Op::OpIgnoreIntersectionNV: *hasResult = false; *hasResultType = false; break; case Op::OpTerminateRayNV: *hasResult = false; *hasResultType = false; break; @@ -3071,6 +3140,12 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { case Op::OpExecuteCallableNV: *hasResult = false; *hasResultType = false; break; case Op::OpRayQueryGetIntersectionClusterIdNV: *hasResult = true; *hasResultType = true; break; case Op::OpHitObjectGetClusterIdNV: *hasResult = true; *hasResultType = true; break; + case Op::OpHitObjectGetRayTMinEXT: *hasResult = true; *hasResultType = true; break; + case Op::OpHitObjectGetShaderBindingTableRecordIndexEXT: *hasResult = true; *hasResultType = true; break; + case Op::OpHitObjectGetShaderRecordBufferHandleEXT: *hasResult = true; *hasResultType = true; break; + case Op::OpHitObjectIsEmptyEXT: *hasResult = true; *hasResultType = true; break; + case Op::OpHitObjectIsHitEXT: *hasResult = true; *hasResultType = true; break; + case Op::OpHitObjectIsMissEXT: *hasResult = true; *hasResultType = true; break; case Op::OpTypeCooperativeMatrixNV: *hasResult = true; *hasResultType = false; break; case Op::OpCooperativeMatrixLoadNV: *hasResult = true; *hasResultType = true; break; case Op::OpCooperativeMatrixStoreNV: *hasResult = false; *hasResultType = false; break; @@ -3593,6 +3668,7 @@ inline const char* StorageClassToString(StorageClass value) { case StorageClass::PhysicalStorageBuffer: return "PhysicalStorageBuffer"; case StorageClass::HitObjectAttributeNV: return "HitObjectAttributeNV"; case StorageClass::TaskPayloadWorkgroupEXT: return "TaskPayloadWorkgroupEXT"; + case StorageClass::HitObjectAttributeEXT: return "HitObjectAttributeEXT"; case StorageClass::CodeSectionINTEL: return "CodeSectionINTEL"; case StorageClass::DeviceOnlyALTERA: return "DeviceOnlyALTERA"; case StorageClass::HostOnlyALTERA: return "HostOnlyALTERA"; @@ -3858,6 +3934,7 @@ inline const char* DecorationToString(Decoration value) { case Decoration::RestrictPointer: return "RestrictPointer"; case Decoration::AliasedPointer: return "AliasedPointer"; case Decoration::HitObjectShaderRecordBufferNV: return "HitObjectShaderRecordBufferNV"; + case Decoration::HitObjectShaderRecordBufferEXT: return "HitObjectShaderRecordBufferEXT"; case Decoration::BindlessSamplerNV: return "BindlessSamplerNV"; case Decoration::BindlessImageNV: return "BindlessImageNV"; case Decoration::BoundSamplerNV: return "BoundSamplerNV"; @@ -4275,6 +4352,7 @@ inline const char* CapabilityToString(Capability value) { case Capability::DisplacementMicromapNV: return "DisplacementMicromapNV"; case Capability::RayTracingOpacityMicromapEXT: return "RayTracingOpacityMicromapEXT"; case Capability::ShaderInvocationReorderNV: return "ShaderInvocationReorderNV"; + case Capability::ShaderInvocationReorderEXT: return "ShaderInvocationReorderEXT"; case Capability::BindlessTextureNV: return "BindlessTextureNV"; case Capability::RayQueryPositionFetchKHR: return "RayQueryPositionFetchKHR"; case Capability::CooperativeVectorNV: return "CooperativeVectorNV"; @@ -5055,6 +5133,36 @@ inline const char* OpToString(Op value) { case Op::OpFetchMicroTriangleVertexBarycentricNV: return "OpFetchMicroTriangleVertexBarycentricNV"; case Op::OpCooperativeVectorLoadNV: return "OpCooperativeVectorLoadNV"; case Op::OpCooperativeVectorStoreNV: return "OpCooperativeVectorStoreNV"; + case Op::OpHitObjectRecordFromQueryEXT: return "OpHitObjectRecordFromQueryEXT"; + case Op::OpHitObjectRecordMissEXT: return "OpHitObjectRecordMissEXT"; + case Op::OpHitObjectRecordMissMotionEXT: return "OpHitObjectRecordMissMotionEXT"; + case Op::OpHitObjectGetIntersectionTriangleVertexPositionsEXT: return "OpHitObjectGetIntersectionTriangleVertexPositionsEXT"; + case Op::OpHitObjectGetRayFlagsEXT: return "OpHitObjectGetRayFlagsEXT"; + case Op::OpHitObjectSetShaderBindingTableRecordIndexEXT: return "OpHitObjectSetShaderBindingTableRecordIndexEXT"; + case Op::OpHitObjectReorderExecuteShaderEXT: return "OpHitObjectReorderExecuteShaderEXT"; + case Op::OpHitObjectTraceReorderExecuteEXT: return "OpHitObjectTraceReorderExecuteEXT"; + case Op::OpHitObjectTraceMotionReorderExecuteEXT: return "OpHitObjectTraceMotionReorderExecuteEXT"; + case Op::OpTypeHitObjectEXT: return "OpTypeHitObjectEXT"; + case Op::OpReorderThreadWithHintEXT: return "OpReorderThreadWithHintEXT"; + case Op::OpReorderThreadWithHitObjectEXT: return "OpReorderThreadWithHitObjectEXT"; + case Op::OpHitObjectTraceRayEXT: return "OpHitObjectTraceRayEXT"; + case Op::OpHitObjectTraceRayMotionEXT: return "OpHitObjectTraceRayMotionEXT"; + case Op::OpHitObjectRecordEmptyEXT: return "OpHitObjectRecordEmptyEXT"; + case Op::OpHitObjectExecuteShaderEXT: return "OpHitObjectExecuteShaderEXT"; + case Op::OpHitObjectGetCurrentTimeEXT: return "OpHitObjectGetCurrentTimeEXT"; + case Op::OpHitObjectGetAttributesEXT: return "OpHitObjectGetAttributesEXT"; + case Op::OpHitObjectGetHitKindEXT: return "OpHitObjectGetHitKindEXT"; + case Op::OpHitObjectGetPrimitiveIndexEXT: return "OpHitObjectGetPrimitiveIndexEXT"; + case Op::OpHitObjectGetGeometryIndexEXT: return "OpHitObjectGetGeometryIndexEXT"; + case Op::OpHitObjectGetInstanceIdEXT: return "OpHitObjectGetInstanceIdEXT"; + case Op::OpHitObjectGetInstanceCustomIndexEXT: return "OpHitObjectGetInstanceCustomIndexEXT"; + case Op::OpHitObjectGetObjectRayOriginEXT: return "OpHitObjectGetObjectRayOriginEXT"; + case Op::OpHitObjectGetObjectRayDirectionEXT: return "OpHitObjectGetObjectRayDirectionEXT"; + case Op::OpHitObjectGetWorldRayDirectionEXT: return "OpHitObjectGetWorldRayDirectionEXT"; + case Op::OpHitObjectGetWorldRayOriginEXT: return "OpHitObjectGetWorldRayOriginEXT"; + case Op::OpHitObjectGetObjectToWorldEXT: return "OpHitObjectGetObjectToWorldEXT"; + case Op::OpHitObjectGetWorldToObjectEXT: return "OpHitObjectGetWorldToObjectEXT"; + case Op::OpHitObjectGetRayTMaxEXT: return "OpHitObjectGetRayTMaxEXT"; case Op::OpReportIntersectionKHR: return "OpReportIntersectionKHR"; case Op::OpIgnoreIntersectionNV: return "OpIgnoreIntersectionNV"; case Op::OpTerminateRayNV: return "OpTerminateRayNV"; @@ -5066,6 +5174,12 @@ inline const char* OpToString(Op value) { case Op::OpExecuteCallableNV: return "OpExecuteCallableNV"; case Op::OpRayQueryGetClusterIdNV: return "OpRayQueryGetClusterIdNV"; case Op::OpHitObjectGetClusterIdNV: return "OpHitObjectGetClusterIdNV"; + case Op::OpHitObjectGetRayTMinEXT: return "OpHitObjectGetRayTMinEXT"; + case Op::OpHitObjectGetShaderBindingTableRecordIndexEXT: return "OpHitObjectGetShaderBindingTableRecordIndexEXT"; + case Op::OpHitObjectGetShaderRecordBufferHandleEXT: return "OpHitObjectGetShaderRecordBufferHandleEXT"; + case Op::OpHitObjectIsEmptyEXT: return "OpHitObjectIsEmptyEXT"; + case Op::OpHitObjectIsHitEXT: return "OpHitObjectIsHitEXT"; + case Op::OpHitObjectIsMissEXT: return "OpHitObjectIsMissEXT"; case Op::OpTypeCooperativeMatrixNV: return "OpTypeCooperativeMatrixNV"; case Op::OpCooperativeMatrixLoadNV: return "OpCooperativeMatrixLoadNV"; case Op::OpCooperativeMatrixStoreNV: return "OpCooperativeMatrixStoreNV"; diff --git a/include/spirv/unified1/spirv.json b/include/spirv/unified1/spirv.json index cc2205c64..5ffa8563e 100644 --- a/include/spirv/unified1/spirv.json +++ b/include/spirv/unified1/spirv.json @@ -268,6 +268,7 @@ "PhysicalStorageBufferEXT": 5349, "HitObjectAttributeNV": 5385, "TaskPayloadWorkgroupEXT": 5402, + "HitObjectAttributeEXT": 5411, "CodeSectionINTEL": 5605, "DeviceOnlyALTERA": 5936, "DeviceOnlyINTEL": 5936, @@ -596,6 +597,7 @@ "AliasedPointer": 5356, "AliasedPointerEXT": 5356, "HitObjectShaderRecordBufferNV": 5386, + "HitObjectShaderRecordBufferEXT": 5389, "BindlessSamplerNV": 5398, "BindlessImageNV": 5399, "BoundSamplerNV": 5400, @@ -1215,6 +1217,7 @@ "DisplacementMicromapNV": 5380, "RayTracingOpacityMicromapEXT": 5381, "ShaderInvocationReorderNV": 5383, + "ShaderInvocationReorderEXT": 5388, "BindlessTextureNV": 5390, "RayQueryPositionFetchKHR": 5391, "CooperativeVectorNV": 5394, @@ -2153,6 +2156,36 @@ "OpFetchMicroTriangleVertexBarycentricNV": 5301, "OpCooperativeVectorLoadNV": 5302, "OpCooperativeVectorStoreNV": 5303, + "OpHitObjectRecordFromQueryEXT": 5304, + "OpHitObjectRecordMissEXT": 5305, + "OpHitObjectRecordMissMotionEXT": 5306, + "OpHitObjectGetIntersectionTriangleVertexPositionsEXT": 5307, + "OpHitObjectGetRayFlagsEXT": 5308, + "OpHitObjectSetShaderBindingTableRecordIndexEXT": 5309, + "OpHitObjectReorderExecuteShaderEXT": 5310, + "OpHitObjectTraceReorderExecuteEXT": 5311, + "OpHitObjectTraceMotionReorderExecuteEXT": 5312, + "OpTypeHitObjectEXT": 5313, + "OpReorderThreadWithHintEXT": 5314, + "OpReorderThreadWithHitObjectEXT": 5315, + "OpHitObjectTraceRayEXT": 5316, + "OpHitObjectTraceRayMotionEXT": 5317, + "OpHitObjectRecordEmptyEXT": 5318, + "OpHitObjectExecuteShaderEXT": 5319, + "OpHitObjectGetCurrentTimeEXT": 5320, + "OpHitObjectGetAttributesEXT": 5321, + "OpHitObjectGetHitKindEXT": 5322, + "OpHitObjectGetPrimitiveIndexEXT": 5323, + "OpHitObjectGetGeometryIndexEXT": 5324, + "OpHitObjectGetInstanceIdEXT": 5325, + "OpHitObjectGetInstanceCustomIndexEXT": 5326, + "OpHitObjectGetObjectRayOriginEXT": 5327, + "OpHitObjectGetObjectRayDirectionEXT": 5328, + "OpHitObjectGetWorldRayDirectionEXT": 5329, + "OpHitObjectGetWorldRayOriginEXT": 5330, + "OpHitObjectGetObjectToWorldEXT": 5331, + "OpHitObjectGetWorldToObjectEXT": 5332, + "OpHitObjectGetRayTMaxEXT": 5333, "OpReportIntersectionKHR": 5334, "OpReportIntersectionNV": 5334, "OpIgnoreIntersectionNV": 5335, @@ -2167,6 +2200,12 @@ "OpRayQueryGetClusterIdNV": 5345, "OpRayQueryGetIntersectionClusterIdNV": 5345, "OpHitObjectGetClusterIdNV": 5346, + "OpHitObjectGetRayTMinEXT": 5347, + "OpHitObjectGetShaderBindingTableRecordIndexEXT": 5348, + "OpHitObjectGetShaderRecordBufferHandleEXT": 5349, + "OpHitObjectIsEmptyEXT": 5350, + "OpHitObjectIsHitEXT": 5351, + "OpHitObjectIsMissEXT": 5352, "OpTypeCooperativeMatrixNV": 5358, "OpCooperativeMatrixLoadNV": 5359, "OpCooperativeMatrixStoreNV": 5360, diff --git a/include/spirv/unified1/spirv.lua b/include/spirv/unified1/spirv.lua index 612d9822c..d189ab4bf 100644 --- a/include/spirv/unified1/spirv.lua +++ b/include/spirv/unified1/spirv.lua @@ -237,6 +237,7 @@ spv = { PhysicalStorageBufferEXT = 5349, HitObjectAttributeNV = 5385, TaskPayloadWorkgroupEXT = 5402, + HitObjectAttributeEXT = 5411, CodeSectionINTEL = 5605, DeviceOnlyALTERA = 5936, DeviceOnlyINTEL = 5936, @@ -564,6 +565,7 @@ spv = { AliasedPointer = 5356, AliasedPointerEXT = 5356, HitObjectShaderRecordBufferNV = 5386, + HitObjectShaderRecordBufferEXT = 5389, BindlessSamplerNV = 5398, BindlessImageNV = 5399, BoundSamplerNV = 5400, @@ -1240,6 +1242,7 @@ spv = { DisplacementMicromapNV = 5380, RayTracingOpacityMicromapEXT = 5381, ShaderInvocationReorderNV = 5383, + ShaderInvocationReorderEXT = 5388, BindlessTextureNV = 5390, RayQueryPositionFetchKHR = 5391, CooperativeVectorNV = 5394, @@ -2173,6 +2176,36 @@ spv = { OpFetchMicroTriangleVertexBarycentricNV = 5301, OpCooperativeVectorLoadNV = 5302, OpCooperativeVectorStoreNV = 5303, + OpHitObjectRecordFromQueryEXT = 5304, + OpHitObjectRecordMissEXT = 5305, + OpHitObjectRecordMissMotionEXT = 5306, + OpHitObjectGetIntersectionTriangleVertexPositionsEXT = 5307, + OpHitObjectGetRayFlagsEXT = 5308, + OpHitObjectSetShaderBindingTableRecordIndexEXT = 5309, + OpHitObjectReorderExecuteShaderEXT = 5310, + OpHitObjectTraceReorderExecuteEXT = 5311, + OpHitObjectTraceMotionReorderExecuteEXT = 5312, + OpTypeHitObjectEXT = 5313, + OpReorderThreadWithHintEXT = 5314, + OpReorderThreadWithHitObjectEXT = 5315, + OpHitObjectTraceRayEXT = 5316, + OpHitObjectTraceRayMotionEXT = 5317, + OpHitObjectRecordEmptyEXT = 5318, + OpHitObjectExecuteShaderEXT = 5319, + OpHitObjectGetCurrentTimeEXT = 5320, + OpHitObjectGetAttributesEXT = 5321, + OpHitObjectGetHitKindEXT = 5322, + OpHitObjectGetPrimitiveIndexEXT = 5323, + OpHitObjectGetGeometryIndexEXT = 5324, + OpHitObjectGetInstanceIdEXT = 5325, + OpHitObjectGetInstanceCustomIndexEXT = 5326, + OpHitObjectGetObjectRayOriginEXT = 5327, + OpHitObjectGetObjectRayDirectionEXT = 5328, + OpHitObjectGetWorldRayDirectionEXT = 5329, + OpHitObjectGetWorldRayOriginEXT = 5330, + OpHitObjectGetObjectToWorldEXT = 5331, + OpHitObjectGetWorldToObjectEXT = 5332, + OpHitObjectGetRayTMaxEXT = 5333, OpReportIntersectionKHR = 5334, OpReportIntersectionNV = 5334, OpIgnoreIntersectionNV = 5335, @@ -2187,6 +2220,12 @@ spv = { OpRayQueryGetClusterIdNV = 5345, OpRayQueryGetIntersectionClusterIdNV = 5345, OpHitObjectGetClusterIdNV = 5346, + OpHitObjectGetRayTMinEXT = 5347, + OpHitObjectGetShaderBindingTableRecordIndexEXT = 5348, + OpHitObjectGetShaderRecordBufferHandleEXT = 5349, + OpHitObjectIsEmptyEXT = 5350, + OpHitObjectIsHitEXT = 5351, + OpHitObjectIsMissEXT = 5352, OpTypeCooperativeMatrixNV = 5358, OpCooperativeMatrixLoadNV = 5359, OpCooperativeMatrixStoreNV = 5360, diff --git a/include/spirv/unified1/spirv.py b/include/spirv/unified1/spirv.py index a1a573c71..f63327ff1 100644 --- a/include/spirv/unified1/spirv.py +++ b/include/spirv/unified1/spirv.py @@ -232,6 +232,7 @@ 'PhysicalStorageBufferEXT' : 5349, 'HitObjectAttributeNV' : 5385, 'TaskPayloadWorkgroupEXT' : 5402, + 'HitObjectAttributeEXT' : 5411, 'CodeSectionINTEL' : 5605, 'DeviceOnlyALTERA' : 5936, 'DeviceOnlyINTEL' : 5936, @@ -546,6 +547,7 @@ 'AliasedPointer' : 5356, 'AliasedPointerEXT' : 5356, 'HitObjectShaderRecordBufferNV' : 5386, + 'HitObjectShaderRecordBufferEXT' : 5389, 'BindlessSamplerNV' : 5398, 'BindlessImageNV' : 5399, 'BoundSamplerNV' : 5400, @@ -1211,6 +1213,7 @@ 'DisplacementMicromapNV' : 5380, 'RayTracingOpacityMicromapEXT' : 5381, 'ShaderInvocationReorderNV' : 5383, + 'ShaderInvocationReorderEXT' : 5388, 'BindlessTextureNV' : 5390, 'RayQueryPositionFetchKHR' : 5391, 'CooperativeVectorNV' : 5394, @@ -2116,6 +2119,36 @@ 'OpFetchMicroTriangleVertexBarycentricNV' : 5301, 'OpCooperativeVectorLoadNV' : 5302, 'OpCooperativeVectorStoreNV' : 5303, + 'OpHitObjectRecordFromQueryEXT' : 5304, + 'OpHitObjectRecordMissEXT' : 5305, + 'OpHitObjectRecordMissMotionEXT' : 5306, + 'OpHitObjectGetIntersectionTriangleVertexPositionsEXT' : 5307, + 'OpHitObjectGetRayFlagsEXT' : 5308, + 'OpHitObjectSetShaderBindingTableRecordIndexEXT' : 5309, + 'OpHitObjectReorderExecuteShaderEXT' : 5310, + 'OpHitObjectTraceReorderExecuteEXT' : 5311, + 'OpHitObjectTraceMotionReorderExecuteEXT' : 5312, + 'OpTypeHitObjectEXT' : 5313, + 'OpReorderThreadWithHintEXT' : 5314, + 'OpReorderThreadWithHitObjectEXT' : 5315, + 'OpHitObjectTraceRayEXT' : 5316, + 'OpHitObjectTraceRayMotionEXT' : 5317, + 'OpHitObjectRecordEmptyEXT' : 5318, + 'OpHitObjectExecuteShaderEXT' : 5319, + 'OpHitObjectGetCurrentTimeEXT' : 5320, + 'OpHitObjectGetAttributesEXT' : 5321, + 'OpHitObjectGetHitKindEXT' : 5322, + 'OpHitObjectGetPrimitiveIndexEXT' : 5323, + 'OpHitObjectGetGeometryIndexEXT' : 5324, + 'OpHitObjectGetInstanceIdEXT' : 5325, + 'OpHitObjectGetInstanceCustomIndexEXT' : 5326, + 'OpHitObjectGetObjectRayOriginEXT' : 5327, + 'OpHitObjectGetObjectRayDirectionEXT' : 5328, + 'OpHitObjectGetWorldRayDirectionEXT' : 5329, + 'OpHitObjectGetWorldRayOriginEXT' : 5330, + 'OpHitObjectGetObjectToWorldEXT' : 5331, + 'OpHitObjectGetWorldToObjectEXT' : 5332, + 'OpHitObjectGetRayTMaxEXT' : 5333, 'OpReportIntersectionKHR' : 5334, 'OpReportIntersectionNV' : 5334, 'OpIgnoreIntersectionNV' : 5335, @@ -2130,6 +2163,12 @@ 'OpRayQueryGetClusterIdNV' : 5345, 'OpRayQueryGetIntersectionClusterIdNV' : 5345, 'OpHitObjectGetClusterIdNV' : 5346, + 'OpHitObjectGetRayTMinEXT' : 5347, + 'OpHitObjectGetShaderBindingTableRecordIndexEXT' : 5348, + 'OpHitObjectGetShaderRecordBufferHandleEXT' : 5349, + 'OpHitObjectIsEmptyEXT' : 5350, + 'OpHitObjectIsHitEXT' : 5351, + 'OpHitObjectIsMissEXT' : 5352, 'OpTypeCooperativeMatrixNV' : 5358, 'OpCooperativeMatrixLoadNV' : 5359, 'OpCooperativeMatrixStoreNV' : 5360, diff --git a/include/spirv/unified1/spv.d b/include/spirv/unified1/spv.d index a4ae899c6..7c869ffd0 100644 --- a/include/spirv/unified1/spv.d +++ b/include/spirv/unified1/spv.d @@ -250,6 +250,7 @@ enum StorageClass : uint PhysicalStorageBufferEXT = 5349, HitObjectAttributeNV = 5385, TaskPayloadWorkgroupEXT = 5402, + HitObjectAttributeEXT = 5411, CodeSectionINTEL = 5605, DeviceOnlyALTERA = 5936, DeviceOnlyINTEL = 5936, @@ -592,6 +593,7 @@ enum Decoration : uint AliasedPointer = 5356, AliasedPointerEXT = 5356, HitObjectShaderRecordBufferNV = 5386, + HitObjectShaderRecordBufferEXT = 5389, BindlessSamplerNV = 5398, BindlessImageNV = 5399, BoundSamplerNV = 5400, @@ -1285,6 +1287,7 @@ enum Capability : uint DisplacementMicromapNV = 5380, RayTracingOpacityMicromapEXT = 5381, ShaderInvocationReorderNV = 5383, + ShaderInvocationReorderEXT = 5388, BindlessTextureNV = 5390, RayQueryPositionFetchKHR = 5391, CooperativeVectorNV = 5394, @@ -2254,6 +2257,36 @@ enum Op : uint OpFetchMicroTriangleVertexBarycentricNV = 5301, OpCooperativeVectorLoadNV = 5302, OpCooperativeVectorStoreNV = 5303, + OpHitObjectRecordFromQueryEXT = 5304, + OpHitObjectRecordMissEXT = 5305, + OpHitObjectRecordMissMotionEXT = 5306, + OpHitObjectGetIntersectionTriangleVertexPositionsEXT = 5307, + OpHitObjectGetRayFlagsEXT = 5308, + OpHitObjectSetShaderBindingTableRecordIndexEXT = 5309, + OpHitObjectReorderExecuteShaderEXT = 5310, + OpHitObjectTraceReorderExecuteEXT = 5311, + OpHitObjectTraceMotionReorderExecuteEXT = 5312, + OpTypeHitObjectEXT = 5313, + OpReorderThreadWithHintEXT = 5314, + OpReorderThreadWithHitObjectEXT = 5315, + OpHitObjectTraceRayEXT = 5316, + OpHitObjectTraceRayMotionEXT = 5317, + OpHitObjectRecordEmptyEXT = 5318, + OpHitObjectExecuteShaderEXT = 5319, + OpHitObjectGetCurrentTimeEXT = 5320, + OpHitObjectGetAttributesEXT = 5321, + OpHitObjectGetHitKindEXT = 5322, + OpHitObjectGetPrimitiveIndexEXT = 5323, + OpHitObjectGetGeometryIndexEXT = 5324, + OpHitObjectGetInstanceIdEXT = 5325, + OpHitObjectGetInstanceCustomIndexEXT = 5326, + OpHitObjectGetObjectRayOriginEXT = 5327, + OpHitObjectGetObjectRayDirectionEXT = 5328, + OpHitObjectGetWorldRayDirectionEXT = 5329, + OpHitObjectGetWorldRayOriginEXT = 5330, + OpHitObjectGetObjectToWorldEXT = 5331, + OpHitObjectGetWorldToObjectEXT = 5332, + OpHitObjectGetRayTMaxEXT = 5333, OpReportIntersectionKHR = 5334, OpReportIntersectionNV = 5334, OpIgnoreIntersectionNV = 5335, @@ -2268,6 +2301,12 @@ enum Op : uint OpRayQueryGetClusterIdNV = 5345, OpRayQueryGetIntersectionClusterIdNV = 5345, OpHitObjectGetClusterIdNV = 5346, + OpHitObjectGetRayTMinEXT = 5347, + OpHitObjectGetShaderBindingTableRecordIndexEXT = 5348, + OpHitObjectGetShaderRecordBufferHandleEXT = 5349, + OpHitObjectIsEmptyEXT = 5350, + OpHitObjectIsHitEXT = 5351, + OpHitObjectIsMissEXT = 5352, OpTypeCooperativeMatrixNV = 5358, OpCooperativeMatrixLoadNV = 5359, OpCooperativeMatrixStoreNV = 5360, From b824a462d4256d720bebb40e78b9eb8f78bbb305 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Petit?= Date: Wed, 12 Nov 2025 16:46:56 +0000 Subject: [PATCH 08/11] Add missing capability requirements for SPV_ARM_cooperative_matrix_layouts (#555) Change-Id: Ic6ffc261c89a2833998ae7f2bf71d0ac092b675a --- include/spirv/unified1/spirv.core.grammar.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/spirv/unified1/spirv.core.grammar.json b/include/spirv/unified1/spirv.core.grammar.json index 0eaf7820c..f98c0c4b0 100644 --- a/include/spirv/unified1/spirv.core.grammar.json +++ b/include/spirv/unified1/spirv.core.grammar.json @@ -18558,11 +18558,13 @@ { "enumerant" : "RowBlockedInterleavedARM", "value" : 4202, + "capabilities" : [ "CooperativeMatrixLayoutsARM" ], "version" : "None" }, { "enumerant" : "ColumnBlockedInterleavedARM", "value" : 4203, + "capabilities" : [ "CooperativeMatrixLayoutsARM" ], "version" : "None" } ] From 6146b3d9ad4fcc5fb512209d348e97ce03749169 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Dec 2025 13:05:30 -0800 Subject: [PATCH 09/11] Bump actions/checkout from 5 to 6 in the github-actions group (#557) Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 5 to 6 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/presubmit.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/presubmit.yml b/.github/workflows/presubmit.yml index 796db9b16..22ca2e3ad 100644 --- a/.github/workflows/presubmit.yml +++ b/.github/workflows/presubmit.yml @@ -8,7 +8,7 @@ jobs: validate_json: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Validate run: python3 tools/check_grammar/check_grammar.py include/spirv/unified1/*.json @@ -19,7 +19,7 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Install Ubuntu packages if: matrix.os == 'ubuntu-latest' run: sudo apt install -y dos2unix @@ -59,7 +59,7 @@ jobs: test_cmake_min_required: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - uses: lukka/get-cmake@latest with: cmakeVersion: 3.14.0 @@ -71,7 +71,7 @@ jobs: test_cmake_latest: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - uses: lukka/get-cmake@latest - name: CMake build run: | @@ -81,7 +81,7 @@ jobs: add_subdirectory: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - uses: lukka/get-cmake@latest with: cmakeVersion: 3.15.0 @@ -93,7 +93,7 @@ jobs: find_package: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - uses: lukka/get-cmake@latest with: cmakeVersion: 3.15.0 @@ -109,7 +109,7 @@ jobs: find_pkg_config: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - uses: lukka/get-cmake@latest with: cmakeVersion: 3.15.0 @@ -126,7 +126,7 @@ jobs: find_pkg_config_absolute: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - uses: lukka/get-cmake@latest with: cmakeVersion: 3.15.0 @@ -148,6 +148,6 @@ jobs: container: khronosgroup/docker-images@sha256:724f67d8562445523644abf017d5d192b369fafc122de75e9d26792c649821a0 steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: REUSE license checker run: reuse lint \ No newline at end of file From e8f037b983727d4b433bd9c7a6be453b4dd9c108 Mon Sep 17 00:00:00 2001 From: Mariusz Merecki Date: Wed, 10 Dec 2025 17:37:40 +0100 Subject: [PATCH 10/11] Reserve 2 enum blocks for Intel (#559) --- include/spirv/spir-v.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/spirv/spir-v.xml b/include/spirv/spir-v.xml index ba45e3d08..605bc47ce 100644 --- a/include/spirv/spir-v.xml +++ b/include/spirv/spir-v.xml @@ -140,13 +140,14 @@ + - + @@ -174,13 +175,14 @@ + - + From 0a7f626a6ae86284a413d105b47a6fb413bf6c92 Mon Sep 17 00:00:00 2001 From: Jeff Bolz Date: Tue, 16 Dec 2025 14:00:06 -0600 Subject: [PATCH 11/11] SPV_EXT_long_vector (#560) --- include/spirv/unified1/spirv.bf | 2 ++ include/spirv/unified1/spirv.core.grammar.json | 9 ++++++++- include/spirv/unified1/spirv.cs | 2 ++ include/spirv/unified1/spirv.h | 3 +++ include/spirv/unified1/spirv.hpp | 3 +++ include/spirv/unified1/spirv.hpp11 | 3 +++ include/spirv/unified1/spirv.json | 2 ++ include/spirv/unified1/spirv.lua | 2 ++ include/spirv/unified1/spirv.py | 2 ++ include/spirv/unified1/spv.d | 2 ++ 10 files changed, 29 insertions(+), 1 deletion(-) diff --git a/include/spirv/unified1/spirv.bf b/include/spirv/unified1/spirv.bf index 77fb1332c..34db728c1 100644 --- a/include/spirv/unified1/spirv.bf +++ b/include/spirv/unified1/spirv.bf @@ -1294,6 +1294,7 @@ namespace Spv RawAccessChainsNV = 5414, RayTracingSpheresGeometryNV = 5418, RayTracingLinearSweptSpheresGeometryNV = 5419, + LongVectorEXT = 5425, Shader64BitIndexingEXT = 5426, CooperativeMatrixReductionsNV = 5430, CooperativeMatrixConversionsNV = 5431, @@ -2242,6 +2243,7 @@ namespace Spv OpTypeHitObjectNV = 5281, OpImageSampleFootprintNV = 5283, OpTypeCooperativeVectorNV = 5288, + OpTypeVectorIdEXT = 5288, OpCooperativeVectorMatrixMulNV = 5289, OpCooperativeVectorOuterProductAccumulateNV = 5290, OpCooperativeVectorReduceSumAccumulateNV = 5291, diff --git a/include/spirv/unified1/spirv.core.grammar.json b/include/spirv/unified1/spirv.core.grammar.json index f98c0c4b0..8b0f1fb6a 100644 --- a/include/spirv/unified1/spirv.core.grammar.json +++ b/include/spirv/unified1/spirv.core.grammar.json @@ -6171,12 +6171,13 @@ "opname" : "OpTypeCooperativeVectorNV", "class" : "Type-Declaration", "opcode" : 5288, + "aliases" : ["OpTypeVectorIdEXT"], "operands" : [ { "kind" : "IdResult" }, { "kind" : "IdRef", "name" : "Component Type" }, { "kind" : "IdRef", "name" : "Component Count" } ], - "capabilities" : [ "CooperativeVectorNV" ], + "capabilities" : [ "CooperativeVectorNV", "LongVectorEXT" ], "version" : "None" }, { @@ -17826,6 +17827,12 @@ "extensions" : [ "SPV_NV_linear_swept_spheres" ], "version" : "None" }, + { + "enumerant" : "LongVectorEXT", + "value" : 5425, + "extensions" : [ "SPV_EXT_long_vector" ], + "version" : "None" + }, { "enumerant" : "Shader64BitIndexingEXT", "value" : 5426, diff --git a/include/spirv/unified1/spirv.cs b/include/spirv/unified1/spirv.cs index 6a000cd20..5168701b0 100644 --- a/include/spirv/unified1/spirv.cs +++ b/include/spirv/unified1/spirv.cs @@ -1293,6 +1293,7 @@ public enum Capability RawAccessChainsNV = 5414, RayTracingSpheresGeometryNV = 5418, RayTracingLinearSweptSpheresGeometryNV = 5419, + LongVectorEXT = 5425, Shader64BitIndexingEXT = 5426, CooperativeMatrixReductionsNV = 5430, CooperativeMatrixConversionsNV = 5431, @@ -2241,6 +2242,7 @@ public enum Op OpTypeHitObjectNV = 5281, OpImageSampleFootprintNV = 5283, OpTypeCooperativeVectorNV = 5288, + OpTypeVectorIdEXT = 5288, OpCooperativeVectorMatrixMulNV = 5289, OpCooperativeVectorOuterProductAccumulateNV = 5290, OpCooperativeVectorReduceSumAccumulateNV = 5291, diff --git a/include/spirv/unified1/spirv.h b/include/spirv/unified1/spirv.h index e8b5ad198..787e1851c 100644 --- a/include/spirv/unified1/spirv.h +++ b/include/spirv/unified1/spirv.h @@ -1264,6 +1264,7 @@ typedef enum SpvCapability_ { SpvCapabilityRawAccessChainsNV = 5414, SpvCapabilityRayTracingSpheresGeometryNV = 5418, SpvCapabilityRayTracingLinearSweptSpheresGeometryNV = 5419, + SpvCapabilityLongVectorEXT = 5425, SpvCapabilityShader64BitIndexingEXT = 5426, SpvCapabilityCooperativeMatrixReductionsNV = 5430, SpvCapabilityCooperativeMatrixConversionsNV = 5431, @@ -2176,6 +2177,7 @@ typedef enum SpvOp_ { SpvOpTypeHitObjectNV = 5281, SpvOpImageSampleFootprintNV = 5283, SpvOpTypeCooperativeVectorNV = 5288, + SpvOpTypeVectorIdEXT = 5288, SpvOpCooperativeVectorMatrixMulNV = 5289, SpvOpCooperativeVectorOuterProductAccumulateNV = 5290, SpvOpCooperativeVectorReduceSumAccumulateNV = 5291, @@ -4365,6 +4367,7 @@ inline const char* SpvCapabilityToString(SpvCapability value) { case SpvCapabilityRawAccessChainsNV: return "RawAccessChainsNV"; case SpvCapabilityRayTracingSpheresGeometryNV: return "RayTracingSpheresGeometryNV"; case SpvCapabilityRayTracingLinearSweptSpheresGeometryNV: return "RayTracingLinearSweptSpheresGeometryNV"; + case SpvCapabilityLongVectorEXT: return "LongVectorEXT"; case SpvCapabilityShader64BitIndexingEXT: return "Shader64BitIndexingEXT"; case SpvCapabilityCooperativeMatrixReductionsNV: return "CooperativeMatrixReductionsNV"; case SpvCapabilityCooperativeMatrixConversionsNV: return "CooperativeMatrixConversionsNV"; diff --git a/include/spirv/unified1/spirv.hpp b/include/spirv/unified1/spirv.hpp index 7da782df0..4edfd7d17 100644 --- a/include/spirv/unified1/spirv.hpp +++ b/include/spirv/unified1/spirv.hpp @@ -1260,6 +1260,7 @@ enum Capability { CapabilityRawAccessChainsNV = 5414, CapabilityRayTracingSpheresGeometryNV = 5418, CapabilityRayTracingLinearSweptSpheresGeometryNV = 5419, + CapabilityLongVectorEXT = 5425, CapabilityShader64BitIndexingEXT = 5426, CapabilityCooperativeMatrixReductionsNV = 5430, CapabilityCooperativeMatrixConversionsNV = 5431, @@ -2172,6 +2173,7 @@ enum Op { OpTypeHitObjectNV = 5281, OpImageSampleFootprintNV = 5283, OpTypeCooperativeVectorNV = 5288, + OpTypeVectorIdEXT = 5288, OpCooperativeVectorMatrixMulNV = 5289, OpCooperativeVectorOuterProductAccumulateNV = 5290, OpCooperativeVectorReduceSumAccumulateNV = 5291, @@ -4361,6 +4363,7 @@ inline const char* CapabilityToString(Capability value) { case CapabilityRawAccessChainsNV: return "RawAccessChainsNV"; case CapabilityRayTracingSpheresGeometryNV: return "RayTracingSpheresGeometryNV"; case CapabilityRayTracingLinearSweptSpheresGeometryNV: return "RayTracingLinearSweptSpheresGeometryNV"; + case CapabilityLongVectorEXT: return "LongVectorEXT"; case CapabilityShader64BitIndexingEXT: return "Shader64BitIndexingEXT"; case CapabilityCooperativeMatrixReductionsNV: return "CooperativeMatrixReductionsNV"; case CapabilityCooperativeMatrixConversionsNV: return "CooperativeMatrixConversionsNV"; diff --git a/include/spirv/unified1/spirv.hpp11 b/include/spirv/unified1/spirv.hpp11 index 084be7121..e7b7192e5 100644 --- a/include/spirv/unified1/spirv.hpp11 +++ b/include/spirv/unified1/spirv.hpp11 @@ -1260,6 +1260,7 @@ enum class Capability : unsigned { RawAccessChainsNV = 5414, RayTracingSpheresGeometryNV = 5418, RayTracingLinearSweptSpheresGeometryNV = 5419, + LongVectorEXT = 5425, Shader64BitIndexingEXT = 5426, CooperativeMatrixReductionsNV = 5430, CooperativeMatrixConversionsNV = 5431, @@ -2172,6 +2173,7 @@ enum class Op : unsigned { OpTypeHitObjectNV = 5281, OpImageSampleFootprintNV = 5283, OpTypeCooperativeVectorNV = 5288, + OpTypeVectorIdEXT = 5288, OpCooperativeVectorMatrixMulNV = 5289, OpCooperativeVectorOuterProductAccumulateNV = 5290, OpCooperativeVectorReduceSumAccumulateNV = 5291, @@ -4361,6 +4363,7 @@ inline const char* CapabilityToString(Capability value) { case Capability::RawAccessChainsNV: return "RawAccessChainsNV"; case Capability::RayTracingSpheresGeometryNV: return "RayTracingSpheresGeometryNV"; case Capability::RayTracingLinearSweptSpheresGeometryNV: return "RayTracingLinearSweptSpheresGeometryNV"; + case Capability::LongVectorEXT: return "LongVectorEXT"; case Capability::Shader64BitIndexingEXT: return "Shader64BitIndexingEXT"; case Capability::CooperativeMatrixReductionsNV: return "CooperativeMatrixReductionsNV"; case Capability::CooperativeMatrixConversionsNV: return "CooperativeMatrixConversionsNV"; diff --git a/include/spirv/unified1/spirv.json b/include/spirv/unified1/spirv.json index 5ffa8563e..6dfa3e164 100644 --- a/include/spirv/unified1/spirv.json +++ b/include/spirv/unified1/spirv.json @@ -1226,6 +1226,7 @@ "RawAccessChainsNV": 5414, "RayTracingSpheresGeometryNV": 5418, "RayTracingLinearSweptSpheresGeometryNV": 5419, + "LongVectorEXT": 5425, "Shader64BitIndexingEXT": 5426, "CooperativeMatrixReductionsNV": 5430, "CooperativeMatrixConversionsNV": 5431, @@ -2143,6 +2144,7 @@ "OpTypeHitObjectNV": 5281, "OpImageSampleFootprintNV": 5283, "OpTypeCooperativeVectorNV": 5288, + "OpTypeVectorIdEXT": 5288, "OpCooperativeVectorMatrixMulNV": 5289, "OpCooperativeVectorOuterProductAccumulateNV": 5290, "OpCooperativeVectorReduceSumAccumulateNV": 5291, diff --git a/include/spirv/unified1/spirv.lua b/include/spirv/unified1/spirv.lua index d189ab4bf..444a90d04 100644 --- a/include/spirv/unified1/spirv.lua +++ b/include/spirv/unified1/spirv.lua @@ -1251,6 +1251,7 @@ spv = { RawAccessChainsNV = 5414, RayTracingSpheresGeometryNV = 5418, RayTracingLinearSweptSpheresGeometryNV = 5419, + LongVectorEXT = 5425, Shader64BitIndexingEXT = 5426, CooperativeMatrixReductionsNV = 5430, CooperativeMatrixConversionsNV = 5431, @@ -2163,6 +2164,7 @@ spv = { OpTypeHitObjectNV = 5281, OpImageSampleFootprintNV = 5283, OpTypeCooperativeVectorNV = 5288, + OpTypeVectorIdEXT = 5288, OpCooperativeVectorMatrixMulNV = 5289, OpCooperativeVectorOuterProductAccumulateNV = 5290, OpCooperativeVectorReduceSumAccumulateNV = 5291, diff --git a/include/spirv/unified1/spirv.py b/include/spirv/unified1/spirv.py index f63327ff1..c24696ab1 100644 --- a/include/spirv/unified1/spirv.py +++ b/include/spirv/unified1/spirv.py @@ -1222,6 +1222,7 @@ 'RawAccessChainsNV' : 5414, 'RayTracingSpheresGeometryNV' : 5418, 'RayTracingLinearSweptSpheresGeometryNV' : 5419, + 'LongVectorEXT' : 5425, 'Shader64BitIndexingEXT' : 5426, 'CooperativeMatrixReductionsNV' : 5430, 'CooperativeMatrixConversionsNV' : 5431, @@ -2106,6 +2107,7 @@ 'OpTypeHitObjectNV' : 5281, 'OpImageSampleFootprintNV' : 5283, 'OpTypeCooperativeVectorNV' : 5288, + 'OpTypeVectorIdEXT' : 5288, 'OpCooperativeVectorMatrixMulNV' : 5289, 'OpCooperativeVectorOuterProductAccumulateNV' : 5290, 'OpCooperativeVectorReduceSumAccumulateNV' : 5291, diff --git a/include/spirv/unified1/spv.d b/include/spirv/unified1/spv.d index 7c869ffd0..41f54be74 100644 --- a/include/spirv/unified1/spv.d +++ b/include/spirv/unified1/spv.d @@ -1296,6 +1296,7 @@ enum Capability : uint RawAccessChainsNV = 5414, RayTracingSpheresGeometryNV = 5418, RayTracingLinearSweptSpheresGeometryNV = 5419, + LongVectorEXT = 5425, Shader64BitIndexingEXT = 5426, CooperativeMatrixReductionsNV = 5430, CooperativeMatrixConversionsNV = 5431, @@ -2244,6 +2245,7 @@ enum Op : uint OpTypeHitObjectNV = 5281, OpImageSampleFootprintNV = 5283, OpTypeCooperativeVectorNV = 5288, + OpTypeVectorIdEXT = 5288, OpCooperativeVectorMatrixMulNV = 5289, OpCooperativeVectorOuterProductAccumulateNV = 5290, OpCooperativeVectorReduceSumAccumulateNV = 5291,