Skip to content

[wgsl] Change attributes to be c++ style. - #1080

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

dj2 merged 1 commit into
gpuweb:mainfrom
dj2:attrs

Conversation

@dj2

@dj2 dj2 commented Sep 15, 2020

Copy link
Copy Markdown
Member

This CL updates the existing attributes to use a c++ function syntax
instead of spaces.

Issue #1067

This CL updates the existing attributes to use a c++ function syntax
instead of spaces.

Issue #1067
@dj2 dj2 added the wgsl WebGPU Shading Language Issues label Sep 15, 2020
@dj2 dj2 added this to the MVP milestone Sep 15, 2020
@dj2
dj2 requested a review from dneto0 September 15, 2020 20:20
@dj2 dj2 self-assigned this Sep 15, 2020
@dj2
dj2 requested a review from kvark September 16, 2020 12:57

@kvark kvark left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I thought the group agreed on making the grammar not aware of the exact decorators? This would make this change a bit simpler, but it's ok to land either way :)

@dj2

dj2 commented Sep 16, 2020

Copy link
Copy Markdown
Member Author

I don't remember that decision, it may have been when I wasn't present. So, none of the decorations like offset, location, etc would be in the spec? That seems like it will make it really hard to use them as you have to refer to another document to see what they are?

@dj2
dj2 merged commit 3dbb792 into gpuweb:main Sep 16, 2020
@dj2
dj2 deleted the attrs branch September 16, 2020 13:24
@kvark

kvark commented Sep 16, 2020

Copy link
Copy Markdown
Contributor

That's #689. Perhaps, "the group agreed" is an overstatement. I only recall my own concerns on this issue voiced, and @jdashg talked me out of them :)

ben-clayton pushed a commit to ben-clayton/gpuweb that referenced this pull request Sep 6, 2022
It's a little disconcerting that the live CTS takes so long to load.
Here's one idea for putting something in that would let some progress
show.

Maybe we should also not add the buttons, or make them unclickable,
until loading has finished?

Note: I was going to use CustomEvent instead of MessageEvent but
CustomEvent does not exist in node 😭
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.

2 participants