mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-21 22:33:49 +00:00
remove same device check from create_texture_binding
`view.parent` will have the same `device` as the `view` itself
This commit is contained in:
parent
ed67ff289c
commit
f767220399
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user