这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@kdashg
Copy link
Contributor

@kdashg kdashg commented Mar 27, 2020

No description provided.

@kdashg kdashg added the wgsl WebGPU Shading Language Issues label Mar 27, 2020
@kdashg kdashg requested review from dj2 and kvark March 27, 2020 19:07
@kdashg
Copy link
Contributor Author

kdashg commented Mar 27, 2020

Addresses #616

: LOCATION INT_LITERAL
| BUILTIN builtin_decoration
| BINDING INT_LITERAL
| SET INT_LITERAL
Copy link
Member

Choose a reason for hiding this comment

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

The possible values for each decoration isn't defined anywhere anymore.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, listed now.

Copy link
Contributor

Choose a reason for hiding this comment

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

Can we not mix builtins and intrinsics together in this PR?
I don't see them being the same. The case about intrinsic functions is somewhat strong, since they are, well, functions. The case about builtins is not yet convincing to me and needs to be made first.

: LOCATION INT_LITERAL
| BUILTIN builtin_decoration
| BINDING INT_LITERAL
| SET INT_LITERAL
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we not mix builtins and intrinsics together in this PR?
I don't see them being the same. The case about intrinsic functions is somewhat strong, since they are, well, functions. The case about builtins is not yet convincing to me and needs to be made first.

@kdashg kdashg requested a review from kvark April 7, 2020 01:06
@grorg
Copy link
Contributor

grorg commented Apr 7, 2020

Discussed at the 2020-04-07 meeting.

@kdashg
Copy link
Contributor Author

kdashg commented Apr 7, 2020

Approved in meeting.

@kdashg kdashg merged commit 77d3936 into gpuweb:master Apr 7, 2020
@dj2 dj2 removed the for meeting label Apr 7, 2020
JusSn pushed a commit to JusSn/gpuweb that referenced this pull request Jun 8, 2020
* Move builtins and intrinsics out of the grammar.
* Add valid decoration values per key.
JusSn pushed a commit to JusSn/gpuweb that referenced this pull request Jun 8, 2020
* Move builtins and intrinsics out of the grammar.
* Add valid decoration values per key.
ben-clayton pushed a commit to ben-clayton/gpuweb that referenced this pull request Sep 6, 2022
…#655)

Tests that use fragment shaders that don't write to the output
must declare the color target with writeMask 0.

Spec PR: gpuweb#1918
Bug: crbug.com/dawn/962
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.

4 participants