remove same device check from create_texture_binding

`view.parent` will have the same `device` as the `view` itself
This commit is contained in:
teoxoy 2024-07-18 12:07:05 +02:00 committed by Erich Gubler
parent ed67ff289c
commit f767220399

View File

@ -2069,8 +2069,6 @@ impl<A: HalApi> Device<A> {
used.textures
.add_single(texture, Some(view.selector.clone()), internal_use);
texture.same_device_as(view.as_ref())?;
texture.check_usage(pub_usage)?;
used_texture_ranges.push(TextureInitTrackerAction {