Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move subgroup-size-control and subgroup_size to the last
  • Loading branch information
Jiawei-Shao committed Feb 27, 2026
commit a6d6e7a9c989ceb21c1dd0d9aad26ce2641bec12
2 changes: 1 addition & 1 deletion spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3087,11 +3087,11 @@ enum GPUFeatureName {
"clip-distances",
"dual-source-blending",
"subgroups",
"subgroup-size-control",
"texture-formats-tier1",
"texture-formats-tier2",
"primitive-index",
"texture-component-swizzle",
"subgroup-size-control",
};
</script>

Expand Down
6 changes: 3 additions & 3 deletions wgsl/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1400,9 +1400,9 @@ The [=syntax/attribute=] names are:
* <a for=attribute lt=blend_src>`'blend_src'`</a>
* <a for=attribute lt=must_use>`'must_use'`</a>
* <a for=attribute lt=size>`'size'`</a>
* <a for=attribute lt=subgroup_size>`'subgroup_size'`</a>
* <a for=attribute lt=vertex>`'vertex'`</a>
* <a for=attribute lt=workgroup_size>`'workgroup_size'`</a>
* <a for=attribute lt=subgroup_size>`'subgroup_size'`</a>

### Built-in Value Names ### {#builtin-value-names}

Expand Down Expand Up @@ -8478,8 +8478,8 @@ The [=return type=], if specified, [=shader-creation error|must=] be [=construct

WGSL defines the following attributes that can be applied to function declarations:
* the [=shader stage attributes=]: [=attribute/vertex=], [=attribute/fragment=], and [=attribute/compute=]
* [=attribute/subgroup_size=]
* [=attribute/workgroup_size=]
* [=attribute/subgroup_size=]

WGSL defines the following attributes that can be applied to function
parameters and return types:
Expand Down Expand Up @@ -9379,8 +9379,8 @@ It will stabilize in a finite number of steps.

WGSL defines the following attributes that can be applied to entry point declarations:
* the [=shader stage attributes=]: [=attribute/vertex=], [=attribute/fragment=], and [=attribute/compute=]
* [=attribute/subgroup_size=]
* [=attribute/workgroup_size=]
* [=attribute/subgroup_size=]

<div class='example wgsl global-scope' heading='workgroup_size Attribute'>
<xmp highlight=wgsl>
Expand Down