Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 644537567f5ee493e65511597205600e123d5880
https://github.com/WebKit/WebKit/commit/644537567f5ee493e65511597205600e123d5880
Author: Mike Wyrzykowski <[email protected]>
Date: 2024-02-09 (Fri, 09 Feb 2024)
Changed paths:
M Source/WebGPU/WebGPU/CommandEncoder.mm
M Source/WebGPU/WebGPU/RenderPassEncoder.h
M Source/WebGPU/WebGPU/RenderPassEncoder.mm
Log Message:
-----------
[WebGPU] GPURenderPassEncoder.beginOcclusionQuery should work with destroyed
buffers
https://bugs.webkit.org/show_bug.cgi?id=269016
<radar://122577504>
Reviewed by Dan Glastonbury.
If the occlusion query buffer is destroyed, its visibility buffer
size will be zero but the specification still expects operations
to work on the destroyed query set.
* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::CommandEncoder::beginRenderPass):
* Source/WebGPU/WebGPU/RenderPassEncoder.h:
* Source/WebGPU/WebGPU/RenderPassEncoder.mm:
(WebGPU::RenderPassEncoder::occlusionQueryIsDestroyed const):
(WebGPU::RenderPassEncoder::beginOcclusionQuery):
(WebGPU::RenderPassEncoder::endOcclusionQuery):
(WebGPU::RenderPassEncoder::endPass):
Canonical link: https://commits.webkit.org/274372@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes