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
error[E0599]: no variant or associated item named Depth24unormStencil8 found for enum GpuTextureFormat in the current scope
--> wgpu-0.13.1\src\backend\web.rs:553:52
|
553 | TextureFormat::Depth24UnormStencil8 => tf::Depth24unormStencil8,
| ^^^^^^^^^^^^^^^^^^^^
| |
| variant or associated item not found in GpuTextureFormat
| help: there is a variant with a similar name: Depth24plusStencil8
For more information about this error, try rustc --explain E0599.
error: could not compile wgpu due to previous error
Repro steps
There is no "depth24unorm-stencil8" in webgpu based on the https://www.w3.org/TR/webgpu/ , it will cause compile error when trying to use any texture format when target is wasm32 and using webgpu. (not webgl feature)
Expected vs observed behavior
Remove TextureFormat::Depth24UnormStencil8 in web.rs
Description
error[E0599]: no variant or associated item named
Depth24unormStencil8
found for enumGpuTextureFormat
in the current scope--> wgpu-0.13.1\src\backend\web.rs:553:52
|
553 | TextureFormat::Depth24UnormStencil8 => tf::Depth24unormStencil8,
| ^^^^^^^^^^^^^^^^^^^^
| |
| variant or associated item not found in
GpuTextureFormat
| help: there is a variant with a similar name:
Depth24plusStencil8
For more information about this error, try
rustc --explain E0599
.error: could not compile
wgpu
due to previous errorRepro steps
There is no "depth24unorm-stencil8" in webgpu based on the https://www.w3.org/TR/webgpu/ , it will cause compile error when trying to use any texture format when target is wasm32 and using webgpu. (not webgl feature)
Expected vs observed behavior
Remove TextureFormat::Depth24UnormStencil8 in web.rs
wgpu/wgpu/src/backend/web.rs
Line 553 in f7526ae
Platform
Windows 11
version wgpu-0.13.1
The text was updated successfully, but these errors were encountered: