mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-23 07:14:01 +00:00
Don't create array layer trackers for 3D textures.
This commit is contained in:
parent
55cbbdea62
commit
43f09fdb21
@ -618,7 +618,7 @@ impl<A: HalApi> Device<A> {
|
||||
format_features,
|
||||
initialization_status: TextureInitTracker::new(
|
||||
desc.mip_level_count,
|
||||
desc.size.depth_or_array_layers,
|
||||
desc.array_layer_count(),
|
||||
),
|
||||
full_range: TextureSelector {
|
||||
levels: 0..desc.mip_level_count,
|
||||
|
Loading…
Reference in New Issue
Block a user