Skip to content

Conversation

@dj2
Copy link
Member

@dj2 dj2 commented Jul 9, 2020

This CL updates the name of the kill command to be discard.

Fixes #911

This CL updates the name of the kill command to be discard.

Fixes #911
@dj2 dj2 added wgsl WebGPU Shading Language Issues for wgsl meeting labels Jul 9, 2020
@dj2 dj2 added this to the MVP milestone Jul 9, 2020
@dj2 dj2 self-assigned this Jul 9, 2020
@grorg
Copy link
Contributor

grorg commented Jul 14, 2020

Discussed at 2020-07-14 meeting.

Resolution was to accept this PR, but put a note saying there needs to be an investigation of the various API behaviours (new issue).

@kdashg kdashg merged commit 80f93cd into gpuweb:main Jul 14, 2020
@dj2 dj2 deleted the discard branch July 14, 2020 19:05
kdashg added a commit to kdashg/gpuweb that referenced this pull request May 25, 2022
HLSL has "demote (to helper)" behavior for `discard`, but GLSL has
"kill" behavior.
`kill` is less ambiguous. "Kill" is the verb used by e.g. SPIR-V, and it
more clearly contrasts with "demote" as a verb for the HLSL `discard`
behavior.

This effectively reverts gpuweb#918.
kdashg added a commit to kdashg/gpuweb that referenced this pull request May 28, 2022
HLSL has "demote (to helper)" behavior for `discard`, but GLSL has
"terminate" behavior.
`terminate` is less ambiguous. "Terminate" is the verb used by e.g. SPIR-V, and it
more clearly contrasts with "demote" as a verb for the HLSL `discard`
behavior.

This kind of reverts gpuweb#918.
kdashg added a commit to kdashg/gpuweb that referenced this pull request May 28, 2022
HLSL has "demote (to helper)" behavior for `discard`, but GLSL has
"terminate" behavior.
`terminate` is less ambiguous. "Terminate" is the verb used by e.g. SPIR-V, and it
more clearly contrasts with "demote" as a verb for the HLSL `discard`
behavior.

Also reserve `kill`, just in case.

This kind of reverts gpuweb#918.
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.

s/kill/discard/

5 participants