-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebGL2 'Tex storage 2D multisample is not supported' (again) #5263
Comments
This seems to no longer panic with wgpu 22.0.0, though I haven't rerun the above reduced test case. |
Correction to above comment: I observed my application no longer panicking because WebGPU is more available. It still panics on the WebGL2 backend. Sorry for the noise. |
This happened after the webgl 2.0 compute was stopped and the gles3.1 equivalent was left to webgpu.
|
See <#471> and <gfx-rs/wgpu#5263>. Based on the latest information, I expect this will not start working any time soon, so add a condition to disable antialiasing. Conveniently, we already had the `rgba8_can_multisample` flag to communicate this, though it wasn’t actually used where it should be. I believe it might be possible to also keep antialiasing but disable all screen-space processing (including tone mapping), but I don’t like that option.
Description
Panic (not a validation error) in webgl backend.
This is probably similar to #2149 (fixed) but with different descriptor parameters. May also be related to #2117.
Repro steps
Create a WebGL2 device and run:
Expected vs observed behavior
Should succeed (or give a validation error about a missing downlevel feature). Instead, an internal panic occurs:
Platform
The text was updated successfully, but these errors were encountered: