Add linear_indexing language feature#5554
Add linear_indexing language feature#5554alan-baker merged 6 commits intogpuweb:maingpuweb/gpuweb:mainfrom
Conversation
|
Previews, as seen when this build job started (f0b15af): |
mehmetoguzderin
left a comment
There was a problem hiding this comment.
I had a brief look and a minor question came to mind: was linear_indexing or linear_indices also considered as a name, given the technical nature of the specification? Apologies if this was already raised during the call and I missed the decision.
|
|
Understood, |
* Two new builtins: * `global_invocation_index` - linearized `global_invocation_id` * `workgroup_index` - linearized `workgroup_id`
0c225ce to
d5d2103
Compare
|
I'll put this on the WGSL agenda once it comes out of draft. |
|
Draft CTS: gpuweb/cts#4595 |
dneto0
left a comment
There was a problem hiding this comment.
approved with suggested wording tweaks, and optional notes.
|
Mozilla likes this change. |
|
@mwyrzykowski Could you take a look at this on Apple's behalf? |
Spec: gpuweb/gpuweb#5554 CTS: gpuweb/cts#4595 Both were approved and landed. Bug: 491559358 Change-Id: I81585882201d0bf18b86d28e47be4125650683b0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7654497 Commit-Queue: Alan Baker <alanbaker@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Cr-Commit-Position: refs/heads/main@{#1597693}
Spec PR merged here: gpuweb/gpuweb#5554
Spec PR merged here: gpuweb/gpuweb#5554
global_invocation_index- linearizedglobal_invocation_idworkgroup_index- linearizedworkgroup_idFixes #5154