Description
Copying from depth textures fails with unexpected depth format.
Repro steps
In short:
- create texture with
Depth32Float format
- call
device.copy_texture_to_buffer
Will try to provide a complete code example soon.
Expected vs observed behavior
Code panics with unexpected depth format (here). Expect it to work fine and copy the texture to the target buffer.
Platform
wgpu v0.6
Description
Copying from depth textures fails with
unexpected depth format.Repro steps
In short:
Depth32Floatformatdevice.copy_texture_to_bufferWill try to provide a complete code example soon.
Expected vs observed behavior
Code panics with
unexpected depth format(here). Expect it to work fine and copy the texture to the target buffer.Platform
wgpu v0.6