Bug 264111
Summary: | [WebGPU] Buffer synchronization is implemented incorrectly leading to data races between the CPU and GPU | ||
---|---|---|---|
Product: | WebKit | Reporter: | Mike Wyrzykowski <mwyrzykowski> |
Component: | WebGPU | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Mike Wyrzykowski
[WebGPU] Buffer synchronization is implemented incorrectly leading to data races between the CPU and GPU
Specifically, calling GPUCommandEncoder.copyXToBuffer() and then mapping the buffer contents returns the pointer, but the copy command may still be in flight.
This leads to data races
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/117869389>
Mike Wyrzykowski
Pull request: https://github.com/WebKit/WebKit/pull/19938
EWS
Committed 270195@main (1ab3947e3854): <https://commits.webkit.org/270195@main>
Reviewed commits have been landed. Closing PR #19938 and removing active labels.