[webkit-changes] [WebKit/WebKit] a33ef3: [WebGPU] webgpu:api, operation, resource_init, * does...

mwyrzykowski noreply at github.com
Fri Jan 5 18:58:00 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a33ef31297cfc2779c26322595583f7a722bccf7
      https://github.com/WebKit/WebKit/commit/a33ef31297cfc2779c26322595583f7a722bccf7
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-01-05 (Fri, 05 Jan 2024)

  Changed paths:
    M LayoutTests/http/tests/webgpu/webgpu/api/operation/resource_init/buffer-expected.txt
    M Source/WebGPU/WebGPU/CommandEncoder.h
    M Source/WebGPU/WebGPU/CommandEncoder.mm
    M Source/WebGPU/WebGPU/RenderPassEncoder.mm

  Log Message:
  -----------
  [WebGPU] webgpu:api,operation,resource_init,* does not pass
https://bugs.webkit.org/show_bug.cgi?id=264552
<radar://118217988>

Reviewed by Tadeu Zagallo.

Correct how textures are cleared when attempting to load contents which
were not previously written, which gets all of resource_init,* passing.

* LayoutTests/http/tests/webgpu/webgpu/api/operation/resource_init/buffer-expected.txt:
Add passing expectations.

* Source/WebGPU/WebGPU/CommandEncoder.h:
* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::loadAction):
(WebGPU::storeAction):
(WebGPU::createSimplePso):
(WebGPU::CommandEncoder::runClearEncoder):
(WebGPU::CommandEncoder::beginRenderPass):
(WebGPU::CommandEncoder::finish):
* Source/WebGPU/WebGPU/RenderPassEncoder.mm:
(WebGPU::RenderPassEncoder::endPass):

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




More information about the webkit-changes mailing list