[webkit-changes] [WebKit/WebKit] 23ceea: [WebGPU] [Style] Pass a WGPUPrimitiveDepthClipCont...
Myles C. Maxfield
noreply at github.com
Sun May 21 12:51:21 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 23ceeab826f9cfc357724e3a419ecffce799b60a
https://github.com/WebKit/WebKit/commit/23ceeab826f9cfc357724e3a419ecffce799b60a
Author: Myles C. Maxfield <mmaxfield at apple.com>
Date: 2023-05-21 (Sun, 21 May 2023)
Changed paths:
M Source/WebCore/PAL/pal/graphics/WebGPU/Impl/WebGPUDeviceImpl.cpp
Log Message:
-----------
[WebGPU] [Style] Pass a WGPUPrimitiveDepthClipControl to WebGPU.framework whenever depth-clip-control is enabled
https://bugs.webkit.org/show_bug.cgi?id=257060
rdar://109588317
Reviewed by Dan Glastonbury.
This patch doesn't actually change behavior; it's just a style change.
The depth-clip-control feature allows the author to specify a boolean that determines whether depth is unclipped.
Before this patch, we're only telling WebGPU.framework about the value of the boolean if it was set to true.
However, it's a little more faithful to tell WebGPU about the boolean, whatever its value, any time the depth-clip-
control feature is enabled.
* Source/WebCore/PAL/pal/graphics/WebGPU/Impl/WebGPUDeviceImpl.cpp:
(PAL::WebGPU::convertToBacking):
(PAL::WebGPU::DeviceImpl::createRenderPipeline):
(PAL::WebGPU::DeviceImpl::createRenderPipelineAsync):
Canonical link: https://commits.webkit.org/264302@main
More information about the webkit-changes
mailing list