Skip to content

Commit 9de1dbb

Browse files
--Modfied files so that OpTypeTaskSequenceINTEL is identified as a type instruction (KhronosGroup#6084)
--Made changes in opcode.cpp and validation_state.cpp Co-authored-by: Aadesh PS <[email protected]>
1 parent 9d22187 commit 9de1dbb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

source/opcode.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ int32_t spvOpcodeGeneratesType(spv::Op op) {
263263
case spv::Op::OpTypeTensorLayoutNV:
264264
case spv::Op::OpTypeTensorViewNV:
265265
case spv::Op::OpTypeTensorARM:
266+
case spv::Op::OpTypeTaskSequenceINTEL:
266267
return true;
267268
default:
268269
// In particular, OpTypeForwardPointer does not generate a type,

source/val/validation_state.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ ModuleLayoutSection InstructionLayoutSection(
7474
case spv::Op::OpMemberDecorateStringGOOGLE:
7575
return kLayoutAnnotations;
7676
case spv::Op::OpTypeForwardPointer:
77+
case spv::Op::OpTypeTaskSequenceINTEL:
7778
return kLayoutTypes;
7879
case spv::Op::OpVariable:
7980
case spv::Op::OpUntypedVariableKHR:

0 commit comments

Comments
 (0)