FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Adds the `snorm10-10-10-2` vertex format to the WebGPU specification and WebIDL definition. by wangra-google · Pull Request #6491 · gpuweb/gpuweb · GitHub

/ gpuweb Public

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

Adds the snorm10-10-10-2 vertex format to the WebGPU specification and WebIDL definition.#6491
kainino0x merged 1 commit into
gpuweb:mainfrom
wangra-google:add-snorm10-10-10-2

Conversation

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

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 left a comment
edited
Loading

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

Copy link
Copy Markdown
Contributor

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

kainino0x merged commit da251f9 into gpuweb:main Aug 20, 2026
4 checks passed
kainino0x added api resolved Resolved - waiting for a change to the API specification api WebGPU API labels Aug 20, 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

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?

2 participants


Back | FazBrowse Home | New Git URL