Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

beaufortfrancois
Copy link
Contributor

In an effort to move #4342 forward, this PR makes WebGPU spec not always require GPUProgrammableStage.entryPoint as discussed in https://github.com/gpuweb/gpuweb/wiki/GPU-Web-2023-11-08#default-entrypoints-to-shader-modules-4342-corentin-is-very-excited-about-this-tiny-addition

@kainino0x Can you have a look at this?

Copy link
Contributor

github-actions bot commented Nov 20, 2023

Previews, as seen when this build job started (de0524b):
WebGPU webgpu.idl | Explainer | Correspondence Reference
WGSL grammar.js | wgsl.lalr.txt

Copy link
Contributor

@Kangz Kangz left a comment

Choose a reason for hiding this comment

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

Yay! LGTM but let's wait for editors to merge.

@kainino0x kainino0x added this to the Milestone 1 milestone Nov 20, 2023
@kainino0x kainino0x linked an issue Nov 20, 2023 that may be closed by this pull request
Copy link
Contributor

@kainino0x kainino0x left a comment

Choose a reason for hiding this comment

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

LGTM with a bunch of editorial nits since we're here editing this

@kainino0x kainino0x enabled auto-merge (squash) November 20, 2023 23:09
@kainino0x kainino0x disabled auto-merge November 20, 2023 23:09
@kainino0x kainino0x enabled auto-merge (squash) November 20, 2023 23:11
@kainino0x kainino0x disabled auto-merge November 20, 2023 23:11
@kainino0x kainino0x enabled auto-merge (squash) November 20, 2023 23:11
@kainino0x kainino0x merged commit 86d0a94 into main Nov 20, 2023
@kainino0x kainino0x deleted the entryPoint branch November 20, 2023 23:27
copybara-service bot pushed a commit to google/dawn that referenced this pull request Nov 24, 2023
Spec: gpuweb/gpuweb#4387

Bug: dawn:2254
Change-Id: I51c67253b095f5daf59dac378624b6bc38fe524d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/161901
Reviewed-by: Corentin Wallez <[email protected]>
Commit-Queue: Fr <[email protected]>
Kokoro: Kokoro <[email protected]>
aarongable pushed a commit to chromium/chromium that referenced this pull request Nov 27, 2023
Intent to ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/k_gcnAUinT0
Spec: gpuweb/gpuweb#4387

Bug: dawn:2254
Change-Id: I134e2706c5104271b7ec12aaa25f801d7ba0e0e3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5057294
Reviewed-by: Corentin Wallez <[email protected]>
Commit-Queue: Fr <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1229320}
jimblandy added a commit to jimblandy/gpuweb that referenced this pull request Jan 31, 2024
Change references to `GPUProgrammableStage.entryPoint`, which is no
longer required (gpuweb#4387), to uses of the "get the entry point"
algorithm.

Rather than talking about resources "statically used" by a
GPUProgrammableStage, talk about resources "statically used" by a
specific entry point. Use "get the entry point" as necessary to
determine the relevant entry point.
jimblandy added a commit to jimblandy/gpuweb that referenced this pull request Feb 2, 2024
Change references to `GPUProgrammableStage.entryPoint`, which is no
longer required (gpuweb#4387), to uses of the "get the entry point"
algorithm.

Rather than talking about resources "statically used" by a
GPUProgrammableStage, talk about resources "statically used" by a
specific entry point. Use "get the entry point" as necessary to
determine the relevant entry point.
jimblandy added a commit to jimblandy/gpuweb that referenced this pull request Feb 2, 2024
Change references to `GPUProgrammableStage.entryPoint`, which is no
longer required (gpuweb#4387), to uses of the "get the entry point"
algorithm.

Rather than talking about resources "statically used" by a
GPUProgrammableStage, talk about resources "statically used" by a
specific entry point. Use "get the entry point" as necessary to
determine the relevant entry point.
jimblandy added a commit to jimblandy/gpuweb that referenced this pull request Feb 2, 2024
Change references to `GPUProgrammableStage.entryPoint`, which is no
longer required (gpuweb#4387), to uses of the "get the entry point"
algorithm.

Rather than talking about resources "statically used" by a
GPUProgrammableStage, talk about resources "statically used" by a
specific entry point. Use "get the entry point" as necessary to
determine the relevant entry point.
jimblandy added a commit that referenced this pull request Feb 2, 2024
Change references to `GPUProgrammableStage.entryPoint`, which is no
longer required (#4387), to uses of the "get the entry point"
algorithm.

Rather than talking about resources "statically used" by a
GPUProgrammableStage, talk about resources "statically used" by a
specific entry point. Use "get the entry point" as necessary to
determine the relevant entry point.
juj added a commit to juj/wasm_webgpu that referenced this pull request Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default entryPoints to shader modules
3 participants