Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 31db0f6ee6a433c221719a930aab848e4bd871bd
      
https://github.com/WebKit/WebKit/commit/31db0f6ee6a433c221719a930aab848e4bd871bd
  Author: Mike Wyrzykowski <mwyrzykow...@apple.com>
  Date:   2024-04-22 (Mon, 22 Apr 2024)

  Changed paths:
    M LayoutTests/TestExpectations
    A LayoutTests/fast/webgpu/fuzz-273017-expected.txt
    A LayoutTests/fast/webgpu/fuzz-273017.html
    M Source/WebGPU/WebGPU/CommandEncoder.h
    M Source/WebGPU/WebGPU/CommandEncoder.mm
    M Source/WebGPU/WebGPU/RenderPassEncoder.mm

  Log Message:
  -----------
  [WebGPU] runClearEncoder may clear wrong depth slice for 3D textures
https://bugs.webkit.org/show_bug.cgi?id=273017
<radar://126621270>

Reviewed by Tadeu Zagallo.

When running the clear encoder for a render pass which draws no geometry,
we must use all the existing render targets otherwise the PSO won't match.

Also we weren't setting the depth slice so overlap on 3D textures was possible,
which is not allowed.

* LayoutTests/fast/webgpu/fuzz-273017-expected.txt: Added.
* LayoutTests/fast/webgpu/fuzz-273017.html: Added.
Add regression test.

* Source/WebGPU/WebGPU/CommandEncoder.h:
* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::CommandEncoder::runClearEncoder):
* Source/WebGPU/WebGPU/RenderPassEncoder.mm:
(WebGPU::m_maxDrawCount):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to