WebKit
WebKit copied to clipboard
[WebGPU] Fix RenderPipeline color format validation
0756f8a30b32823b6da2b7d970481fa7cf37dade
[WebGPU] Fix RenderPipeline color format validation https://bugs.webkit.org/show_bug.cgi?id=270333 rdar://123810621 Reviewed by NOBODY (OOPS!). 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):
https://github.com/WebKit/WebKit/commit/0756f8a30b32823b6da2b7d970481fa7cf37dade
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/c41dfd72ae5fd3523de62ed091f751e3001f384c)
EWS run on current version of this PR (hash https://github.com/WebKit/WebKit/commit/0756f8a30b32823b6da2b7d970481fa7cf37dade)
Committed 275550@main (fcdb5d4b016f): https://commits.webkit.org/275550@main
Reviewed commits have been landed. Closing PR #25337 and removing active labels.
๐งช ios-wk2
๐งช api-wpe