From 0342e2fba5b2d4992f569a019b73a4e1e8270858 Mon Sep 17 00:00:00 2001 From: Andy Leiserson Date: Tue, 20 Oct 2026 09:56:33 -0700 Subject: [PATCH] fix(core): Check same-device for external texture planes (#10636) --- wgpu-core/src/device/resource.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wgpu-core/src/device/resource.rs b/wgpu-core/src/device/resource.rs index 847a15f96..eb53e4e5e 100644 --- a/wgpu-core/src/device/resource.rs +++ b/wgpu-core/src/device/resource.rs @@ -2321,6 +2321,8 @@ impl Device { .iter() .enumerate() .map(|(i, plane)| { + plane.same_device(self)?; + if plane.samples != 1 { return Err(CreateExternalTextureError::InvalidPlaneMultisample( plane.samples,