mirror of https://github.com/bkaradzic/bgfx
Updated spirv-headers.
This commit is contained in:
parent
feba6931c0
commit
971f86f370
|
@ -166,13 +166,14 @@
|
|||
<ids type="enumerant" start="6144" end="6271" vendor="Intel" comment="Contact michael.kinsner@intel.com"/>
|
||||
<ids type="enumerant" start="6272" end="6399" vendor="Huawei" comment="Contact wanghuilong2@xunweitech.com"/>
|
||||
<ids type="enumerant" start="6400" end="6463" vendor="Intel" comment="Contact ben.ashbaugh@intel.com"/>
|
||||
<ids type="enumerant" start="6464" end="6527" vendor="Mikkosoft Productions" comment="Contact Mikko Rasa, tdb@tdb.fi"/>
|
||||
<!-- Enumerants to reserve for future use. To get a block, allocate
|
||||
multiples of 64 starting at the lowest available point in this
|
||||
block and add a corresponding <ids> tag immediately above. Make
|
||||
sure to fill in the vendor attribute, and preferably add a contact
|
||||
person/address in a comment attribute. -->
|
||||
<!-- Example new block: <ids type="enumerant" start="XXXX" end="XXXX+64n-1" vendor="Add vendor" comment="Contact TBD"/> -->
|
||||
<ids type="enumerant" start="6464" end="4294967295" comment="Enumerant range reservable for future use by vendors"/>
|
||||
<ids type="enumerant" start="6528" end="4294967295" comment="Enumerant range reservable for future use by vendors"/>
|
||||
<!-- End reservations of enumerants -->
|
||||
|
||||
|
||||
|
|
|
@ -5029,7 +5029,7 @@
|
|||
"opname" : "OpDemoteToHelperInvocationEXT",
|
||||
"class" : "Control-Flow",
|
||||
"opcode" : 5380,
|
||||
"capabilities" : [ "DemoteToHelperInvocation" ],
|
||||
"capabilities" : [ "DemoteToHelperInvocationEXT" ],
|
||||
"version" : "1.6"
|
||||
},
|
||||
{
|
||||
|
@ -8549,6 +8549,30 @@
|
|||
],
|
||||
"capabilities" : [ "LongConstantCompositeINTEL" ],
|
||||
"version" : "None"
|
||||
},
|
||||
{
|
||||
"opname" : "OpControlBarrierArriveINTEL",
|
||||
"class" : "Barrier",
|
||||
"opcode" : 6142,
|
||||
"operands" : [
|
||||
{ "kind" : "IdScope", "name" : "'Execution'" },
|
||||
{ "kind" : "IdScope", "name" : "'Memory'" },
|
||||
{ "kind" : "IdMemorySemantics", "name" : "'Semantics'" }
|
||||
],
|
||||
"capabilities" : [ "SplitBarrierINTEL" ],
|
||||
"version" : "None"
|
||||
},
|
||||
{
|
||||
"opname" : "OpControlBarrierWaitINTEL",
|
||||
"class" : "Barrier",
|
||||
"opcode" : 6143,
|
||||
"operands" : [
|
||||
{ "kind" : "IdScope", "name" : "'Execution'" },
|
||||
{ "kind" : "IdScope", "name" : "'Memory'" },
|
||||
{ "kind" : "IdMemorySemantics", "name" : "'Semantics'" }
|
||||
],
|
||||
"capabilities" : [ "SplitBarrierINTEL" ],
|
||||
"version" : "None"
|
||||
}
|
||||
],
|
||||
"operand_kinds" : [
|
||||
|
@ -13881,6 +13905,12 @@
|
|||
"value" : 6114,
|
||||
"extensions" : [ "SPV_INTEL_debug_module" ],
|
||||
"version" : "None"
|
||||
},
|
||||
{
|
||||
"enumerant" : "SplitBarrierINTEL",
|
||||
"value" : 6141,
|
||||
"extensions" : [ "SPV_INTEL_split_barrier" ],
|
||||
"version" : "None"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
@ -1087,6 +1087,7 @@ namespace Spv
|
|||
OptNoneINTEL = 6094,
|
||||
AtomicFloat16AddEXT = 6095,
|
||||
DebugInfoModuleINTEL = 6114,
|
||||
SplitBarrierINTEL = 6141,
|
||||
}
|
||||
|
||||
public enum RayFlagsShift
|
||||
|
@ -1851,6 +1852,8 @@ namespace Spv
|
|||
OpTypeStructContinuedINTEL = 6090,
|
||||
OpConstantCompositeContinuedINTEL = 6091,
|
||||
OpSpecConstantCompositeContinuedINTEL = 6092,
|
||||
OpControlBarrierArriveINTEL = 6142,
|
||||
OpControlBarrierWaitINTEL = 6143,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1087,6 +1087,7 @@ typedef enum SpvCapability_ {
|
|||
SpvCapabilityOptNoneINTEL = 6094,
|
||||
SpvCapabilityAtomicFloat16AddEXT = 6095,
|
||||
SpvCapabilityDebugInfoModuleINTEL = 6114,
|
||||
SpvCapabilitySplitBarrierINTEL = 6141,
|
||||
SpvCapabilityMax = 0x7fffffff,
|
||||
} SpvCapability;
|
||||
|
||||
|
@ -1849,10 +1850,15 @@ typedef enum SpvOp_ {
|
|||
SpvOpTypeStructContinuedINTEL = 6090,
|
||||
SpvOpConstantCompositeContinuedINTEL = 6091,
|
||||
SpvOpSpecConstantCompositeContinuedINTEL = 6092,
|
||||
SpvOpControlBarrierArriveINTEL = 6142,
|
||||
SpvOpControlBarrierWaitINTEL = 6143,
|
||||
SpvOpMax = 0x7fffffff,
|
||||
} SpvOp;
|
||||
|
||||
#ifdef SPV_ENABLE_UTILITY_CODE
|
||||
#ifndef __cplusplus
|
||||
#include <stdbool.h>
|
||||
#endif
|
||||
inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultType) {
|
||||
*hasResult = *hasResultType = false;
|
||||
switch (opcode) {
|
||||
|
@ -2503,6 +2509,8 @@ inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultTy
|
|||
case SpvOpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break;
|
||||
case SpvOpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
|
||||
case SpvOpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
|
||||
case SpvOpControlBarrierArriveINTEL: *hasResult = false; *hasResultType = false; break;
|
||||
case SpvOpControlBarrierWaitINTEL: *hasResult = false; *hasResultType = false; break;
|
||||
}
|
||||
}
|
||||
#endif /* SPV_ENABLE_UTILITY_CODE */
|
||||
|
|
|
@ -1083,6 +1083,7 @@ enum Capability {
|
|||
CapabilityOptNoneINTEL = 6094,
|
||||
CapabilityAtomicFloat16AddEXT = 6095,
|
||||
CapabilityDebugInfoModuleINTEL = 6114,
|
||||
CapabilitySplitBarrierINTEL = 6141,
|
||||
CapabilityMax = 0x7fffffff,
|
||||
};
|
||||
|
||||
|
@ -1845,10 +1846,15 @@ enum Op {
|
|||
OpTypeStructContinuedINTEL = 6090,
|
||||
OpConstantCompositeContinuedINTEL = 6091,
|
||||
OpSpecConstantCompositeContinuedINTEL = 6092,
|
||||
OpControlBarrierArriveINTEL = 6142,
|
||||
OpControlBarrierWaitINTEL = 6143,
|
||||
OpMax = 0x7fffffff,
|
||||
};
|
||||
|
||||
#ifdef SPV_ENABLE_UTILITY_CODE
|
||||
#ifndef __cplusplus
|
||||
#include <stdbool.h>
|
||||
#endif
|
||||
inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
|
||||
*hasResult = *hasResultType = false;
|
||||
switch (opcode) {
|
||||
|
@ -2499,6 +2505,8 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
|
|||
case OpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break;
|
||||
case OpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
|
||||
case OpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
|
||||
case OpControlBarrierArriveINTEL: *hasResult = false; *hasResultType = false; break;
|
||||
case OpControlBarrierWaitINTEL: *hasResult = false; *hasResultType = false; break;
|
||||
}
|
||||
}
|
||||
#endif /* SPV_ENABLE_UTILITY_CODE */
|
||||
|
|
|
@ -1083,6 +1083,7 @@ enum class Capability : unsigned {
|
|||
OptNoneINTEL = 6094,
|
||||
AtomicFloat16AddEXT = 6095,
|
||||
DebugInfoModuleINTEL = 6114,
|
||||
SplitBarrierINTEL = 6141,
|
||||
Max = 0x7fffffff,
|
||||
};
|
||||
|
||||
|
@ -1845,10 +1846,15 @@ enum class Op : unsigned {
|
|||
OpTypeStructContinuedINTEL = 6090,
|
||||
OpConstantCompositeContinuedINTEL = 6091,
|
||||
OpSpecConstantCompositeContinuedINTEL = 6092,
|
||||
OpControlBarrierArriveINTEL = 6142,
|
||||
OpControlBarrierWaitINTEL = 6143,
|
||||
Max = 0x7fffffff,
|
||||
};
|
||||
|
||||
#ifdef SPV_ENABLE_UTILITY_CODE
|
||||
#ifndef __cplusplus
|
||||
#include <stdbool.h>
|
||||
#endif
|
||||
inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
|
||||
*hasResult = *hasResultType = false;
|
||||
switch (opcode) {
|
||||
|
@ -2499,6 +2505,8 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
|
|||
case Op::OpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break;
|
||||
case Op::OpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
|
||||
case Op::OpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
|
||||
case Op::OpControlBarrierArriveINTEL: *hasResult = false; *hasResultType = false; break;
|
||||
case Op::OpControlBarrierWaitINTEL: *hasResult = false; *hasResultType = false; break;
|
||||
}
|
||||
}
|
||||
#endif /* SPV_ENABLE_UTILITY_CODE */
|
||||
|
|
|
@ -1064,7 +1064,8 @@
|
|||
"LongConstantCompositeINTEL": 6089,
|
||||
"OptNoneINTEL": 6094,
|
||||
"AtomicFloat16AddEXT": 6095,
|
||||
"DebugInfoModuleINTEL": 6114
|
||||
"DebugInfoModuleINTEL": 6114,
|
||||
"SplitBarrierINTEL": 6141
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -1837,7 +1838,9 @@
|
|||
"OpTypeBufferSurfaceINTEL": 6086,
|
||||
"OpTypeStructContinuedINTEL": 6090,
|
||||
"OpConstantCompositeContinuedINTEL": 6091,
|
||||
"OpSpecConstantCompositeContinuedINTEL": 6092
|
||||
"OpSpecConstantCompositeContinuedINTEL": 6092,
|
||||
"OpControlBarrierArriveINTEL": 6142,
|
||||
"OpControlBarrierWaitINTEL": 6143
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -1045,6 +1045,7 @@ spv = {
|
|||
OptNoneINTEL = 6094,
|
||||
AtomicFloat16AddEXT = 6095,
|
||||
DebugInfoModuleINTEL = 6114,
|
||||
SplitBarrierINTEL = 6141,
|
||||
},
|
||||
|
||||
RayFlagsShift = {
|
||||
|
@ -1796,6 +1797,8 @@ spv = {
|
|||
OpTypeStructContinuedINTEL = 6090,
|
||||
OpConstantCompositeContinuedINTEL = 6091,
|
||||
OpSpecConstantCompositeContinuedINTEL = 6092,
|
||||
OpControlBarrierArriveINTEL = 6142,
|
||||
OpControlBarrierWaitINTEL = 6143,
|
||||
},
|
||||
|
||||
}
|
||||
|
|
|
@ -1045,6 +1045,7 @@ spv = {
|
|||
'OptNoneINTEL' : 6094,
|
||||
'AtomicFloat16AddEXT' : 6095,
|
||||
'DebugInfoModuleINTEL' : 6114,
|
||||
'SplitBarrierINTEL' : 6141,
|
||||
},
|
||||
|
||||
'RayFlagsShift' : {
|
||||
|
@ -1796,6 +1797,8 @@ spv = {
|
|||
'OpTypeStructContinuedINTEL' : 6090,
|
||||
'OpConstantCompositeContinuedINTEL' : 6091,
|
||||
'OpSpecConstantCompositeContinuedINTEL' : 6092,
|
||||
'OpControlBarrierArriveINTEL' : 6142,
|
||||
'OpControlBarrierWaitINTEL' : 6143,
|
||||
},
|
||||
|
||||
}
|
||||
|
|
|
@ -1090,6 +1090,7 @@ enum Capability : uint
|
|||
OptNoneINTEL = 6094,
|
||||
AtomicFloat16AddEXT = 6095,
|
||||
DebugInfoModuleINTEL = 6114,
|
||||
SplitBarrierINTEL = 6141,
|
||||
}
|
||||
|
||||
enum RayFlagsShift : uint
|
||||
|
@ -1854,6 +1855,8 @@ enum Op : uint
|
|||
OpTypeStructContinuedINTEL = 6090,
|
||||
OpConstantCompositeContinuedINTEL = 6091,
|
||||
OpSpecConstantCompositeContinuedINTEL = 6092,
|
||||
OpControlBarrierArriveINTEL = 6142,
|
||||
OpControlBarrierWaitINTEL = 6143,
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue