-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WebGPU] GPUCanvasContext.configure() should validate the GPUTextureD…
…escriptor before creating the backing textures https://bugs.webkit.org/show_bug.cgi?id=271404 rdar://125183118 Reviewed by Tadeu Zagallo. The spec says we should validate the texture descriptor before creating the texures in GPUCanvasContext.configure() and we were not doing so. Doing so avoids crashes createTextureView() as the returned texture is invalid. * Source/WebGPU/WebGPU/Device.h: * Source/WebGPU/WebGPU/PresentationContextIOSurface.mm: (WebGPU::PresentationContextIOSurface::configure): Canonical link: https://commits.webkit.org/276648@main
- Loading branch information
1 parent
c33f546
commit 313a887
Showing
2 changed files
with
30 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters