[webkit-changes] [WebKit/WebKit] 3aa8c0: [WebGPU] Incorrect default value for GPUPrimitiveS...

Tadeu Zagallo noreply at github.com
Mon May 22 01:34:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3aa8c01094ba1d3765933b98ed4aca3f796d7c74
      https://github.com/WebKit/WebKit/commit/3aa8c01094ba1d3765933b98ed4aca3f796d7c74
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-05-22 (Mon, 22 May 2023)

  Changed paths:
    M Source/WebCore/PAL/pal/graphics/WebGPU/Impl/WebGPUDeviceImpl.cpp

  Log Message:
  -----------
  [WebGPU] Incorrect default value for GPUPrimitiveState.topology
https://bugs.webkit.org/show_bug.cgi?id=257024
rdar://109564272

Reviewed by Myles C. Maxfield.

Although the IDL has the correct default value, while converting between
PAL::WebGPU::RenderPipelineDescriptor and WGPURenderPipelineDescriptor,
we set the topology to `point-list` when not explicitly specified.

* Source/WebCore/PAL/pal/graphics/WebGPU/Impl/WebGPUDeviceImpl.cpp:
(PAL::WebGPU::convertToBacking):

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




More information about the webkit-changes mailing list