[webkit-changes] [WebKit/WebKit] f7b9c8: [WebGPU] Device::createTexture will crash if pixel...

mwyrzykowski noreply at github.com
Tue Feb 6 18:40:32 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f7b9c813aa24b340b6b3f0879c504db541266583
      https://github.com/WebKit/WebKit/commit/f7b9c813aa24b340b6b3f0879c504db541266583
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-02-06 (Tue, 06 Feb 2024)

  Changed paths:
    M Source/WebGPU/WebGPU/Texture.mm

  Log Message:
  -----------
  [WebGPU] Device::createTexture will crash if pixel format is invalid
https://bugs.webkit.org/show_bug.cgi?id=268839
<radar://122402160>

Reviewed by Dan Glastonbury.

Invalid pixel format is not allowed to create a texture or
texture view.

* Source/WebGPU/WebGPU/Texture.mm:
(WebGPU::Device::createTexture):
(WebGPU::Texture::createView):

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




More information about the webkit-changes mailing list