Skip to content

Convert attribute lists to allow multiple entries. - #1083

Merged
dj2 merged 1 commit into
gpuweb:mainfrom
dj2:attrs
Sep 17, 2020
Merged

dj2 merged 1 commit into
gpuweb:mainfrom
dj2:attrs

Conversation

@dj2

@dj2 dj2 commented Sep 16, 2020

Copy link
Copy Markdown
Member

Previously you could only have a single attribute group for anything
which required attributes. This Cl updates to allow the attributes to be
provided in separate groupings.

[[binding(1), set(0)]]

is equivalent to

[[binding(1)]]
[[set(0)]]

Fixes #1067

Previously you could only have a single attribute group for anything
which required attributes. This Cl updates to allow the attributes to be
provided in separate groupings.

```
[[binding(1), set(0)]]
```
is equivalent to
```
[[binding(1)]]
[[set(0)]]
```

Fixes #1067
@dj2 dj2 added the wgsl WebGPU Shading Language Issues label Sep 16, 2020
@dj2 dj2 added this to the MVP milestone Sep 16, 2020
@dj2
dj2 requested review from dneto0 and kvark September 16, 2020 17:06
@dj2 dj2 self-assigned this Sep 16, 2020
@dj2
dj2 merged commit 08ba1ed into gpuweb:main Sep 17, 2020
@dj2
dj2 deleted the attrs branch September 17, 2020 02:37
ben-clayton pushed a commit to ben-clayton/gpuweb that referenced this pull request Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wgsl WebGPU Shading Language Issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Determine the syntax for attributes

2 participants