Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: df86c2df8b080d365a046dc24ebf06093d069a9d
https://github.com/WebKit/WebKit/commit/df86c2df8b080d365a046dc24ebf06093d069a9d
Author: Mike Wyrzykowski <[email protected]>
Date: 2024-11-04 (Mon, 04 Nov 2024)
Changed paths:
A LayoutTests/fast/webgpu/nocrash/fuzz-282499-expected.html
A LayoutTests/fast/webgpu/nocrash/fuzz-282499-expected.txt
M Source/WebGPU/WebGPU/Queue.mm
M Source/WebGPU/WebGPU/Texture.mm
Log Message:
-----------
[WebGPU] Texture::bytesPerRow does not handle textureWidth which are not
divisible by the blockWidth
https://bugs.webkit.org/show_bug.cgi?id=282499
rdar://138789129
Reviewed by Tadeu Zagallo.
Instead of returning zero, add one to the required bytesPerRow when it is
not a multiple of the block size, as Metal expects this.
* LayoutTests/fast/webgpu/nocrash/fuzz-282499-expected.html: Added.
* LayoutTests/fast/webgpu/nocrash/fuzz-282499-expected.txt: Added.
Add regression test.
* Source/WebGPU/WebGPU/Texture.mm:
(WebGPU::Texture::bytesPerRow):
Canonical link: https://commits.webkit.org/286096@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes