Skip to content

Commit 89ce4d0

Browse files
committed
grammar: Handle TypeCooperativeMatrixKHR as type
Without this shaders with cooperative matrix types fail to parse.
1 parent 8879923 commit 89ce4d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rspirv/grammar/reflect.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ pub fn is_type(opcode: spirv::Op) -> bool {
6666
| spirv::Op::TypeAccelerationStructureKHR
6767
| spirv::Op::TypeRayQueryKHR
6868
| spirv::Op::TypeForwardPointer
69+
| spirv::Op::TypeCooperativeMatrixKHR
6970
)
7071
}
7172

0 commit comments

Comments
 (0)