Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WebGPU] Queue::writeTexture may write outside its temporary buffer
https://bugs.webkit.org/show_bug.cgi?id=274171 <radar://128064885> Reviewed by Dan Glastonbury. bytesPerImage must be a multiple of the blockHeight, but the division was occurring outside the max() operation instead of inside the right hand side. * LayoutTests/TestExpectations: * LayoutTests/fast/webgpu/fuzz-274171-expected.txt: Added. * LayoutTests/fast/webgpu/fuzz-274171.html: Added. Add regression test. * Source/WebGPU/WebGPU/Queue.mm: (WebGPU::Queue::writeTexture): Canonical link: https://commits.webkit.org/279027@main
- Loading branch information