Skip to content

Commit 4424b7e

Browse files
committed
asm vector: deny OpTypeVector in asm
1 parent 19d23e5 commit 4424b7e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

crates/rustc_codegen_spirv/src/builder/spirv_asm.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -723,13 +723,6 @@ impl<'cx, 'tcx> Builder<'cx, 'tcx> {
723723
(TyPat::Void, SpirvType::Void) => Ok([None]),
724724
(TyPat::Pointer(_, pat), SpirvType::Pointer { pointee: ty, .. })
725725
| (TyPat::Vector(pat), SpirvType::Vector { element: ty, .. })
726-
| (
727-
TyPat::Vector4(pat),
728-
SpirvType::Vector {
729-
element: ty,
730-
count: 4,
731-
},
732-
)
733726
| (
734727
TyPat::Image(pat),
735728
SpirvType::Image {

0 commit comments

Comments
 (0)