Skip to content

Commit 9ceae6a

Browse files
Firestar99LegNeato
authored andcommitted
subgroup cluster ops: put ClusterSize in markdown codeblock
1 parent 0080c43 commit 9ceae6a

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

crates/spirv-std/src/arch/subgroup.rs

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -844,11 +844,11 @@ Result Type must be a scalar or vector of integer type.
844844
845845
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
846846
847-
The identity I for Operation is 0. If Operation is ClusteredReduce, ClusterSize must be present.
847+
The identity I for Operation is 0. If Operation is ClusteredReduce, `ClusterSize` must be present.
848848
849849
The type of `value` must be the same as Result Type.
850850
851-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
851+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
852852
853853
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
854854
@@ -875,11 +875,11 @@ Result Type must be a scalar or vector of floating-point type.
875875
876876
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
877877
878-
The identity I for Operation is 0. If Operation is ClusteredReduce, ClusterSize must be present.
878+
The identity I for Operation is 0. If Operation is ClusteredReduce, `ClusterSize` must be present.
879879
880880
The type of `value` must be the same as Result Type. The method used to perform the group operation on the contributed Value(s) from active invocations is implementation defined.
881881
882-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
882+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
883883
884884
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
885885
@@ -908,11 +908,11 @@ Result Type must be a scalar or vector of integer type.
908908
909909
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
910910
911-
The identity I for Operation is 1. If Operation is ClusteredReduce, ClusterSize must be present.
911+
The identity I for Operation is 1. If Operation is ClusteredReduce, `ClusterSize` must be present.
912912
913913
The type of `value` must be the same as Result Type.
914914
915-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
915+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
916916
917917
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
918918
@@ -939,11 +939,11 @@ Result Type must be a scalar or vector of floating-point type.
939939
940940
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
941941
942-
The identity I for Operation is 1. If Operation is ClusteredReduce, ClusterSize must be present.
942+
The identity I for Operation is 1. If Operation is ClusteredReduce, `ClusterSize` must be present.
943943
944944
The type of `value` must be the same as Result Type. The method used to perform the group operation on the contributed Value(s) from active invocations is implementation defined.
945945
946-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
946+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
947947
948948
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
949949
@@ -972,11 +972,11 @@ Result Type must be a scalar or vector of integer type.
972972
973973
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
974974
975-
The identity I for Operation is INT_MAX. If Operation is ClusteredReduce, ClusterSize must be present.
975+
The identity I for Operation is INT_MAX. If Operation is ClusteredReduce, `ClusterSize` must be present.
976976
977977
The type of `value` must be the same as Result Type.
978978
979-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
979+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
980980
981981
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
982982
@@ -1003,11 +1003,11 @@ Result Type must be a scalar or vector of integer type, whose Signedness operand
10031003
10041004
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
10051005
1006-
The identity I for Operation is UINT_MAX. If Operation is ClusteredReduce, ClusterSize must be present.
1006+
The identity I for Operation is UINT_MAX. If Operation is ClusteredReduce, `ClusterSize` must be present.
10071007
10081008
The type of `value` must be the same as Result Type.
10091009
1010-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
1010+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
10111011
10121012
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
10131013
@@ -1034,11 +1034,11 @@ Result Type must be a scalar or vector of floating-point type.
10341034
10351035
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
10361036
1037-
The identity I for Operation is +INF. If Operation is ClusteredReduce, ClusterSize must be present.
1037+
The identity I for Operation is +INF. If Operation is ClusteredReduce, `ClusterSize` must be present.
10381038
10391039
The type of `value` must be the same as Result Type. The method used to perform the group operation on the contributed Value(s) from active invocations is implementation defined. From the set of Value(s) provided by active invocations within a subgroup, if for any two Values one of them is a NaN, the other is chosen. If all Value(s) that are used by the current invocation are NaN, then the result is an undefined value.
10401040
1041-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
1041+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
10421042
10431043
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
10441044
@@ -1067,11 +1067,11 @@ Result Type must be a scalar or vector of integer type.
10671067
10681068
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
10691069
1070-
The identity I for Operation is INT_MIN. If Operation is ClusteredReduce, ClusterSize must be present.
1070+
The identity I for Operation is INT_MIN. If Operation is ClusteredReduce, `ClusterSize` must be present.
10711071
10721072
The type of `value` must be the same as Result Type.
10731073
1074-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
1074+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
10751075
10761076
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
10771077
@@ -1098,11 +1098,11 @@ Result Type must be a scalar or vector of integer type, whose Signedness operand
10981098
10991099
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
11001100
1101-
The identity I for Operation is 0. If Operation is ClusteredReduce, ClusterSize must be present.
1101+
The identity I for Operation is 0. If Operation is ClusteredReduce, `ClusterSize` must be present.
11021102
11031103
The type of `value` must be the same as Result Type.
11041104
1105-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
1105+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
11061106
11071107
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
11081108
@@ -1160,11 +1160,11 @@ Result Type must be a scalar or vector of integer type.
11601160
11611161
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
11621162
1163-
The identity I for Operation is ~0. If Operation is ClusteredReduce, ClusterSize must be present.
1163+
The identity I for Operation is ~0. If Operation is ClusteredReduce, `ClusterSize` must be present.
11641164
11651165
The type of `value` must be the same as Result Type.
11661166
1167-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
1167+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
11681168
11691169
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
11701170
@@ -1193,11 +1193,11 @@ Result Type must be a scalar or vector of integer type.
11931193
11941194
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
11951195
1196-
The identity I for Operation is 0. If Operation is ClusteredReduce, ClusterSize must be present.
1196+
The identity I for Operation is 0. If Operation is ClusteredReduce, `ClusterSize` must be present.
11971197
11981198
The type of `value` must be the same as Result Type.
11991199
1200-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
1200+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
12011201
12021202
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
12031203
@@ -1226,11 +1226,11 @@ Result Type must be a scalar or vector of integer type.
12261226
12271227
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
12281228
1229-
The identity I for Operation is 0. If Operation is ClusteredReduce, ClusterSize must be present.
1229+
The identity I for Operation is 0. If Operation is ClusteredReduce, `ClusterSize` must be present.
12301230
12311231
The type of `value` must be the same as Result Type.
12321232
1233-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
1233+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
12341234
12351235
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
12361236
@@ -1259,11 +1259,11 @@ Result Type must be a scalar or vector of Boolean type.
12591259
12601260
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
12611261
1262-
The identity I for Operation is ~0. If Operation is ClusteredReduce, ClusterSize must be present.
1262+
The identity I for Operation is ~0. If Operation is ClusteredReduce, `ClusterSize` must be present.
12631263
12641264
The type of `value` must be the same as Result Type.
12651265
1266-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
1266+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
12671267
12681268
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
12691269
@@ -1292,11 +1292,11 @@ Result Type must be a scalar or vector of Boolean type.
12921292
12931293
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
12941294
1295-
The identity I for Operation is 0. If Operation is ClusteredReduce, ClusterSize must be present.
1295+
The identity I for Operation is 0. If Operation is ClusteredReduce, `ClusterSize` must be present.
12961296
12971297
The type of `value` must be the same as Result Type.
12981298
1299-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
1299+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
13001300
13011301
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
13021302
@@ -1325,11 +1325,11 @@ Result Type must be a scalar or vector of Boolean type.
13251325
13261326
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
13271327
1328-
The identity I for Operation is 0. If Operation is ClusteredReduce, ClusterSize must be present.
1328+
The identity I for Operation is 0. If Operation is ClusteredReduce, `ClusterSize` must be present.
13291329
13301330
The type of `value` must be the same as Result Type.
13311331
1332-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
1332+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
13331333
13341334
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
13351335

0 commit comments

Comments
 (0)