Skip to content

Commit 0a7f626

Browse files
authored
SPV_EXT_long_vector (KhronosGroup#560)
1 parent e8f037b commit 0a7f626

10 files changed

Lines changed: 29 additions & 1 deletion

File tree

include/spirv/unified1/spirv.bf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,6 +1294,7 @@ namespace Spv
12941294
RawAccessChainsNV = 5414,
12951295
RayTracingSpheresGeometryNV = 5418,
12961296
RayTracingLinearSweptSpheresGeometryNV = 5419,
1297+
LongVectorEXT = 5425,
12971298
Shader64BitIndexingEXT = 5426,
12981299
CooperativeMatrixReductionsNV = 5430,
12991300
CooperativeMatrixConversionsNV = 5431,
@@ -2242,6 +2243,7 @@ namespace Spv
22422243
OpTypeHitObjectNV = 5281,
22432244
OpImageSampleFootprintNV = 5283,
22442245
OpTypeCooperativeVectorNV = 5288,
2246+
OpTypeVectorIdEXT = 5288,
22452247
OpCooperativeVectorMatrixMulNV = 5289,
22462248
OpCooperativeVectorOuterProductAccumulateNV = 5290,
22472249
OpCooperativeVectorReduceSumAccumulateNV = 5291,

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6171,12 +6171,13 @@
61716171
"opname" : "OpTypeCooperativeVectorNV",
61726172
"class" : "Type-Declaration",
61736173
"opcode" : 5288,
6174+
"aliases" : ["OpTypeVectorIdEXT"],
61746175
"operands" : [
61756176
{ "kind" : "IdResult" },
61766177
{ "kind" : "IdRef", "name" : "Component Type" },
61776178
{ "kind" : "IdRef", "name" : "Component Count" }
61786179
],
6179-
"capabilities" : [ "CooperativeVectorNV" ],
6180+
"capabilities" : [ "CooperativeVectorNV", "LongVectorEXT" ],
61806181
"version" : "None"
61816182
},
61826183
{
@@ -17826,6 +17827,12 @@
1782617827
"extensions" : [ "SPV_NV_linear_swept_spheres" ],
1782717828
"version" : "None"
1782817829
},
17830+
{
17831+
"enumerant" : "LongVectorEXT",
17832+
"value" : 5425,
17833+
"extensions" : [ "SPV_EXT_long_vector" ],
17834+
"version" : "None"
17835+
},
1782917836
{
1783017837
"enumerant" : "Shader64BitIndexingEXT",
1783117838
"value" : 5426,

include/spirv/unified1/spirv.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1293,6 +1293,7 @@ public enum Capability
12931293
RawAccessChainsNV = 5414,
12941294
RayTracingSpheresGeometryNV = 5418,
12951295
RayTracingLinearSweptSpheresGeometryNV = 5419,
1296+
LongVectorEXT = 5425,
12961297
Shader64BitIndexingEXT = 5426,
12971298
CooperativeMatrixReductionsNV = 5430,
12981299
CooperativeMatrixConversionsNV = 5431,
@@ -2241,6 +2242,7 @@ public enum Op
22412242
OpTypeHitObjectNV = 5281,
22422243
OpImageSampleFootprintNV = 5283,
22432244
OpTypeCooperativeVectorNV = 5288,
2245+
OpTypeVectorIdEXT = 5288,
22442246
OpCooperativeVectorMatrixMulNV = 5289,
22452247
OpCooperativeVectorOuterProductAccumulateNV = 5290,
22462248
OpCooperativeVectorReduceSumAccumulateNV = 5291,

include/spirv/unified1/spirv.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,6 +1264,7 @@ typedef enum SpvCapability_ {
12641264
SpvCapabilityRawAccessChainsNV = 5414,
12651265
SpvCapabilityRayTracingSpheresGeometryNV = 5418,
12661266
SpvCapabilityRayTracingLinearSweptSpheresGeometryNV = 5419,
1267+
SpvCapabilityLongVectorEXT = 5425,
12671268
SpvCapabilityShader64BitIndexingEXT = 5426,
12681269
SpvCapabilityCooperativeMatrixReductionsNV = 5430,
12691270
SpvCapabilityCooperativeMatrixConversionsNV = 5431,
@@ -2176,6 +2177,7 @@ typedef enum SpvOp_ {
21762177
SpvOpTypeHitObjectNV = 5281,
21772178
SpvOpImageSampleFootprintNV = 5283,
21782179
SpvOpTypeCooperativeVectorNV = 5288,
2180+
SpvOpTypeVectorIdEXT = 5288,
21792181
SpvOpCooperativeVectorMatrixMulNV = 5289,
21802182
SpvOpCooperativeVectorOuterProductAccumulateNV = 5290,
21812183
SpvOpCooperativeVectorReduceSumAccumulateNV = 5291,
@@ -4365,6 +4367,7 @@ inline const char* SpvCapabilityToString(SpvCapability value) {
43654367
case SpvCapabilityRawAccessChainsNV: return "RawAccessChainsNV";
43664368
case SpvCapabilityRayTracingSpheresGeometryNV: return "RayTracingSpheresGeometryNV";
43674369
case SpvCapabilityRayTracingLinearSweptSpheresGeometryNV: return "RayTracingLinearSweptSpheresGeometryNV";
4370+
case SpvCapabilityLongVectorEXT: return "LongVectorEXT";
43684371
case SpvCapabilityShader64BitIndexingEXT: return "Shader64BitIndexingEXT";
43694372
case SpvCapabilityCooperativeMatrixReductionsNV: return "CooperativeMatrixReductionsNV";
43704373
case SpvCapabilityCooperativeMatrixConversionsNV: return "CooperativeMatrixConversionsNV";

include/spirv/unified1/spirv.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1260,6 +1260,7 @@ enum Capability {
12601260
CapabilityRawAccessChainsNV = 5414,
12611261
CapabilityRayTracingSpheresGeometryNV = 5418,
12621262
CapabilityRayTracingLinearSweptSpheresGeometryNV = 5419,
1263+
CapabilityLongVectorEXT = 5425,
12631264
CapabilityShader64BitIndexingEXT = 5426,
12641265
CapabilityCooperativeMatrixReductionsNV = 5430,
12651266
CapabilityCooperativeMatrixConversionsNV = 5431,
@@ -2172,6 +2173,7 @@ enum Op {
21722173
OpTypeHitObjectNV = 5281,
21732174
OpImageSampleFootprintNV = 5283,
21742175
OpTypeCooperativeVectorNV = 5288,
2176+
OpTypeVectorIdEXT = 5288,
21752177
OpCooperativeVectorMatrixMulNV = 5289,
21762178
OpCooperativeVectorOuterProductAccumulateNV = 5290,
21772179
OpCooperativeVectorReduceSumAccumulateNV = 5291,
@@ -4361,6 +4363,7 @@ inline const char* CapabilityToString(Capability value) {
43614363
case CapabilityRawAccessChainsNV: return "RawAccessChainsNV";
43624364
case CapabilityRayTracingSpheresGeometryNV: return "RayTracingSpheresGeometryNV";
43634365
case CapabilityRayTracingLinearSweptSpheresGeometryNV: return "RayTracingLinearSweptSpheresGeometryNV";
4366+
case CapabilityLongVectorEXT: return "LongVectorEXT";
43644367
case CapabilityShader64BitIndexingEXT: return "Shader64BitIndexingEXT";
43654368
case CapabilityCooperativeMatrixReductionsNV: return "CooperativeMatrixReductionsNV";
43664369
case CapabilityCooperativeMatrixConversionsNV: return "CooperativeMatrixConversionsNV";

include/spirv/unified1/spirv.hpp11

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1260,6 +1260,7 @@ enum class Capability : unsigned {
12601260
RawAccessChainsNV = 5414,
12611261
RayTracingSpheresGeometryNV = 5418,
12621262
RayTracingLinearSweptSpheresGeometryNV = 5419,
1263+
LongVectorEXT = 5425,
12631264
Shader64BitIndexingEXT = 5426,
12641265
CooperativeMatrixReductionsNV = 5430,
12651266
CooperativeMatrixConversionsNV = 5431,
@@ -2172,6 +2173,7 @@ enum class Op : unsigned {
21722173
OpTypeHitObjectNV = 5281,
21732174
OpImageSampleFootprintNV = 5283,
21742175
OpTypeCooperativeVectorNV = 5288,
2176+
OpTypeVectorIdEXT = 5288,
21752177
OpCooperativeVectorMatrixMulNV = 5289,
21762178
OpCooperativeVectorOuterProductAccumulateNV = 5290,
21772179
OpCooperativeVectorReduceSumAccumulateNV = 5291,
@@ -4361,6 +4363,7 @@ inline const char* CapabilityToString(Capability value) {
43614363
case Capability::RawAccessChainsNV: return "RawAccessChainsNV";
43624364
case Capability::RayTracingSpheresGeometryNV: return "RayTracingSpheresGeometryNV";
43634365
case Capability::RayTracingLinearSweptSpheresGeometryNV: return "RayTracingLinearSweptSpheresGeometryNV";
4366+
case Capability::LongVectorEXT: return "LongVectorEXT";
43644367
case Capability::Shader64BitIndexingEXT: return "Shader64BitIndexingEXT";
43654368
case Capability::CooperativeMatrixReductionsNV: return "CooperativeMatrixReductionsNV";
43664369
case Capability::CooperativeMatrixConversionsNV: return "CooperativeMatrixConversionsNV";

include/spirv/unified1/spirv.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,6 +1226,7 @@
12261226
"RawAccessChainsNV": 5414,
12271227
"RayTracingSpheresGeometryNV": 5418,
12281228
"RayTracingLinearSweptSpheresGeometryNV": 5419,
1229+
"LongVectorEXT": 5425,
12291230
"Shader64BitIndexingEXT": 5426,
12301231
"CooperativeMatrixReductionsNV": 5430,
12311232
"CooperativeMatrixConversionsNV": 5431,
@@ -2143,6 +2144,7 @@
21432144
"OpTypeHitObjectNV": 5281,
21442145
"OpImageSampleFootprintNV": 5283,
21452146
"OpTypeCooperativeVectorNV": 5288,
2147+
"OpTypeVectorIdEXT": 5288,
21462148
"OpCooperativeVectorMatrixMulNV": 5289,
21472149
"OpCooperativeVectorOuterProductAccumulateNV": 5290,
21482150
"OpCooperativeVectorReduceSumAccumulateNV": 5291,

include/spirv/unified1/spirv.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,6 +1251,7 @@ spv = {
12511251
RawAccessChainsNV = 5414,
12521252
RayTracingSpheresGeometryNV = 5418,
12531253
RayTracingLinearSweptSpheresGeometryNV = 5419,
1254+
LongVectorEXT = 5425,
12541255
Shader64BitIndexingEXT = 5426,
12551256
CooperativeMatrixReductionsNV = 5430,
12561257
CooperativeMatrixConversionsNV = 5431,
@@ -2163,6 +2164,7 @@ spv = {
21632164
OpTypeHitObjectNV = 5281,
21642165
OpImageSampleFootprintNV = 5283,
21652166
OpTypeCooperativeVectorNV = 5288,
2167+
OpTypeVectorIdEXT = 5288,
21662168
OpCooperativeVectorMatrixMulNV = 5289,
21672169
OpCooperativeVectorOuterProductAccumulateNV = 5290,
21682170
OpCooperativeVectorReduceSumAccumulateNV = 5291,

include/spirv/unified1/spirv.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,6 +1222,7 @@
12221222
'RawAccessChainsNV' : 5414,
12231223
'RayTracingSpheresGeometryNV' : 5418,
12241224
'RayTracingLinearSweptSpheresGeometryNV' : 5419,
1225+
'LongVectorEXT' : 5425,
12251226
'Shader64BitIndexingEXT' : 5426,
12261227
'CooperativeMatrixReductionsNV' : 5430,
12271228
'CooperativeMatrixConversionsNV' : 5431,
@@ -2106,6 +2107,7 @@
21062107
'OpTypeHitObjectNV' : 5281,
21072108
'OpImageSampleFootprintNV' : 5283,
21082109
'OpTypeCooperativeVectorNV' : 5288,
2110+
'OpTypeVectorIdEXT' : 5288,
21092111
'OpCooperativeVectorMatrixMulNV' : 5289,
21102112
'OpCooperativeVectorOuterProductAccumulateNV' : 5290,
21112113
'OpCooperativeVectorReduceSumAccumulateNV' : 5291,

include/spirv/unified1/spv.d

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,6 +1296,7 @@ enum Capability : uint
12961296
RawAccessChainsNV = 5414,
12971297
RayTracingSpheresGeometryNV = 5418,
12981298
RayTracingLinearSweptSpheresGeometryNV = 5419,
1299+
LongVectorEXT = 5425,
12991300
Shader64BitIndexingEXT = 5426,
13001301
CooperativeMatrixReductionsNV = 5430,
13011302
CooperativeMatrixConversionsNV = 5431,
@@ -2244,6 +2245,7 @@ enum Op : uint
22442245
OpTypeHitObjectNV = 5281,
22452246
OpImageSampleFootprintNV = 5283,
22462247
OpTypeCooperativeVectorNV = 5288,
2248+
OpTypeVectorIdEXT = 5288,
22472249
OpCooperativeVectorMatrixMulNV = 5289,
22482250
OpCooperativeVectorOuterProductAccumulateNV = 5290,
22492251
OpCooperativeVectorReduceSumAccumulateNV = 5291,

0 commit comments

Comments
 (0)