Skip to content

Commit

Permalink
Merge remote-tracking branch '__github/main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Naghasan committed Jul 8, 2024
2 parents d05ec94 + 41a8eb2 commit 0629cf8
Show file tree
Hide file tree
Showing 10 changed files with 54 additions and 2 deletions.
3 changes: 3 additions & 0 deletions include/spirv/unified1/spirv.bf
Original file line number Diff line number Diff line change
Expand Up @@ -1079,6 +1079,7 @@ namespace Spv
TileImageColorReadAccessEXT = 4166,
TileImageDepthReadAccessEXT = 4167,
TileImageStencilReadAccessEXT = 4168,
CooperativeMatrixLayoutsARM = 4201,
FragmentShadingRateKHR = 4422,
SubgroupBallotKHR = 4423,
DrawParameters = 4427,
Expand Down Expand Up @@ -1407,6 +1408,8 @@ namespace Spv
{
RowMajorKHR = 0,
ColumnMajorKHR = 1,
RowBlockedInterleavedARM = 4202,
ColumnBlockedInterleavedARM = 4203,
Max = 0x7fffffff,
}

Expand Down
18 changes: 17 additions & 1 deletion include/spirv/unified1/spirv.core.grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"magic_number" : "0x07230203",
"major_version" : 1,
"minor_version" : 6,
"revision" : 1,
"revision" : 4,
"instruction_printing_class" : [
{
"tag" : "@exclude"
Expand Down Expand Up @@ -15447,6 +15447,12 @@
"extensions" : [ "SPV_EXT_shader_tile_image" ],
"version" : "None"
},
{
"enumerant" : "CooperativeMatrixLayoutsARM",
"value" : 4201,
"extensions" : [ "SPV_ARM_cooperative_matrix_layouts" ],
"version" : "None"
},
{
"enumerant" : "FragmentShadingRateKHR",
"value" : 4422,
Expand Down Expand Up @@ -16762,6 +16768,16 @@
"enumerant" : "ColumnMajorKHR",
"value" : 1,
"version" : "None"
},
{
"enumerant" : "RowBlockedInterleavedARM",
"value" : 4202,
"version" : "None"
},
{
"enumerant" : "ColumnBlockedInterleavedARM",
"value" : 4203,
"version" : "None"
}
]
},
Expand Down
3 changes: 3 additions & 0 deletions include/spirv/unified1/spirv.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1078,6 +1078,7 @@ public enum Capability
TileImageColorReadAccessEXT = 4166,
TileImageDepthReadAccessEXT = 4167,
TileImageStencilReadAccessEXT = 4168,
CooperativeMatrixLayoutsARM = 4201,
FragmentShadingRateKHR = 4422,
SubgroupBallotKHR = 4423,
DrawParameters = 4427,
Expand Down Expand Up @@ -1406,6 +1407,8 @@ public enum CooperativeMatrixLayout
{
RowMajorKHR = 0,
ColumnMajorKHR = 1,
RowBlockedInterleavedARM = 4202,
ColumnBlockedInterleavedARM = 4203,
Max = 0x7fffffff,
}

Expand Down
6 changes: 6 additions & 0 deletions include/spirv/unified1/spirv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1049,6 +1049,7 @@ typedef enum SpvCapability_ {
SpvCapabilityTileImageColorReadAccessEXT = 4166,
SpvCapabilityTileImageDepthReadAccessEXT = 4167,
SpvCapabilityTileImageStencilReadAccessEXT = 4168,
SpvCapabilityCooperativeMatrixLayoutsARM = 4201,
SpvCapabilityFragmentShadingRateKHR = 4422,
SpvCapabilitySubgroupBallotKHR = 4423,
SpvCapabilityDrawParameters = 4427,
Expand Down Expand Up @@ -1362,6 +1363,8 @@ typedef enum SpvCooperativeMatrixOperandsMask_ {
typedef enum SpvCooperativeMatrixLayout_ {
SpvCooperativeMatrixLayoutRowMajorKHR = 0,
SpvCooperativeMatrixLayoutColumnMajorKHR = 1,
SpvCooperativeMatrixLayoutRowBlockedInterleavedARM = 4202,
SpvCooperativeMatrixLayoutColumnBlockedInterleavedARM = 4203,
SpvCooperativeMatrixLayoutMax = 0x7fffffff,
} SpvCooperativeMatrixLayout;

Expand Down Expand Up @@ -3647,6 +3650,7 @@ inline const char* SpvCapabilityToString(SpvCapability value) {
case SpvCapabilityTileImageColorReadAccessEXT: return "TileImageColorReadAccessEXT";
case SpvCapabilityTileImageDepthReadAccessEXT: return "TileImageDepthReadAccessEXT";
case SpvCapabilityTileImageStencilReadAccessEXT: return "TileImageStencilReadAccessEXT";
case SpvCapabilityCooperativeMatrixLayoutsARM: return "CooperativeMatrixLayoutsARM";
case SpvCapabilityFragmentShadingRateKHR: return "FragmentShadingRateKHR";
case SpvCapabilitySubgroupBallotKHR: return "SubgroupBallotKHR";
case SpvCapabilityDrawParameters: return "DrawParameters";
Expand Down Expand Up @@ -3888,6 +3892,8 @@ inline const char* SpvCooperativeMatrixLayoutToString(SpvCooperativeMatrixLayout
switch (value) {
case SpvCooperativeMatrixLayoutRowMajorKHR: return "RowMajorKHR";
case SpvCooperativeMatrixLayoutColumnMajorKHR: return "ColumnMajorKHR";
case SpvCooperativeMatrixLayoutRowBlockedInterleavedARM: return "RowBlockedInterleavedARM";
case SpvCooperativeMatrixLayoutColumnBlockedInterleavedARM: return "ColumnBlockedInterleavedARM";
default: return "Unknown";
}
}
Expand Down
6 changes: 6 additions & 0 deletions include/spirv/unified1/spirv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,7 @@ enum Capability {
CapabilityTileImageColorReadAccessEXT = 4166,
CapabilityTileImageDepthReadAccessEXT = 4167,
CapabilityTileImageStencilReadAccessEXT = 4168,
CapabilityCooperativeMatrixLayoutsARM = 4201,
CapabilityFragmentShadingRateKHR = 4422,
CapabilitySubgroupBallotKHR = 4423,
CapabilityDrawParameters = 4427,
Expand Down Expand Up @@ -1358,6 +1359,8 @@ enum CooperativeMatrixOperandsMask {
enum CooperativeMatrixLayout {
CooperativeMatrixLayoutRowMajorKHR = 0,
CooperativeMatrixLayoutColumnMajorKHR = 1,
CooperativeMatrixLayoutRowBlockedInterleavedARM = 4202,
CooperativeMatrixLayoutColumnBlockedInterleavedARM = 4203,
CooperativeMatrixLayoutMax = 0x7fffffff,
};

Expand Down Expand Up @@ -3643,6 +3646,7 @@ inline const char* CapabilityToString(Capability value) {
case CapabilityTileImageColorReadAccessEXT: return "TileImageColorReadAccessEXT";
case CapabilityTileImageDepthReadAccessEXT: return "TileImageDepthReadAccessEXT";
case CapabilityTileImageStencilReadAccessEXT: return "TileImageStencilReadAccessEXT";
case CapabilityCooperativeMatrixLayoutsARM: return "CooperativeMatrixLayoutsARM";
case CapabilityFragmentShadingRateKHR: return "FragmentShadingRateKHR";
case CapabilitySubgroupBallotKHR: return "SubgroupBallotKHR";
case CapabilityDrawParameters: return "DrawParameters";
Expand Down Expand Up @@ -3884,6 +3888,8 @@ inline const char* CooperativeMatrixLayoutToString(CooperativeMatrixLayout value
switch (value) {
case CooperativeMatrixLayoutRowMajorKHR: return "RowMajorKHR";
case CooperativeMatrixLayoutColumnMajorKHR: return "ColumnMajorKHR";
case CooperativeMatrixLayoutRowBlockedInterleavedARM: return "RowBlockedInterleavedARM";
case CooperativeMatrixLayoutColumnBlockedInterleavedARM: return "ColumnBlockedInterleavedARM";
default: return "Unknown";
}
}
Expand Down
6 changes: 6 additions & 0 deletions include/spirv/unified1/spirv.hpp11
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,7 @@ enum class Capability : unsigned {
TileImageColorReadAccessEXT = 4166,
TileImageDepthReadAccessEXT = 4167,
TileImageStencilReadAccessEXT = 4168,
CooperativeMatrixLayoutsARM = 4201,
FragmentShadingRateKHR = 4422,
SubgroupBallotKHR = 4423,
DrawParameters = 4427,
Expand Down Expand Up @@ -1358,6 +1359,8 @@ enum class CooperativeMatrixOperandsMask : unsigned {
enum class CooperativeMatrixLayout : unsigned {
RowMajorKHR = 0,
ColumnMajorKHR = 1,
RowBlockedInterleavedARM = 4202,
ColumnBlockedInterleavedARM = 4203,
Max = 0x7fffffff,
};

Expand Down Expand Up @@ -3643,6 +3646,7 @@ inline const char* CapabilityToString(Capability value) {
case CapabilityTileImageColorReadAccessEXT: return "TileImageColorReadAccessEXT";
case CapabilityTileImageDepthReadAccessEXT: return "TileImageDepthReadAccessEXT";
case CapabilityTileImageStencilReadAccessEXT: return "TileImageStencilReadAccessEXT";
case CapabilityCooperativeMatrixLayoutsARM: return "CooperativeMatrixLayoutsARM";
case CapabilityFragmentShadingRateKHR: return "FragmentShadingRateKHR";
case CapabilitySubgroupBallotKHR: return "SubgroupBallotKHR";
case CapabilityDrawParameters: return "DrawParameters";
Expand Down Expand Up @@ -3884,6 +3888,8 @@ inline const char* CooperativeMatrixLayoutToString(CooperativeMatrixLayout value
switch (value) {
case CooperativeMatrixLayoutRowMajorKHR: return "RowMajorKHR";
case CooperativeMatrixLayoutColumnMajorKHR: return "ColumnMajorKHR";
case CooperativeMatrixLayoutRowBlockedInterleavedARM: return "RowBlockedInterleavedARM";
case CooperativeMatrixLayoutColumnBlockedInterleavedARM: return "ColumnBlockedInterleavedARM";
default: return "Unknown";
}
}
Expand Down
5 changes: 4 additions & 1 deletion include/spirv/unified1/spirv.json
Original file line number Diff line number Diff line change
Expand Up @@ -1022,6 +1022,7 @@
"TileImageColorReadAccessEXT": 4166,
"TileImageDepthReadAccessEXT": 4167,
"TileImageStencilReadAccessEXT": 4168,
"CooperativeMatrixLayoutsARM": 4201,
"FragmentShadingRateKHR": 4422,
"SubgroupBallotKHR": 4423,
"DrawParameters": 4427,
Expand Down Expand Up @@ -1338,7 +1339,9 @@
"Values":
{
"RowMajorKHR": 0,
"ColumnMajorKHR": 1
"ColumnMajorKHR": 1,
"RowBlockedInterleavedARM": 4202,
"ColumnBlockedInterleavedARM": 4203
}
},
{
Expand Down
3 changes: 3 additions & 0 deletions include/spirv/unified1/spirv.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1036,6 +1036,7 @@ spv = {
TileImageColorReadAccessEXT = 4166,
TileImageDepthReadAccessEXT = 4167,
TileImageStencilReadAccessEXT = 4168,
CooperativeMatrixLayoutsARM = 4201,
FragmentShadingRateKHR = 4422,
SubgroupBallotKHR = 4423,
DrawParameters = 4427,
Expand Down Expand Up @@ -1349,6 +1350,8 @@ spv = {
CooperativeMatrixLayout = {
RowMajorKHR = 0,
ColumnMajorKHR = 1,
RowBlockedInterleavedARM = 4202,
ColumnBlockedInterleavedARM = 4203,
Max = 0x7fffffff,
},

Expand Down
3 changes: 3 additions & 0 deletions include/spirv/unified1/spirv.py
Original file line number Diff line number Diff line change
Expand Up @@ -1007,6 +1007,7 @@
'TileImageColorReadAccessEXT' : 4166,
'TileImageDepthReadAccessEXT' : 4167,
'TileImageStencilReadAccessEXT' : 4168,
'CooperativeMatrixLayoutsARM' : 4201,
'FragmentShadingRateKHR' : 4422,
'SubgroupBallotKHR' : 4423,
'DrawParameters' : 4427,
Expand Down Expand Up @@ -1308,6 +1309,8 @@
'CooperativeMatrixLayout' : {
'RowMajorKHR' : 0,
'ColumnMajorKHR' : 1,
'RowBlockedInterleavedARM' : 4202,
'ColumnBlockedInterleavedARM' : 4203,
},

'CooperativeMatrixUse' : {
Expand Down
3 changes: 3 additions & 0 deletions include/spirv/unified1/spv.d
Original file line number Diff line number Diff line change
Expand Up @@ -1081,6 +1081,7 @@ enum Capability : uint
TileImageColorReadAccessEXT = 4166,
TileImageDepthReadAccessEXT = 4167,
TileImageStencilReadAccessEXT = 4168,
CooperativeMatrixLayoutsARM = 4201,
FragmentShadingRateKHR = 4422,
SubgroupBallotKHR = 4423,
DrawParameters = 4427,
Expand Down Expand Up @@ -1409,6 +1410,8 @@ enum CooperativeMatrixLayout : uint
{
RowMajorKHR = 0,
ColumnMajorKHR = 1,
RowBlockedInterleavedARM = 4202,
ColumnBlockedInterleavedARM = 4203,
Max = 0x7fffffff,
}

Expand Down

0 comments on commit 0629cf8

Please sign in to comment.