Repository navigation
Adds the snorm10-10-10-2 vertex format to the WebGPU specification and WebIDL definition. - #6491
Merged
Merged
Conversation
…and WebIDL definition. * Adds `"snorm10-10-10-2"` to `enum GPUVertexFormat`. * Adds `snorm10-10-10-2` row to the Vertex Formats table (signed normalized, 4 components, 4 bytes,`vec4<f32>`). Fixes gpuweb#6292
Contributor
|
Previews, as seen when this build job started (562e5d5): |
2 of 8 tasks
kainino0x
approved these changes
Aug 20, 2026
Contributor
There was a problem hiding this comment.
LGTM. @jimblandy had mentioned we would need to explain the encoding of this format, but considering we don't do this for any other formats, and the encoding is the same as any other snorm format, I don't think we need it. The CTS already covers the actual testing of its encoding.
We'll resolve the feature detection question later, it's tracked in #5484
Contributor
|
Reviewing the minutes I think we have sufficient approval (and tests) to land this. Landing. |
1 of 5 tasks
kainino0x
pushed a commit
to webgpu-native/webgpu-headers
that referenced
this pull request
Sep 15, 2026
Add vertex-format snorm10-10-10-2 gpuweb/gpuweb#6491
0987654321dss
approved these changes
Oct 28, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
"snorm10-10-10-2"toenum GPUVertexFormat.snorm10-10-10-2row to the Vertex Formats table (signed normalized, 4 components, 4 bytes,vec4<f32>).Fixes #6292