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

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

  Log Message:
  -----------
  [WebGPU] setPipelineState fails when X32_Stencil8 attachment is used in a 
Stencil8 pipeline
https://bugs.webkit.org/show_bug.cgi?id=273021
<radar://126621251>

Reviewed by Tadeu Zagallo.

Calling setPipelineState with a Stencil8 format will fail so check
if we have such a mismatch before passing the validation check.

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

* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::CommandEncoder::clearTextureIfNeeded):
* Source/WebGPU/WebGPU/RenderPassEncoder.mm:
(WebGPU::RenderPassEncoder::colorDepthStencilTargetsMatch const):

Canonical link: https://commits.webkit.org/277856@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