You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Texture creation fails with wgpu 0.12.
Repro steps
I have the following code which creates a frame texture that I then render the output to (for post processing):
let texture = device.create_texture(&TextureDescriptor{label:Some("Post-Processing Frame Texture"),size:Extent3d{width: surface_config.width,height: surface_config.height,depth_or_array_layers:1,},mip_level_count:1,sample_count:1,dimension:TextureDimension::D2,format: surface_config.format,usage:TextureUsages::TEXTURE_BINDING
| TextureUsages::COPY_DST// Added as part of wgpu 0.12 migration
| TextureUsages::RENDER_ATTACHMENT,});
However, since wgpu 0.12 update this is always hitting a debug assertion on the following line:
Description
Texture creation fails with wgpu 0.12.
Repro steps
I have the following code which creates a frame texture that I then render the output to (for post processing):
However, since wgpu 0.12 update this is always hitting a debug assertion on the following line:
wgpu/wgpu-core/src/command/memory_init.rs
Lines 332 to 333 in 54f20be
Expected vs observed behavior
Texture creation works as expected.
Platform
Windows 11, Vulcan backend, wgpu 0.12.
The text was updated successfully, but these errors were encountered: