![]() # Objective - Make errors in #19124 #13289 clearer, and opt for option 1. of https://github.com/gfx-rs/wgpu/issues/7677 ## Solution Remove the round to block size `.physical_size(texture_format);` Error message now becomes much clearer: ``` thread 'Compute Task Pool (5)' panicked at E:\r\wgpu\wgpu\src\backend\wgpu_core.rs:1423:26: wgpu error: Validation Error Caused by: In Device::create_texture Width 2050 is not a multiple of Bc7RgbaUnormSrgb's block width (4) ``` ## Testing - Tested using the repro in #19124 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT |