Skip to content

Commit babee77

Browse files
authored
Make OpTypeCooperativeVectorNV an alias of OpTypeVectorIdEXT (#561)
1 parent 0a7f626 commit babee77

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6168,10 +6168,10 @@
61686168
"version" : "None"
61696169
},
61706170
{
6171-
"opname" : "OpTypeCooperativeVectorNV",
6171+
"opname" : "OpTypeVectorIdEXT",
61726172
"class" : "Type-Declaration",
61736173
"opcode" : 5288,
6174-
"aliases" : ["OpTypeVectorIdEXT"],
6174+
"aliases" : ["OpTypeCooperativeVectorNV"],
61756175
"operands" : [
61766176
{ "kind" : "IdResult" },
61776177
{ "kind" : "IdRef", "name" : "Component Type" },

include/spirv/unified1/spirv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3091,7 +3091,7 @@ inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultTy
30913091
case SpvOpReorderThreadWithHintNV: *hasResult = false; *hasResultType = false; break;
30923092
case SpvOpTypeHitObjectNV: *hasResult = true; *hasResultType = false; break;
30933093
case SpvOpImageSampleFootprintNV: *hasResult = true; *hasResultType = true; break;
3094-
case SpvOpTypeCooperativeVectorNV: *hasResult = true; *hasResultType = false; break;
3094+
case SpvOpTypeVectorIdEXT: *hasResult = true; *hasResultType = false; break;
30953095
case SpvOpCooperativeVectorMatrixMulNV: *hasResult = true; *hasResultType = true; break;
30963096
case SpvOpCooperativeVectorOuterProductAccumulateNV: *hasResult = false; *hasResultType = false; break;
30973097
case SpvOpCooperativeVectorReduceSumAccumulateNV: *hasResult = false; *hasResultType = false; break;

include/spirv/unified1/spirv.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3087,7 +3087,7 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
30873087
case OpReorderThreadWithHintNV: *hasResult = false; *hasResultType = false; break;
30883088
case OpTypeHitObjectNV: *hasResult = true; *hasResultType = false; break;
30893089
case OpImageSampleFootprintNV: *hasResult = true; *hasResultType = true; break;
3090-
case OpTypeCooperativeVectorNV: *hasResult = true; *hasResultType = false; break;
3090+
case OpTypeVectorIdEXT: *hasResult = true; *hasResultType = false; break;
30913091
case OpCooperativeVectorMatrixMulNV: *hasResult = true; *hasResultType = true; break;
30923092
case OpCooperativeVectorOuterProductAccumulateNV: *hasResult = false; *hasResultType = false; break;
30933093
case OpCooperativeVectorReduceSumAccumulateNV: *hasResult = false; *hasResultType = false; break;

include/spirv/unified1/spirv.hpp11

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3087,7 +3087,7 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
30873087
case Op::OpReorderThreadWithHintNV: *hasResult = false; *hasResultType = false; break;
30883088
case Op::OpTypeHitObjectNV: *hasResult = true; *hasResultType = false; break;
30893089
case Op::OpImageSampleFootprintNV: *hasResult = true; *hasResultType = true; break;
3090-
case Op::OpTypeCooperativeVectorNV: *hasResult = true; *hasResultType = false; break;
3090+
case Op::OpTypeVectorIdEXT: *hasResult = true; *hasResultType = false; break;
30913091
case Op::OpCooperativeVectorMatrixMulNV: *hasResult = true; *hasResultType = true; break;
30923092
case Op::OpCooperativeVectorOuterProductAccumulateNV: *hasResult = false; *hasResultType = false; break;
30933093
case Op::OpCooperativeVectorReduceSumAccumulateNV: *hasResult = false; *hasResultType = false; break;

0 commit comments

Comments
 (0)