Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d08b07cb04750fb136385b8f89616aca494429a4
      
https://github.com/WebKit/WebKit/commit/d08b07cb04750fb136385b8f89616aca494429a4
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2026-08-21 (Fri, 21 Aug 2026)

  Changed paths:
    M 
LayoutTests/http/tests/webgpu/webgpu/api/operation/adapter/requestDevice-expected.txt
    M 
LayoutTests/http/tests/webgpu/webgpu/api/operation/vertex_state/correctness-expected.txt
    M 
LayoutTests/http/tests/webgpu/webgpu/api/operation/vertex_state/correctness.spec.js
    M LayoutTests/http/tests/webgpu/webgpu/capability_info.js
    M 
LayoutTests/http/tests/webgpu/webgpu/shader/validation/parse/requires-expected.txt
    M Source/WebCore/Modules/WebGPU/GPUVertexFormat.h
    M Source/WebCore/Modules/WebGPU/GPUVertexFormat.idl
    M 
Source/WebCore/Modules/WebGPU/Implementation/WebGPUConvertToBackingContext.cpp
    M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPU.serialization.in
    M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUVertexFormat.h
    M Source/WebGPU/WebGPU/RenderPipeline.mm
    M Source/WebGPU/WebGPU/WebGPU.h
    M Source/WebKit/GPUProcess/graphics/Model/WebKitMesh.mm
    M Source/WebKit/WebProcess/Model/ModelInlineConverters.h

  Log Message:
  -----------
  Add "snorm10-10-10-2" to enum GPUVertexFormat.
https://bugs.webkit.org/show_bug.cgi?id=322155
rdar://185379686

Reviewed by Dan Glastonbury.

Add missing format now required by the specification.

* Source/WebCore/Modules/WebGPU/GPUVertexFormat.h:
(WebCore::convertToBacking):
* Source/WebCore/Modules/WebGPU/GPUVertexFormat.idl:
* 
Source/WebCore/Modules/WebGPU/Implementation/WebGPUConvertToBackingContext.cpp:
(WebCore::WebGPU::ConvertToBackingContext::convertToBacking):
* Source/WebCore/Modules/WebGPU/InternalAPI/WebGPU.serialization.in:
* Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUVertexFormat.h:
* Source/WebGPU/WebGPU/RenderPipeline.mm:
(WebGPU::vertexFormat):
(WebGPU::vertexFormatSize):
(WebGPU::name):
(WebGPU::formatType):
* Source/WebGPU/WebGPU/WebGPU.h:
* Source/WebKit/GPUProcess/graphics/Model/WebKitMesh.mm:
(WebModel::toMetal):
* Source/WebKit/WebProcess/Model/ModelInlineConverters.h:
(WebKit::toVertexFormat):

Test:

* 
LayoutTests/http/tests/webgpu/webgpu/api/operation/vertex_state/correctness.spec.js:
(makeRgb10a2Signed):
(normalizeRgb10a2Signed):
(VertexStateTest.prototype.generateTestData):
* LayoutTests/http/tests/webgpu/webgpu/capability_info.js:

Canonical link: https://commits.webkit.org/319603@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to