Updated spirv-headers.

This commit is contained in:
Бранимир Караџић 2023-02-02 19:00:58 -08:00
parent 028a1cc605
commit faf90023da
6 changed files with 168 additions and 3 deletions

View File

@ -0,0 +1,50 @@
// Copyright (c) 2020 The Khronos Group Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and/or associated documentation files (the
// "Materials"), to deal in the Materials without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Materials, and to
// permit persons to whom the Materials are furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Materials.
//
// MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS
// KHRONOS STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS
// SPECIFICATIONS AND HEADER INFORMATION ARE LOCATED AT
// https://www.khronos.org/registry/
//
// THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
// MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
//
#ifndef SPIRV_UNIFIED1_NonSemanticDebugBreak_H_
#define SPIRV_UNIFIED1_NonSemanticDebugBreak_H_
#ifdef __cplusplus
extern "C" {
#endif
enum {
NonSemanticDebugBreakRevision = 1,
NonSemanticDebugBreakRevision_BitWidthPadding = 0x7fffffff
};
enum NonSemanticDebugBreakInstructions {
NonSemanticDebugBreakDebugBreak = 1,
NonSemanticDebugBreakInstructionsMax = 0x7fffffff
};
#ifdef __cplusplus
}
#endif
#endif // SPIRV_UNIFIED1_NonSemanticDebugBreak_H_

View File

@ -0,0 +1,9 @@
{
"revision" : 1,
"instructions" : [
{
"opname" : "DebugBreak",
"opcode" : 1
}
]
}

View File

@ -4751,7 +4751,6 @@
{ "kind" : "IdScope", "name" : "'Scope'" } { "kind" : "IdScope", "name" : "'Scope'" }
], ],
"capabilities" : [ "ShaderClockKHR" ], "capabilities" : [ "ShaderClockKHR" ],
"extensions" : [ "SPV_KHR_shader_clock" ],
"version" : "None" "version" : "None"
}, },
{ {
@ -12517,6 +12516,78 @@
"value" : 6140, "value" : 6140,
"capabilities" : [ "VectorComputeINTEL" ], "capabilities" : [ "VectorComputeINTEL" ],
"version" : "None" "version" : "None"
},
{
"enumerant" : "ConduitKernelArgumentINTEL",
"value" : 6175,
"capabilities" : [ "FPGAArgumentInterfacesINTEL" ],
"version" : "None"
},
{
"enumerant" : "RegisterMapKernelArgumentINTEL",
"value" : 6176,
"capabilities" : [ "FPGAArgumentInterfacesINTEL" ],
"version" : "None"
},
{
"enumerant" : "MMHostInterfaceAddressWidthINTEL",
"value" : 6177,
"capabilities" : [ "FPGAArgumentInterfacesINTEL" ],
"parameters" : [
{ "kind" : "LiteralInteger", "name" : "'AddressWidth'" }
],
"version" : "None"
},
{
"enumerant" : "MMHostInterfaceDataWidthINTEL",
"value" : 6178,
"capabilities" : [ "FPGAArgumentInterfacesINTEL" ],
"parameters" : [
{ "kind" : "LiteralInteger", "name" : "'DataWidth'" }
],
"version" : "None"
},
{
"enumerant" : "MMHostInterfaceLatencyINTEL",
"value" : 6179,
"capabilities" : [ "FPGAArgumentInterfacesINTEL" ],
"parameters" : [
{ "kind" : "LiteralInteger", "name" : "'Latency'" }
],
"version" : "None"
},
{
"enumerant" : "MMHostInterfaceReadWriteModeINTEL",
"value" : 6180,
"capabilities" : [ "FPGAArgumentInterfacesINTEL" ],
"parameters" : [
{ "kind" : "AccessQualifier", "name" : "'ReadWriteMode'" }
],
"version" : "None"
},
{
"enumerant" : "MMHostInterfaceMaxBurstINTEL",
"value" : 6181,
"capabilities" : [ "FPGAArgumentInterfacesINTEL" ],
"parameters" : [
{ "kind" : "LiteralInteger", "name" : "'MaxBurstCount'" }
],
"version" : "None"
},
{
"enumerant" : "MMHostInterfaceWaitRequestINTEL",
"value" : 6182,
"capabilities" : [ "FPGAArgumentInterfacesINTEL" ],
"parameters" : [
{ "kind" : "LiteralInteger", "name" : "'Waitrequest'" }
],
"version" : "None"
},
{
"enumerant" : "StableKernelArgumentINTEL",
"value" : 6183,
"capabilities" : [ "FPGAArgumentInterfacesINTEL" ],
"version" : "None"
} }
] ]
}, },
@ -14056,7 +14127,6 @@
{ {
"enumerant" : "ShaderClockKHR", "enumerant" : "ShaderClockKHR",
"value" : 5055, "value" : 5055,
"capabilities" : [ "Shader" ],
"extensions" : [ "SPV_KHR_shader_clock" ], "extensions" : [ "SPV_KHR_shader_clock" ],
"version" : "None" "version" : "None"
}, },
@ -14823,6 +14893,12 @@
"extensions" : [ "SPV_INTEL_split_barrier" ], "extensions" : [ "SPV_INTEL_split_barrier" ],
"version" : "None" "version" : "None"
}, },
{
"enumerant" : "FPGAArgumentInterfacesINTEL",
"value" : 6174,
"extensions" : [ "SPV_INTEL_fpga_argument_interfaces" ],
"version" : "None"
},
{ {
"enumerant" : "GroupUniformArithmeticKHR", "enumerant" : "GroupUniformArithmeticKHR",
"value" : 6400, "value" : 6400,

View File

@ -580,6 +580,15 @@ typedef enum SpvDecoration_ {
SpvDecorationSingleElementVectorINTEL = 6085, SpvDecorationSingleElementVectorINTEL = 6085,
SpvDecorationVectorComputeCallableFunctionINTEL = 6087, SpvDecorationVectorComputeCallableFunctionINTEL = 6087,
SpvDecorationMediaBlockIOINTEL = 6140, SpvDecorationMediaBlockIOINTEL = 6140,
SpvDecorationConduitKernelArgumentINTEL = 6175,
SpvDecorationRegisterMapKernelArgumentINTEL = 6176,
SpvDecorationMMHostInterfaceAddressWidthINTEL = 6177,
SpvDecorationMMHostInterfaceDataWidthINTEL = 6178,
SpvDecorationMMHostInterfaceLatencyINTEL = 6179,
SpvDecorationMMHostInterfaceReadWriteModeINTEL = 6180,
SpvDecorationMMHostInterfaceMaxBurstINTEL = 6181,
SpvDecorationMMHostInterfaceWaitRequestINTEL = 6182,
SpvDecorationStableKernelArgumentINTEL = 6183,
SpvDecorationMax = 0x7fffffff, SpvDecorationMax = 0x7fffffff,
} SpvDecoration; } SpvDecoration;
@ -1137,6 +1146,7 @@ typedef enum SpvCapability_ {
SpvCapabilityAtomicFloat16AddEXT = 6095, SpvCapabilityAtomicFloat16AddEXT = 6095,
SpvCapabilityDebugInfoModuleINTEL = 6114, SpvCapabilityDebugInfoModuleINTEL = 6114,
SpvCapabilitySplitBarrierINTEL = 6141, SpvCapabilitySplitBarrierINTEL = 6141,
SpvCapabilityFPGAArgumentInterfacesINTEL = 6174,
SpvCapabilityGroupUniformArithmeticKHR = 6400, SpvCapabilityGroupUniformArithmeticKHR = 6400,
SpvCapabilityMax = 0x7fffffff, SpvCapabilityMax = 0x7fffffff,
} SpvCapability; } SpvCapability;

