[webkit-changes] [WebKit/WebKit] 76b7c6: [WebGPU] WGPUTextureFormat_Stencil8 is not depth r...
mwyrzykowski
noreply at github.com
Mon Mar 20 22:22:56 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 76b7c6ce160c1c3475cad66b276ea9919131dc85
https://github.com/WebKit/WebKit/commit/76b7c6ce160c1c3475cad66b276ea9919131dc85
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2023-03-20 (Mon, 20 Mar 2023)
Changed paths:
M Source/WebGPU/WebGPU/CommandEncoder.mm
Log Message:
-----------
[WebGPU] WGPUTextureFormat_Stencil8 is not depth renderable
https://bugs.webkit.org/show_bug.cgi?id=254162
<radar://106949583>
Reviewed by Myles C. Maxfield.
Stencil only formats should not set the depth state.
* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::CommandEncoder::beginRenderPass):
(WebGPU::isStencilOnlyFormat):
Add helper.
Canonical link: https://commits.webkit.org/261907@main
More information about the webkit-changes
mailing list