-
Notifications
You must be signed in to change notification settings - Fork 987
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
Wgpu 23 (GLES) no longer works on devices with max_color_attachments == 4. #6986
Comments
For the record: we use
But the GLES3 minimum for MAX_COLOR_ATTACHMENTS is 4. |
Sounds like the downlevel limits need to be reduced to 4 - can you submit a PR? This limit was previously not enforced |
I can, sure. The only caveat is that we don't have access to any real android devices with this issue, so I can't prove that this is the only thing needed to fix; we might only realize this some time after release. |
Related: #3543. |
Description
On v22 and before, wgpu initialized on devices with max_color_attachments == 4. This includes some Android and Windows devices, and possibly some browsers with WebGL2. On v23 and above, it fails with
Limit 'max_color_attachments' value 8 is better than allowed 4
.Repro steps
If you don't happen to have such a device, you can use JS to easily pretend, just enter this snippet in devtools console before the wgpu application with webgl backend initializes:
Expected vs observed behavior
Making it possible to support these devices again. AFAIK, dropping support for them was not documented in changelog.
If it turns out that the limit was always supposed to be 8 and allowing these devices to use wgpu was an accident, then we'd still appreciate some optional way to drop it back to 4 - since we don't even need 4 for our use cases AFAIK.
The text was updated successfully, but these errors were encountered: