wgpu-core: TextureClearRange does, in fact, track volume slices separately #2347
Labels
area: correctness
We're behaving incorrectly
help required
We need community help to make this happen.
type: bug
Something isn't working
Description
When initializing 3D texture memory, WGPU generates a zero buffer copy to each depth level of the texture as if it were a layer.
Seems like this happens because texture tracker is initialized to have a separate layer for each
depth_or_array_layers
regardless oftexture dimensions.
Repro steps
Expected vs observed behavior
A load of errors telling that API tried to copy a buffer to texture layer where none are present.
Platform
Windows 10, wgpu 0.12.0 on Vulkan.
The text was updated successfully, but these errors were encountered: