[webkit-changes] [WebKit/WebKit] 1e28db: [WebGPU] Destroyed Device leads to validation erro...
mwyrzykowski
noreply at github.com
Fri Jun 7 09:27:59 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1e28db88d215147fda0c7816571ef401334fa16c
https://github.com/WebKit/WebKit/commit/1e28db88d215147fda0c7816571ef401334fa16c
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
A LayoutTests/fast/webgpu/nocrash/fuzz-275228-expected.txt
A LayoutTests/fast/webgpu/nocrash/fuzz-275228.html
M Source/WebGPU/WebGPU/RenderPassEncoder.mm
Log Message:
-----------
[WebGPU] Destroyed Device leads to validation errors in render pipeline
https://bugs.webkit.org/show_bug.cgi?id=275228
<radar://129354702>
Reviewed by Dan Glastonbury.
We need to return early if the Device is destroyed, since setting a nil
PSO will fail the validation layer.
* Source/WebGPU/WebGPU/RenderPassEncoder.mm:
(WebGPU::RenderPassEncoder::clampIndexBufferToValidValues):
(WebGPU::RenderPassEncoder::clampIndirectIndexBufferToValidValues):
(WebGPU::RenderPassEncoder::clampIndirectBufferToValidValues):
(WebGPU::RenderPassEncoder::executeBundles):
Canonical link: https://commits.webkit.org/279815@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list