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
I encountered a similar issue. It appears to be caused by creating a texture with sample_count > 1 and usage flags of wgpu::TextureUsages::RENDER_ATTACHMENT | wgpu::TextureUsages::COPY_SRC. Using a usage flags of just wgpu::TextureUsages::RENDER_ATTACHMENT fixes the error.
I haven't validated myself, but according to this issue it's not possible to have anything but pure render targets for textures with MSAA on WebGL #2117
which pretty much implies that you need to do a standard resolve first and can't use an MSAA target for anything else
Description
Running has error:
Repro steps
Not sure what is causing it. I have this in a wgsl shader:
Expected vs observed behavior
Expect to run without error.
Platform
wgpu 0.10, linux, x11.
The text was updated successfully, but these errors were encountered: