Skip to content

Adds the snorm10-10-10-2 vertex format to the WebGPU specification and WebIDL definition. - #6491

Merged
kainino0x merged 1 commit into
gpuweb:mainfrom
wangra-google:add-snorm10-10-10-2
Aug 20, 2026
Merged

kainino0x merged 1 commit into
gpuweb:mainfrom
wangra-google:add-snorm10-10-10-2

Conversation

@wangra-google

Copy link
Copy Markdown
Contributor
  • 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 #6292

…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
@github-actions

github-actions Bot commented Aug 19, 2026 •

Copy link
Copy Markdown
Contributor

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

@kainino0x kainino0x left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

@kainino0x

Copy link
Copy Markdown
Contributor

Reviewing the minutes I think we have sufficient approval (and tests) to land this. Landing.

@kainino0x
kainino0x merged commit da251f9 into gpuweb:main Aug 20, 2026
4 checks passed
@kainino0x kainino0x added api resolved Resolved - waiting for a change to the API specification api WebGPU API labels Aug 20, 2026
kainino0x pushed a commit to webgpu-native/webgpu-headers that referenced this pull request Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api resolved Resolved - waiting for a change to the API specification api WebGPU API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reconsider "snorm10-10-10-2" vertex format support?

3 participants