Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: adfc948908fed09d7b6e88ad276dcb013d6442af
https://github.com/WebKit/WebKit/commit/adfc948908fed09d7b6e88ad276dcb013d6442af
Author: Myles C. Maxfield <[email protected]>
Date: 2023-02-06 (Mon, 06 Feb 2023)
Changed paths:
M Source/WebGPU/WebGPU/CommandEncoder.mm
M Source/WebGPU/WebGPU/QuerySet.h
M Source/WebGPU/WebGPU/QuerySet.mm
Log Message:
-----------
[WebGPU] Query set resolution shouldn't require a CPU/GPU sync point
https://bugs.webkit.org/show_bug.cgi?id=251781
<rdar://problem/105073755>
Reviewed by Dean Jackson.
Instead of round-tripping through the CPU, we can just use the existing blit
command encoder to enqueue
any operations we need to happen entirely on the GPU.
* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::CommandEncoder::resolveQuerySet):
* Source/WebGPU/WebGPU/QuerySet.h:
(WebGPU::QuerySet::device const):
* Source/WebGPU/WebGPU/QuerySet.mm:
(WebGPU::QuerySet::encodeResolveCommands const):
(WebGPU::QuerySet::resolveTimestamps const): Deleted.
Canonical link: https://commits.webkit.org/259932@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes