Skip to content

Describe resource aliasing rules - #2065

Closed
litherum wants to merge 3 commits into
gpuweb:mainfrom
litherum:writable-binding-aliasing
Closed

litherum wants to merge 3 commits into
gpuweb:mainfrom
litherum:writable-binding-aliasing

Conversation

@litherum

@litherum litherum commented Aug 24, 2021 •

Copy link
Copy Markdown
Contributor

Fixes #1842

From that issue:

Resolution:
For now, add something to the spec that says "bindings must not alias", but don't add an actual validation error. Add an "Issue(#1842):" that says to revisit this and figure out if we should add a validation error.

This patch does exactly that.


Preview | Diff

@litherum
litherum requested review from kainino0x and kvark August 24, 2021 23:56
@github-actions

Copy link
Copy Markdown
Contributor

Previews, as seen when this build job started (3aedc73):
WebGPU | IDL
WGSL
Explainer

kainino0x
kainino0x previously approved these changes Aug 25, 2021
Comment thread spec/index.bs Resolved
Comment thread spec/index.bs Resolved
Comment thread spec/index.bs Resolved
litherum and others added 2 commits August 24, 2021 21:04
Co-authored-by: Kai Ninomiya <[email protected]>
Co-authored-by: Kai Ninomiya <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

Previews, as seen when this build job started (e93cfa0):
WebGPU | IDL
WGSL
Explainer

@github-actions

Copy link
Copy Markdown
Contributor

Previews, as seen when this build job started (c48a696):
WebGPU | IDL
WGSL
Explainer

Comment thread spec/index.bs Resolved
Comment thread spec/index.bs Resolved
Comment thread spec/index.bs Resolved
Comment thread spec/index.bs Resolved
Comment thread spec/index.bs Resolved
Comment thread spec/index.bs Resolved
Comment thread spec/index.bs Resolved
Comment thread spec/index.bs Resolved
@kainino0x

Copy link
Copy Markdown
Contributor

Since I'm doing a bunch of spec work already I'm going to pick this up and resolve the merge conflicts and editorial stuff in the comments. Then we can wrap up this PR.

@kainino0x
kainino0x requested review from kainino0x and removed request for kainino0x December 21, 2021 02:21
@kainino0x
kainino0x dismissed their stale review December 21, 2021 02:21

I'm editing the PR

@kainino0x
kainino0x removed their request for review December 21, 2021 02:21
@kainino0x

kainino0x commented Dec 21, 2021 •

Copy link
Copy Markdown
Contributor

I decided to open a separate PR #2441. All of the "Resolved" comments above are resolved there but not here.

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.

Should the API enforce that writable storage buffer bindings don't alias each other?

3 participants