mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-22 07:21:04 +01:00
Don't create array layer trackers for 3D textures.
This commit is contained in:
1 parent
ecbf7e9e2a
commit
4f5d0d8fe5
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user