Skip to content

Commit 48fadab

Browse files
committed
Merge branch 'master' of https://github.com/KhronosGroup/SPIRV-Headers into uniform_group_instructions
2 parents a4a03f6 + f75fc98 commit 48fadab

File tree

10 files changed

+63
-2
lines changed

10 files changed

+63
-2
lines changed

include/spirv/spir-v.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,13 +166,14 @@
166166
<ids type="enumerant" start="6144" end="6271" vendor="Intel" comment="Contact [email protected]"/>
167167
<ids type="enumerant" start="6272" end="6399" vendor="Huawei" comment="Contact [email protected]"/>
168168
<ids type="enumerant" start="6400" end="6463" vendor="Intel" comment="Contact [email protected]"/>
169+
<ids type="enumerant" start="6464" end="6527" vendor="Mikkosoft Productions" comment="Contact Mikko Rasa, [email protected]"/>
169170
<!-- Enumerants to reserve for future use. To get a block, allocate
170171
multiples of 64 starting at the lowest available point in this
171172
block and add a corresponding <ids> tag immediately above. Make
172173
sure to fill in the vendor attribute, and preferably add a contact
173174
person/address in a comment attribute. -->
174175
<!-- Example new block: <ids type="enumerant" start="XXXX" end="XXXX+64n-1" vendor="Add vendor" comment="Contact TBD"/> -->
175-
<ids type="enumerant" start="6464" end="4294967295" comment="Enumerant range reservable for future use by vendors"/>
176+
<ids type="enumerant" start="6528" end="4294967295" comment="Enumerant range reservable for future use by vendors"/>
176177
<!-- End reservations of enumerants -->
177178

178179

include/spirv/unified1/spirv.core.grammar.json

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5029,7 +5029,7 @@
50295029
"opname" : "OpDemoteToHelperInvocationEXT",
50305030
"class" : "Control-Flow",
50315031
"opcode" : 5380,
5032-
"capabilities" : [ "DemoteToHelperInvocation" ],
5032+
"capabilities" : [ "DemoteToHelperInvocationEXT" ],
50335033
"version" : "1.6"
50345034
},
50355035
{
@@ -8550,6 +8550,30 @@
85508550
"capabilities" : [ "LongConstantCompositeINTEL" ],
85518551
"version" : "None"
85528552
},
8553+
{
8554+
"opname" : "OpControlBarrierArriveINTEL",
8555+
"class" : "Barrier",
8556+
"opcode" : 6142,
8557+
"operands" : [
8558+
{ "kind" : "IdScope", "name" : "'Execution'" },
8559+
{ "kind" : "IdScope", "name" : "'Memory'" },
8560+
{ "kind" : "IdMemorySemantics", "name" : "'Semantics'" }
8561+
],
8562+
"capabilities" : [ "SplitBarrierINTEL" ],
8563+
"version" : "None"
8564+
},
8565+
{
8566+
"opname" : "OpControlBarrierWaitINTEL",
8567+
"class" : "Barrier",
8568+
"opcode" : 6143,
8569+
"operands" : [
8570+
{ "kind" : "IdScope", "name" : "'Execution'" },
8571+
{ "kind" : "IdScope", "name" : "'Memory'" },
8572+
{ "kind" : "IdMemorySemantics", "name" : "'Semantics'" }
8573+
],
8574+
"capabilities" : [ "SplitBarrierINTEL" ],
8575+
"version" : "None"
8576+
},
85538577
{
85548578
"opname" : "OpGroupIMulKHR",
85558579
"class" : "Group",
@@ -14002,6 +14026,12 @@
1400214026
"extensions" : [ "SPV_INTEL_debug_module" ],
1400314027
"version" : "None"
1400414028
},
14029+
{
14030+
"enumerant" : "SplitBarrierINTEL",
14031+
"value" : 6141,
14032+
"extensions" : [ "SPV_INTEL_split_barrier" ],
14033+
"version" : "None"
14034+
},
1400514035
{
1400614036
"enumerant" : "GroupUniformArithmeticKHR",
1400714037
"value" : 6400,

include/spirv/unified1/spirv.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,6 +1087,7 @@ public enum Capability
10871087
OptNoneINTEL = 6094,
10881088
AtomicFloat16AddEXT = 6095,
10891089
DebugInfoModuleINTEL = 6114,
1090+
SplitBarrierINTEL = 6141,
10901091
GroupUniformArithmeticKHR = 6400,
10911092
}
10921093

