Skip to content

Enable dynamic indexing on matrix and array values#2427

Merged
dneto0 merged 1 commit intogpuweb:mainfrom
dneto0:issue-1782
Dec 21, 2021
Merged

Enable dynamic indexing on matrix and array values#2427
dneto0 merged 1 commit intogpuweb:mainfrom
dneto0:issue-1782

Conversation

@dneto0
Copy link
Contributor

@dneto0 dneto0 commented Dec 20, 2021

Fixes: #1782

@github-actions
Copy link
Contributor

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

Copy link
Contributor

@kvark kvark left a comment

Choose a reason for hiding this comment

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

Sad to see SPIR-V value semantics going out of the window :(

@dneto0
Copy link
Contributor Author

dneto0 commented Dec 21, 2021

Sad to see SPIR-V value semantics going out of the window :(

I'm sadder we don't have 'break if' and 'break unless'.

@dneto0 dneto0 merged commit 08b129a into gpuweb:main Dec 21, 2021
@dneto0
Copy link
Contributor Author

dneto0 commented Dec 21, 2021

Breadcrumbs: this reverses the effect of #1801

github-actions bot added a commit that referenced this pull request Dec 21, 2021
SHA: 08b129a
Reason: push, by @dneto0

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Dec 21, 2021
SHA: 08b129a
Reason: push, by @dneto0

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Dec 21, 2021
SHA: 08b129a
Reason: push, by @dneto0

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
jrprice added a commit to jrprice/gpuweb that referenced this pull request Jan 7, 2022
We re-enabled dynamically indexing into non-ref arrays and matrices in
gpuweb#2427, as discussed in gpuweb#1782.
ben-clayton added a commit to ben-clayton/Tint that referenced this pull request Jan 11, 2022
Spec change: gpuweb/gpuweb#2427
Reverses: tint:867

This reverts and fixes commits:
 b6fdcc5
 10442ef

Added a bunch of end-to-end tests.

Fixed: tint:1352
Change-Id: I34968243bbec1cab838c8ba50a6f027146bbfd06
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/75401
Reviewed-by: David Neto <[email protected]>
Reviewed-by: James Price <[email protected]>
Kokoro: Kokoro <[email protected]>
Commit-Queue: Ben Clayton <[email protected]>
dneto0 pushed a commit that referenced this pull request Jan 12, 2022
We re-enabled dynamically indexing into non-ref arrays and matrices in
#2427, as discussed in #1782.
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.

WGSL requires dynamic matrix indexing, which requires surprising SPIR-V

2 participants