[webkit-changes] [WebKit/WebKit] 7f34a7: [WebGPU] GPUDevice.createTexture incorrectly rejec...

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


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

  Changed paths:
    M LayoutTests/http/tests/webgpu/webgpu/api/validation/createTexture-expected.txt
    M LayoutTests/http/tests/webgpu/webgpu/api/validation/createTexture.spec.js
    M Source/WebGPU/WebGPU/Texture.mm

  Log Message:
  -----------
  [WebGPU] GPUDevice.createTexture incorrectly rejects 3D textures with render target usage.
https://bugs.webkit.org/show_bug.cgi?id=265903
<radar://119214724>

Reviewed by Dan Glastonbury.

Fix 3D texture creation and update createTexture validation expectations
to all passing.

* LayoutTests/http/tests/webgpu/webgpu/api/validation/createTexture.spec.js:
Update from ToT CTS.

* Source/WebGPU/WebGPU/Texture.mm:
(WebGPU::Device::errorValidatingTextureCreation):
Allow 3D textures as render targets.

* LayoutTests/http/tests/webgpu/webgpu/api/validation/createTexture-expected.txt:
All pass expectation generated from local run of createTexture.html test.

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




More information about the webkit-changes mailing list