Skip to content

Conversation

@dneto0
Copy link
Contributor

@dneto0 dneto0 commented Jan 16, 2026

Fixed: #5519

@dneto0 dneto0 marked this pull request as draft January 16, 2026 23:20
@dneto0 dneto0 requested a review from alan-baker January 16, 2026 23:20
@github-actions
Copy link
Contributor

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

Copy link
Contributor

@alan-baker alan-baker left a comment

Choose a reason for hiding this comment

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

LGTM


In a [=compute shader stage|compute=] shader, IDs begin at zero and are dense.
That is, when the compute shader begins execution, then within each subgroup:
* One invocation will have `subgroup_invocation_id` = 0, and
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I know this first clause is redundant, but I think it helps readability

@dneto0 dneto0 marked this pull request as ready for review January 20, 2026 16:27
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: clarify that [compute shader] subgroup_invocation_id space has no holes

2 participants