[webkit-changes] [WebKit/WebKit] ac2b49: [WebGPU] Texture::createView is non-functional for...

mwyrzykowski noreply at github.com
Tue Oct 10 04:52:23 PDT 2023


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

  Changed paths:
    M Source/WebCore/Modules/WebGPU/Implementation/WebGPUTextureImpl.cpp
    M Source/WebGPU/WebGPU/Texture.mm

  Log Message:
  -----------
  [WebGPU] Texture::createView is non-functional for 2D texture arrays
https://bugs.webkit.org/show_bug.cgi?id=262937>
<radar://116716108>

Reviewed by Dan Glastonbury and Tadeu Zagallo.

Texture::createView did not work for anything other than 1D, 2D, or 3D textures
unless the dimension was passed.

* Source/WebCore/Modules/WebGPU/Implementation/WebGPUTextureImpl.cpp:
(WebCore::WebGPU::TextureImpl::createView):
* Source/WebGPU/WebGPU/Texture.mm:
(WebGPU::Texture::resolveTextureViewDescriptorDefaults const):

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




More information about the webkit-changes mailing list