View File

@ -576,6 +576,15 @@ enum class Decoration : unsigned {
SingleElementVectorINTEL = 6085, SingleElementVectorINTEL = 6085,
VectorComputeCallableFunctionINTEL = 6087, VectorComputeCallableFunctionINTEL = 6087,
MediaBlockIOINTEL = 6140, MediaBlockIOINTEL = 6140,
ConduitKernelArgumentINTEL = 6175,
RegisterMapKernelArgumentINTEL = 6176,
MMHostInterfaceAddressWidthINTEL = 6177,
MMHostInterfaceDataWidthINTEL = 6178,
MMHostInterfaceLatencyINTEL = 6179,
MMHostInterfaceReadWriteModeINTEL = 6180,
MMHostInterfaceMaxBurstINTEL = 6181,
MMHostInterfaceWaitRequestINTEL = 6182,
StableKernelArgumentINTEL = 6183,
Max = 0x7fffffff, Max = 0x7fffffff,
}; };
@ -1133,6 +1142,7 @@ enum class Capability : unsigned {
AtomicFloat16AddEXT = 6095, AtomicFloat16AddEXT = 6095,
DebugInfoModuleINTEL = 6114, DebugInfoModuleINTEL = 6114,
SplitBarrierINTEL = 6141, SplitBarrierINTEL = 6141,
FPGAArgumentInterfacesINTEL = 6174,
GroupUniformArithmeticKHR = 6400, GroupUniformArithmeticKHR = 6400,
Max = 0x7fffffff, Max = 0x7fffffff,
}; };

View File

@ -601,7 +601,16 @@
"FunctionFloatingPointModeINTEL": 6080, "FunctionFloatingPointModeINTEL": 6080,
"SingleElementVectorINTEL": 6085, "SingleElementVectorINTEL": 6085,
"VectorComputeCallableFunctionINTEL": 6087, "VectorComputeCallableFunctionINTEL": 6087,
"MediaBlockIOINTEL": 6140 "MediaBlockIOINTEL": 6140,
"ConduitKernelArgumentINTEL": 6175,
"RegisterMapKernelArgumentINTEL": 6176,
"MMHostInterfaceAddressWidthINTEL": 6177,
"MMHostInterfaceDataWidthINTEL": 6178,
"MMHostInterfaceLatencyINTEL": 6179,
"MMHostInterfaceReadWriteModeINTEL": 6180,
"MMHostInterfaceMaxBurstINTEL": 6181,
"MMHostInterfaceWaitRequestINTEL": 6182,
"StableKernelArgumentINTEL": 6183
} }
}, },
{ {
@ -1113,6 +1122,7 @@
"AtomicFloat16AddEXT": 6095, "AtomicFloat16AddEXT": 6095,
"DebugInfoModuleINTEL": 6114, "DebugInfoModuleINTEL": 6114,
"SplitBarrierINTEL": 6141, "SplitBarrierINTEL": 6141,
"FPGAArgumentInterfacesINTEL": 6174,
"GroupUniformArithmeticKHR": 6400 "GroupUniformArithmeticKHR": 6400
} }
}, },