Skip to content
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 breaks on missing maxInterStageShaderComponents #5

Open
ErichDonGubler opened this issue Oct 31, 2024 · 2 comments
Open

WGPU breaks on missing maxInterStageShaderComponents #5

ErichDonGubler opened this issue Oct 31, 2024 · 2 comments

Comments

@ErichDonGubler
Copy link

Recently, GPUSupportedLimits.maxInterStageShaderComponents was removed from the WebGPU spec. Firefox Nightly has changed to follow the spec's removal, but WGPU needed to change its code to not break (see gfx-rs/wgpu#6290 (comment) for work tracked on this).

When this happens in Firefox Nightly, an error with the following message is emitted in the console log, with the screen remaining black and the app unresponsive: Could not get WebGPU device: requestDevice: Limit 'maxInterStageShaderComponents' not recognized.

@ErichDonGubler
Copy link
Author

The fix should be to Just™ upgrade the version of WGPU being consumed; I released v23 today, and that is what needs to be consumed. I don't know how this release propagates to C++ code (CC @cwfitzgerald), but I presume there is further work to do in wgpu-native before that Rust release is consumable by C++.

@sava41
Copy link
Owner

sava41 commented Nov 1, 2024

My hands are tied on the browser version of the app to whatever spec of WebGPU is used in Emscripten as it maps the c header api to the corresponding javascript functions. I tried updating to the latest emscripten version yesterday and that didn't fix the error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants