Sitelet https://github.com/gpuweb/gpuweb/pull/5202
Skip to content

Add [AllowShared] to setBindGroup - #5202

Merged
kainino0x merged 1 commit into
gpuweb:mainfrom
kainino0x:setbindgroup-allowshared
May 27, 2025
Merged

kainino0x merged 1 commit into
gpuweb:mainfrom
kainino0x:setbindgroup-allowshared

Conversation

@kainino0x

Copy link
Copy Markdown
Contributor

This was always intended to be here, we just forgot it when we were adding SharedArrayBuffer support elsewhere (which went through many iterations due to lack of support in WebIDL).

This is not technically an editorial change but we definitely intended it, so IMO we should go ahead and land it and I'll put it as an FYI on the WG agenda.

Fixes #5201

This was always intended to be here, we just forgot it when we were
adding SharedArrayBuffer support elsewhere (which went through many
iterations due to lack of support in WebIDL).

Fixes 5201
@kainino0x kainino0x added this to the Milestone 1 milestone May 24, 2025
@kainino0x
kainino0x requested a review from mwyrzykowski May 24, 2025 00:52
@kainino0x kainino0x added api WebGPU API needs-cts-issue This change requires tests (or would need tests if accepted), but may not have a CTS issue filed yet labels May 24, 2025
@github-actions

github-actions Bot commented May 24, 2025 •

Copy link
Copy Markdown
Contributor

Previews, as seen when this build job started (475fdb6):
WebGPU webgpu.idl | Explainer | Correspondence Reference
WGSL grammar.js | wgsl.lalr.txt

@kainino0x
kainino0x merged commit bd0685e into gpuweb:main May 27, 2025
@kainino0x
kainino0x deleted the setbindgroup-allowshared branch May 27, 2025 23:05
@Kangz

Kangz commented Jun 2, 2025

Copy link
Copy Markdown
Contributor
GPU Web WG 2025-05-28 Atlantic-time
  • This has already been merged.
  • KN: FYI, please complain if this is a problem.

ErichDonGubler added a commit to erichdongubler-mozilla/firefox that referenced this pull request Jul 26, 2025
…sMixin.setBindGroup`'s `dynamicOffsetData` param. r=#webgpu-reviewers!

Upstream IDL change: [`gpuweb`#5202](gpuweb/gpuweb#5202)

Differential Revision: https://phabricator.services.mozilla.com/D258788
lando-worker Bot pushed a commit to mozilla-firefox/firefox that referenced this pull request Jul 27, 2025
…sMixin.setBindGroup`'s `dynamicOffsetData` param. r=webgpu-reviewers,webidl,nical,smaug

Upstream IDL change: [`gpuweb`#5202](gpuweb/gpuweb#5202)

Differential Revision: https://phabricator.services.mozilla.com/D258788
juj added a commit to juj/wasm_webgpu that referenced this pull request Sep 12, 2025
No changes since these bindings already assumed that this API would be [AllowShared].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api WebGPU API needs-cts-issue This change requires tests (or would need tests if accepted), but may not have a CTS issue filed yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Should setBindGroup allow for dynamic offsets from a SharedArrayBuffer?

4 participants