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

Fix WebGPU limits.maxBufferSize, these are 64-bit iso 32-bit #22187

Merged

Conversation

croes
Copy link
Contributor

@croes croes commented Jul 4, 2024

Fix implementation of WebGPU limit queries, maxBufferSize is 64-bit iso 32-bit.

There was already a test for this (browser.test_webgpu_required_limits), but that one was failing on my end (I do have >4GB VRAM).
The WebGPU headers also declare this as 64-bit, so I think it was a small oversight in the implementation.

@sbc100 sbc100 requested a review from kainino0x July 5, 2024 17:01
Copy link
Collaborator

@kainino0x kainino0x left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, LGTM!

@lokokung could you pull this into dawn's fork? (I don't think there have been any other bugfixes since I forked it)

@kainino0x kainino0x merged commit 060c3fc into emscripten-core:main Jul 12, 2024
28 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants