Skip to content

Commit f75fc98

Browse files
authored
Merge pull request KhronosGroup#268 from bashbaug/SPV_INTEL_split_barrier
update SPIR-V headers for SPV_INTEL_split_barrier
2 parents 24c841d + ed206e3 commit f75fc98

File tree

9 files changed

+62
-2
lines changed

9 files changed

+62
-2
lines changed

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8549,6 +8549,30 @@
85498549
],
85508550
"capabilities" : [ "LongConstantCompositeINTEL" ],
85518551
"version" : "None"
8552+
},
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"
85528576
}
85538577
],
85548578
"operand_kinds" : [
@@ -13881,6 +13905,12 @@
1388113905
"value" : 6114,
1388213906
"extensions" : [ "SPV_INTEL_debug_module" ],
1388313907
"version" : "None"
13908+
},
13909+
{
13910+
"enumerant" : "SplitBarrierINTEL",
13911+
"value" : 6141,
13912+
"extensions" : [ "SPV_INTEL_split_barrier" ],
13913+
"version" : "None"
1388413914
}
1388513915
]
1388613916
},

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
}
10911092

10921093
public enum RayFlagsShift
@@ -1851,6 +1852,8 @@ public enum Op
18511852
OpTypeStructContinuedINTEL = 6090,
18521853
OpConstantCompositeContinuedINTEL = 6091,
18531854
OpSpecConstantCompositeContinuedINTEL = 6092,
1855+
OpControlBarrierArriveINTEL = 6142,
1856+
OpControlBarrierWaitINTEL = 6143,
18541857
}
18551858
}
18561859
}

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
SpvCapabilityMax = 0x7fffffff,
10911092
} SpvCapability;
10921093

@@ -1849,6 +1850,8 @@ typedef enum SpvOp_ {
18491850
SpvOpTypeStructContinuedINTEL = 6090,
18501851
SpvOpConstantCompositeContinuedINTEL = 6091,
18511852
SpvOpSpecConstantCompositeContinuedINTEL = 6092,
1853+
SpvOpControlBarrierArriveINTEL = 6142,
1854+
SpvOpControlBarrierWaitINTEL = 6143,
18521855
SpvOpMax = 0x7fffffff,
18531856
} SpvOp;
18541857

@@ -2503,6 +2506,8 @@ inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultTy
25032506
case SpvOpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break;
25042507
case SpvOpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
25052508
case SpvOpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2509+
case SpvOpControlBarrierArriveINTEL: *hasResult = false; *hasResultType = false; break;
2510+
case SpvOpControlBarrierWaitINTEL: *hasResult = false; *hasResultType = false; break;
25062511
}
25072512
}
25082513
#endif /* SPV_ENABLE_UTILITY_CODE */

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
CapabilityMax = 0x7fffffff,
10871088
};
10881089

@@ -1845,6 +1846,8 @@ enum Op {
18451846
OpTypeStructContinuedINTEL = 6090,
18461847
OpConstantCompositeContinuedINTEL = 6091,
18471848
OpSpecConstantCompositeContinuedINTEL = 6092,
1849+
OpControlBarrierArriveINTEL = 6142,
1850+
OpControlBarrierWaitINTEL = 6143,
18481851
OpMax = 0x7fffffff,
18491852
};
18501853

@@ -2499,6 +2502,8 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
24992502
case OpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break;
25002503
case OpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
25012504
case OpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2505+
case OpControlBarrierArriveINTEL: *hasResult = false; *hasResultType = false; break;
2506+
case OpControlBarrierWaitINTEL: *hasResult = false; *hasResultType = false; break;
25022507
}
25032508
}
25042509
#endif /* SPV_ENABLE_UTILITY_CODE */

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
Max = 0x7fffffff,
10871088
};
10881089

@@ -1845,6 +1846,8 @@ enum class Op : unsigned {
18451846
OpTypeStructContinuedINTEL = 6090,
18461847
OpConstantCompositeContinuedINTEL = 6091,
18471848
OpSpecConstantCompositeContinuedINTEL = 6092,
1849+
OpControlBarrierArriveINTEL = 6142,
1850+
OpControlBarrierWaitINTEL = 6143,
18481851
Max = 0x7fffffff,
18491852
};
18501853

@@ -2499,6 +2502,8 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
24992502
case Op::OpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break;
25002503
case Op::OpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
25012504
case Op::OpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break;
2505+
case Op::OpControlBarrierArriveINTEL: *hasResult = false; *hasResultType = false; break;
2506+
case Op::OpControlBarrierWaitINTEL: *hasResult = false; *hasResultType = false; break;
25022507
}
25032508
}
25042509
#endif /* SPV_ENABLE_UTILITY_CODE */

include/spirv/unified1/spirv.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,8 @@
10641064
"LongConstantCompositeINTEL": 6089,
10651065
"OptNoneINTEL": 6094,
10661066
"AtomicFloat16AddEXT": 6095,
1067-
"DebugInfoModuleINTEL": 6114
1067+
"DebugInfoModuleINTEL": 6114,
1068+
"SplitBarrierINTEL": 6141
10681069
}
10691070
},
10701071
{
@@ -1837,7 +1838,9 @@
18371838
"OpTypeBufferSurfaceINTEL": 6086,
18381839
"OpTypeStructContinuedINTEL": 6090,
18391840
"OpConstantCompositeContinuedINTEL": 6091,
1840-
"OpSpecConstantCompositeContinuedINTEL": 6092
1841+
"OpSpecConstantCompositeContinuedINTEL": 6092,
1842+
"OpControlBarrierArriveINTEL": 6142,
1843+
"OpControlBarrierWaitINTEL": 6143
18411844
}
18421845
}
18431846
]

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
},
10491050

10501051
RayFlagsShift = {
@@ -1796,6 +1797,8 @@ spv = {
17961797
OpTypeStructContinuedINTEL = 6090,
17971798
OpConstantCompositeContinuedINTEL = 6091,
17981799
OpSpecConstantCompositeContinuedINTEL = 6092,
1800+
OpControlBarrierArriveINTEL = 6142,
1801+
OpControlBarrierWaitINTEL = 6143,
17991802
},
18001803

18011804
}

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
},
10491050

10501051
'RayFlagsShift' : {
@@ -1796,6 +1797,8 @@
17961797
'OpTypeStructContinuedINTEL' : 6090,
17971798
'OpConstantCompositeContinuedINTEL' : 6091,
17981799
'OpSpecConstantCompositeContinuedINTEL' : 6092,
1800+
'OpControlBarrierArriveINTEL' : 6142,
1801+
'OpControlBarrierWaitINTEL' : 6143,
17991802
},
18001803

18011804
}

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
}
10941095

10951096
enum RayFlagsShift : uint
@@ -1854,6 +1855,8 @@ enum Op : uint
18541855
OpTypeStructContinuedINTEL = 6090,
18551856
OpConstantCompositeContinuedINTEL = 6091,
18561857
OpSpecConstantCompositeContinuedINTEL = 6092,
1858+
OpControlBarrierArriveINTEL = 6142,
1859+
OpControlBarrierWaitINTEL = 6143,
18571860
}
18581861

18591862

0 commit comments

Comments
 (0)