Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fcdb5d4b016f49f0fc3c205f8cb37b7269e55312
      
https://github.com/WebKit/WebKit/commit/fcdb5d4b016f49f0fc3c205f8cb37b7269e55312
  Author: Alex Christensen <[email protected]>
  Date:   2024-03-01 (Fri, 01 Mar 2024)

  Changed paths:
    A LayoutTests/fast/webgpu/render-bundle-validation-color-format-expected.txt
    A LayoutTests/fast/webgpu/render-bundle-validation-color-format.html
    M Source/WebGPU/WebGPU/RenderPipeline.mm

  Log Message:
  -----------
  [WebGPU] Fix RenderPipeline color format validation
https://bugs.webkit.org/show_bug.cgi?id=270333
rdar://123810621

Reviewed by Mike Wyrzykowski.

If fragment.targetCount is not equal to descriptor.colorFormatCount then we 
want to
verify that all color formats are undefined.  Otherwise, we want to verify that 
they
are all equal to the descriptor color formats.

* LayoutTests/fast/webgpu/render-bundle-validation-color-format-expected.txt: 
Added.
* LayoutTests/fast/webgpu/render-bundle-validation-color-format.html: Added.
* Source/WebGPU/WebGPU/RenderPipeline.mm:
(WebGPU::RenderPipeline::validateRenderBundle const):

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



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

Reply via email to