-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Chrome 143 WebGPU texture-component-swizzle feature #28411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
chrisdavidmills
merged 13 commits into
mdn:main
from
chrisdavidmills:webgpu-texture-component-swizzle-feature
Dec 8, 2025
Merged
Changes from 3 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
b183df6
Chrome 143 WebGPU texture-component-swizzle feature
chrisdavidmills f0e207a
Merge branch 'main' into webgpu-texture-component-swizzle-feature
caugner dd9861c
Merge branch 'main' into webgpu-texture-component-swizzle-feature
caugner 1acad6d
Merge branch 'main' into webgpu-texture-component-swizzle-feature
chrisdavidmills a382b98
Update api/GPUTexture.json
chrisdavidmills 089d6f4
Update api/GPUTexture.json
chrisdavidmills b3a96b8
Update api/GPUTexture.json
chrisdavidmills 3d1a0ce
Update api/GPUTexture.json
chrisdavidmills eec7d4f
Update api/GPUTexture.json
chrisdavidmills 6f9a5b2
Update api/GPUTexture.json
chrisdavidmills 1b0e5f9
Run ci and fix, add missing comma
chrisdavidmills f5a1049
Merge branch 'main' into webgpu-texture-component-swizzle-feature
chrisdavidmills 1c7927a
Merge branch 'main' into webgpu-texture-component-swizzle-feature
chrisdavidmills File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand that this is note is pre-existing, but what does it mean for web developers? Are there certain things that don't work, and why does it not justify
partial_implementation: true?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a feature that represents the basic, core featureset of WebGPU without requesting any extra features or advanced featuresets (which may well follow in the future). It is always available unless your GPU Adapter is set to "compatibility mode". I'm not 100% sure why they needed a specific feature name to represent the feature status quo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha, but then, based on the spec, isn't the Chrome note just describing the expected behavior of this feature? And could therefore be removed?
If I understand correctly,
GPURequestAdapterOptions.featureLeveldefaults to "core", which includes this feature. This would explain to me that it is available "even if not requested", but this isn't Chrome-specific.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is still going to be supported at different times by different browsers. I also suspect that, depending on the environment you are running WebGPU in, it might not always be the case that it is always enabled by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha, so it provides useful information for web developers that may avoid webcompat issues, once another engine adds support.