Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WebGPU] RGBA16Float canvas context isn't created correctly #28666

Conversation

mwyrzykowski
Copy link
Contributor

@mwyrzykowski mwyrzykowski commented May 16, 2024

8e0baad

[WebGPU] RGBA16Float canvas context isn't created correctly
https://bugs.webkit.org/show_bug.cgi?id=274270
radar://128064803

Reviewed by Dan Glastonbury.

Logic for creating RGBA16Float backings was wrong for the double
and triple buffer, correct and add regression test.

* LayoutTests/TestExpectations:
* LayoutTests/fast/webgpu/fuzz-274270-expected.txt: Added.
* LayoutTests/fast/webgpu/fuzz-274270.html: Added.
* Source/WebGPU/WebGPU/PresentationContextIOSurface.mm:
(WebGPU::PresentationContextIOSurface::configure):

Canonical link: https://commits.webkit.org/278955@main

153e6e5

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe βœ… πŸ›  wincairo
βœ… πŸ›  ios-sim βœ… πŸ›  mac-AS-debug βœ… πŸ§ͺ wpe-wk2 βœ… πŸ§ͺ wincairo-tests
βœ… πŸ§ͺ webkitperl βœ… πŸ§ͺ ios-wk2 βœ… πŸ§ͺ api-mac βœ… πŸ§ͺ api-wpe
βœ… πŸ§ͺ ios-wk2-wpt βœ… πŸ§ͺ mac-wk1 βœ… πŸ›  wpe-cairo
βœ… πŸ§ͺ api-ios βœ… πŸ§ͺ mac-wk2 βœ… πŸ›  gtk
βœ… πŸ›  tv βœ… πŸ§ͺ mac-AS-debug-wk2 βœ… πŸ§ͺ gtk-wk2
βœ… πŸ›  tv-sim βœ… πŸ§ͺ mac-wk2-stress βœ… πŸ§ͺ api-gtk
βœ… πŸ›  πŸ§ͺ merge βœ… πŸ›  watch
βœ… πŸ›  watch-sim

@mwyrzykowski mwyrzykowski self-assigned this May 16, 2024
@mwyrzykowski mwyrzykowski added the WebGPU For bugs in WebGPU label May 16, 2024
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label May 16, 2024
@mwyrzykowski mwyrzykowski removed the merging-blocked Applied to prevent a change from being merged label May 16, 2024
@mwyrzykowski mwyrzykowski requested a review from djg May 17, 2024 23:19
Copy link
Contributor

@djg djg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@mwyrzykowski mwyrzykowski added the merge-queue Applied to send a pull request to merge-queue label May 18, 2024
https://bugs.webkit.org/show_bug.cgi?id=274270
radar://128064803

Reviewed by Dan Glastonbury.

Logic for creating RGBA16Float backings was wrong for the double
and triple buffer, correct and add regression test.

* LayoutTests/TestExpectations:
* LayoutTests/fast/webgpu/fuzz-274270-expected.txt: Added.
* LayoutTests/fast/webgpu/fuzz-274270.html: Added.
* Source/WebGPU/WebGPU/PresentationContextIOSurface.mm:
(WebGPU::PresentationContextIOSurface::configure):

Canonical link: https://commits.webkit.org/278955@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/WebGPU-RGBA16Float-canvas-context-isnt-created-correctly branch from 153e6e5 to 8e0baad Compare May 18, 2024 16:17
@webkit-commit-queue
Copy link
Collaborator

Committed 278955@main (8e0baad): https://commits.webkit.org/278955@main

Reviewed commits have been landed. Closing PR #28666 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 8e0baad into WebKit:main May 18, 2024
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebGPU For bugs in WebGPU
Projects
None yet
5 participants