[webkit-changes] [WebKit/WebKit] be70bd: [WebGPU] createTexture should return a more indica...

mwyrzykowski noreply at github.com
Tue Dec 5 17:20:19 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: be70bd792301a6dd2a712247e2035e75f4b26ff0
      https://github.com/WebKit/WebKit/commit/be70bd792301a6dd2a712247e2035e75f4b26ff0
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2023-12-05 (Tue, 05 Dec 2023)

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

  Log Message:
  -----------
  [WebGPU] createTexture should return a more indicative error message on failure
https://bugs.webkit.org/show_bug.cgi?id=265900
<radar://119213551>

Reviewed by Dan Glastonbury.

It is easier to debug failures in the CTS and also for real websites
if the error generated is a little more descriptive.

* Source/WebGPU/WebGPU/Device.h:
* Source/WebGPU/WebGPU/Texture.mm:
(WebGPU::Device::errorValidatingTextureCreation):
(WebGPU::Device::createTexture):
(WebGPU::Device::validateCreateTexture): Deleted.

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




More information about the webkit-changes mailing list