@@ -1852,6 +1853,8 @@ public enum Op
18521853
OpTypeStructContinuedINTEL = 6090,
18531854
OpConstantCompositeContinuedINTEL = 6091,
18541855
OpSpecConstantCompositeContinuedINTEL = 6092,
1856+
OpControlBarrierArriveINTEL = 6142,
1857+
OpControlBarrierWaitINTEL = 6143,
18551858
OpGroupIMulKHR = 6401,
18561859
OpGroupFMulKHR = 6402,
18571860
OpGroupBitwiseAndKHR = 6403,

include/spirv/unified1/spirv.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,6 +1087,7 @@ typedef enum SpvCapability_ {
10871087
SpvCapabilityOptNoneINTEL = 6094,
10881088
SpvCapabilityAtomicFloat16AddEXT = 6095,
10891089
SpvCapabilityDebugInfoModuleINTEL = 6114,
1090+
SpvCapabilitySplitBarrierINTEL = 6141,
10901091
SpvCapabilityGroupUniformArithmeticKHR = 6400,
10911092
SpvCapabilityMax = 0x7fffffff,
10921093
} SpvCapability;
@@ -1850,6 +1851,8 @@ typedef enum SpvOp_ {
18501851
SpvOpTypeStructContinuedINTEL = 6090,
18511852
SpvOpConstantCompositeContinuedINTEL = 6091,
18521853
SpvOpSpecConstantCompositeContinuedINTEL = 6092,
1854+
SpvOpControlBarrierArriveINTEL = 6142,
1855+
SpvOpControlBarrierWaitINTEL = 6143,
18531856
SpvOpGroupIMulKHR = 6401,
18541857
SpvOpGroupFMulKHR = 6402,
18551858
SpvOpGroupBitwiseAndKHR = 6403,
@@ -2512,6 +2515,8 @@ inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultTy
25122515
case SpvOpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break;
25132516
case SpvOpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
25142517
case SpvOpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2518+
case SpvOpControlBarrierArriveINTEL: *hasResult = false; *hasResultType = false; break;
2519+
case SpvOpControlBarrierWaitINTEL: *hasResult = false; *hasResultType = false; break;
25152520
case SpvOpGroupIMulKHR: *hasResult = true; *hasResultType = true; break;
25162521
case SpvOpGroupFMulKHR: *hasResult = true; *hasResultType = true; break;
25172522
case SpvOpGroupBitwiseAndKHR: *hasResult = true; *hasResultType = true; break;

include/spirv/unified1/spirv.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,6 +1083,7 @@ enum Capability {
10831083
CapabilityOptNoneINTEL = 6094,
10841084
CapabilityAtomicFloat16AddEXT = 6095,
10851085
CapabilityDebugInfoModuleINTEL = 6114,
1086+
CapabilitySplitBarrierINTEL = 6141,
10861087
CapabilityGroupUniformArithmeticKHR = 6400,
10871088
CapabilityMax = 0x7fffffff,
10881089
};
@@ -1846,6 +1847,8 @@ enum Op {
18461847
OpTypeStructContinuedINTEL = 6090,
18471848
OpConstantCompositeContinuedINTEL = 6091,
18481849
OpSpecConstantCompositeContinuedINTEL = 6092,
1850+
OpControlBarrierArriveINTEL = 6142,
1851+
OpControlBarrierWaitINTEL = 6143,
18491852
OpGroupIMulKHR = 6401,
18501853
OpGroupFMulKHR = 6402,
18511854
OpGroupBitwiseAndKHR = 6403,
@@ -2508,6 +2511,8 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
25082511
case OpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break;
25092512
case OpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
25102513
case OpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2514+
case OpControlBarrierArriveINTEL: *hasResult = false; *hasResultType = false; break;
2515+
case OpControlBarrierWaitINTEL: *hasResult = false; *hasResultType = false; break;
25112516
case OpGroupIMulKHR: *hasResult = true; *hasResultType = true; break;
25122517
case OpGroupFMulKHR: *hasResult = true; *hasResultType = true; break;
25132518
case OpGroupBitwiseAndKHR: *hasResult = true; *hasResultType = true; break;

include/spirv/unified1/spirv.hpp11

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,6 +1083,7 @@ enum class Capability : unsigned {
10831083
OptNoneINTEL = 6094,
10841084
AtomicFloat16AddEXT = 6095,
10851085
DebugInfoModuleINTEL = 6114,
1086+
SplitBarrierINTEL = 6141,
10861087
GroupUniformArithmeticKHR = 6400,
10871088
Max = 0x7fffffff,
10881089
};
@@ -1846,6 +1847,8 @@ enum class Op : unsigned {
18461847
OpTypeStructContinuedINTEL = 6090,
18471848
OpConstantCompositeContinuedINTEL = 6091,
18481849
OpSpecConstantCompositeContinuedINTEL = 6092,
1850+
OpControlBarrierArriveINTEL = 6142,
1851+
OpControlBarrierWaitINTEL = 6143,
18491852
OpGroupIMulKHR = 6401,
18501853
OpGroupFMulKHR = 6402,
18511854
OpGroupBitwiseAndKHR = 6403,
@@ -2508,6 +2511,8 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
25082511
case Op::OpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break;
25092512
case Op::OpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
25102513
case Op::OpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2514+
case Op::OpControlBarrierArriveINTEL: *hasResult = false; *hasResultType = false; break;
2515+
case Op::OpControlBarrierWaitINTEL: *hasResult = false; *hasResultType = false; break;
25112516
case Op::OpGroupIMulKHR: *hasResult = true; *hasResultType = true; break;
25122517
case Op::OpGroupFMulKHR: *hasResult = true; *hasResultType = true; break;
25132518
case Op::OpGroupBitwiseAndKHR: *hasResult = true; *hasResultType = true; break;

include/spirv/unified1/spirv.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,6 +1065,7 @@
10651065
"OptNoneINTEL": 6094,
10661066
"AtomicFloat16AddEXT": 6095,
10671067
"DebugInfoModuleINTEL": 6114,
1068+
"SplitBarrierINTEL": 6141,
10681069
"GroupUniformArithmeticKHR": 6400
10691070
}
10701071
},
@@ -1839,6 +1840,8 @@
18391840
"OpTypeStructContinuedINTEL": 6090,
18401841
"OpConstantCompositeContinuedINTEL": 6091,
18411842
"OpSpecConstantCompositeContinuedINTEL": 6092,
1843+
"OpControlBarrierArriveINTEL": 6142,
1844+
"OpControlBarrierWaitINTEL": 6143,
18421845
"OpGroupIMulKHR": 6401,
18431846
"OpGroupFMulKHR": 6402,
18441847
"OpGroupBitwiseAndKHR": 6403,

include/spirv/unified1/spirv.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,7 @@ spv = {
10451045
OptNoneINTEL = 6094,
10461046
AtomicFloat16AddEXT = 6095,
10471047
DebugInfoModuleINTEL = 6114,
1048+
SplitBarrierINTEL = 6141,
10481049
GroupUniformArithmeticKHR = 6400,
10491050
},
10501051

@@ -1797,6 +1798,8 @@ spv = {
17971798
OpTypeStructContinuedINTEL = 6090,
17981799
OpConstantCompositeContinuedINTEL = 6091,
17991800
OpSpecConstantCompositeContinuedINTEL = 6092,
1801+
OpControlBarrierArriveINTEL = 6142,
1802+
OpControlBarrierWaitINTEL = 6143,
18001803
OpGroupIMulKHR = 6401,
18011804
OpGroupFMulKHR = 6402,
18021805
OpGroupBitwiseAndKHR = 6403,

include/spirv/unified1/spirv.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,7 @@
10451045
'OptNoneINTEL' : 6094,
10461046
'AtomicFloat16AddEXT' : 6095,
10471047
'DebugInfoModuleINTEL' : 6114,
1048+
'SplitBarrierINTEL' : 6141,
10481049
'GroupUniformArithmeticKHR' : 6400,
10491050
},
10501051

@@ -1797,6 +1798,8 @@
17971798
'OpTypeStructContinuedINTEL' : 6090,
17981799
'OpConstantCompositeContinuedINTEL' : 6091,
17991800
'OpSpecConstantCompositeContinuedINTEL' : 6092,
1801+
'OpControlBarrierArriveINTEL' : 6142,
1802+
'OpControlBarrierWaitINTEL' : 6143,
18001803
'OpGroupIMulKHR' : 6401,
18011804
'OpGroupFMulKHR' : 6402,
18021805
'OpGroupBitwiseAndKHR' : 6403,

include/spirv/unified1/spv.d

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,6 +1090,7 @@ enum Capability : uint
10901090
OptNoneINTEL = 6094,
10911091
AtomicFloat16AddEXT = 6095,
10921092
DebugInfoModuleINTEL = 6114,
1093+
SplitBarrierINTEL = 6141,
10931094
GroupUniformArithmeticKHR = 6400,
10941095
}
10951096

@@ -1855,6 +1856,8 @@ enum Op : uint
18551856
OpTypeStructContinuedINTEL = 6090,
18561857
OpConstantCompositeContinuedINTEL = 6091,
18571858
OpSpecConstantCompositeContinuedINTEL = 6092,
1859+
OpControlBarrierArriveINTEL = 6142,
1860+
OpControlBarrierWaitINTEL = 6143,
18581861
OpGroupIMulKHR = 6401,
18591862
OpGroupFMulKHR = 6402,
18601863
OpGroupBitwiseAndKHR = 6403,

0 commit comments

Comments
 (0)