[webkit-changes] [WebKit/WebKit] 33e3b6: [WebGPU] Queue::writeTexture may write outside its...
mwyrzykowski
noreply at github.com
Mon May 20 17:38:26 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 33e3b624376351c570ad33875694b46fe9cfefd4
https://github.com/WebKit/WebKit/commit/33e3b624376351c570ad33875694b46fe9cfefd4
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2024-05-20 (Mon, 20 May 2024)
Changed paths:
M LayoutTests/TestExpectations
A LayoutTests/fast/webgpu/fuzz-274171-expected.txt
A LayoutTests/fast/webgpu/fuzz-274171.html
M Source/WebGPU/WebGPU/Queue.mm
Log Message:
-----------
[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
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