Bug 273028
Summary: | [WebGPU] mapAsync shouldn't be calling getMappedRange on the entire buffer | ||
---|---|---|---|
Product: | WebKit | Reporter: | Mike Wyrzykowski <mwyrzykowski> |
Component: | WebGPU | Assignee: | Mike Wyrzykowski <mwyrzykowski> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | mwyrzykowski, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Mike Wyrzykowski
[WebGPU] mapAsync shouldn’t be calling getMappedRange on the entire buffer. The buffer could be 1GB for example, but the receiver only wants to read 16 bytes, we would pass 1GB from the GPU process to the web process unnecessarily.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/126800249>
Mike Wyrzykowski
Pull request: https://github.com/WebKit/WebKit/pull/27702
EWS
Committed 278286@main (065a0ff443f8): <https://commits.webkit.org/278286@main>
Reviewed commits have been landed. Closing PR #27702 and removing active labels.