[webkit-changes] [WebKit/WebKit] 0f9c15: [WebGPU] synchronizeResource: calls are missing fo...
mwyrzykowski
noreply at github.com
Tue Jul 23 11:22:59 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0f9c15e7690c41a7c3a439871eb3d1684813a70c
https://github.com/WebKit/WebKit/commit/0f9c15e7690c41a7c3a439871eb3d1684813a70c
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2024-07-23 (Tue, 23 Jul 2024)
Changed paths:
M Source/WebGPU/WebGPU/Buffer.mm
M Source/WebGPU/WebGPU/CommandEncoder.h
M Source/WebGPU/WebGPU/CommandEncoder.mm
M Source/WebGPU/WebGPU/Device.mm
M Source/WebGPU/WebGPU/HardwareCapabilities.mm
M Source/WebGPU/WebGPU/QuerySet.mm
M Source/WebGPU/WebGPU/Texture.mm
M Source/WebGPU/WebGPU/TextureView.mm
Log Message:
-----------
[WebGPU] synchronizeResource: calls are missing for non-UMA platforms
https://bugs.webkit.org/show_bug.cgi?id=276910
<radar://131950319>
Reviewed by Tadeu Zagallo.
Make sure sychronizeResource: and didModifyRange: calls occur when
needed for non-UMA platforms.
* Source/WebGPU/WebGPU/Buffer.mm:
(WebGPU::storageMode):
(WebGPU::Buffer::setCommandEncoder const):
(WebGPU::Buffer::unmap):
* Source/WebGPU/WebGPU/CommandEncoder.h:
* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::CommandEncoder::CommandEncoder):
(WebGPU::CommandEncoder::addBuffer):
(WebGPU::CommandEncoder::addTexture):
(WebGPU::CommandEncoder::finish):
* Source/WebGPU/WebGPU/Device.mm:
(WebGPU::Device::Device):
* Source/WebGPU/WebGPU/HardwareCapabilities.mm:
(WebGPU::maxBufferSize):
* Source/WebGPU/WebGPU/QuerySet.mm:
(WebGPU::QuerySet::setCommandEncoder const):
* Source/WebGPU/WebGPU/Texture.mm:
(WebGPU::Texture::setCommandEncoder const):
* Source/WebGPU/WebGPU/TextureView.mm:
(WebGPU::TextureView::setCommandEncoder const):
Canonical link: https://commits.webkit.org/281255@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