Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b9692262ea64c2a55f54c6008115d0f565630788
https://github.com/WebKit/WebKit/commit/b9692262ea64c2a55f54c6008115d0f565630788
Author: Tadeu Zagallo <[email protected]>
Date: 2026-03-10 (Tue, 10 Mar 2026)
Changed paths:
M LayoutTests/fast/webgpu/nocrash/fuzz-284937.html
M LayoutTests/fast/webgpu/nocrash/fuzz-293750.html
M
LayoutTests/http/tests/webgpu/webgpu/shader/validation/shader_io/interpolate-expected.txt
M LayoutTests/platform/mac-wk2/TestExpectations
M Source/WebGPU/WGSL/AttributeValidator.cpp
M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
M Source/WebGPU/WGSL/Parser.cpp
M Tools/TestWebKitAPI/Tests/WGSL/shaders/struct.wgsl
Log Message:
-----------
[WGSL] webgpu:shader,validation,shader_io,interpolate:* is failing
https://bugs.webkit.org/show_bug.cgi?id=309023
rdar://148085740
Reviewed by Mike Wyrzykowski.
We were missing validations around which interpolation sampling are allowed for
each interpolation type, as well as missing validation for required
interpolation
annotations for integer inputs and outputs.
*
LayoutTests/http/tests/webgpu/webgpu/shader/validation/shader_io/interpolate-expected.txt:
* Source/WebGPU/WGSL/AST/ASTInterpolateAttribute.h:
* Source/WebGPU/WGSL/AttributeValidator.cpp:
(WGSL::AttributeValidator::validateInterpolation):
(WGSL::AttributeValidator::validateIO):
(WGSL::AttributeValidator::validateInterpolationIO):
(WGSL::AttributeValidator::validateStructIO):
* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::convertToSampleMode):
(WGSL::Metal::FunctionDefinitionWriter::visit):
* Source/WebGPU/WGSL/Parser.cpp:
(WGSL::Parser<Lexer>::parseAttribute):
Canonical link: https://commits.webkit.org/308968@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications