Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f902b0ca6829f66aa5bace73f887f55b0714d50c
https://github.com/WebKit/WebKit/commit/f902b0ca6829f66aa5bace73f887f55b0714d50c
Author: Tadeu Zagallo <[email protected]>
Date: 2026-04-07 (Tue, 07 Apr 2026)
Changed paths:
M
LayoutTests/http/tests/webgpu/webgpu/shader/validation/decl/var-expected.txt
M
LayoutTests/http/tests/webgpu/webgpu/shader/validation/expression/call/builtin/atomics-expected.txt
M Source/WebGPU/WGSL/IOValidator.cpp
M Source/WebGPU/WGSL/Parser.cpp
M Source/WebGPU/WGSL/WGSLEnums.h
M Tools/TestWebKitAPI/Tests/WGSL/shaders/array-vec3.wgsl
Log Message:
-----------
[WGSL] webgpu:shader,validation,decl,var:* is failing
https://bugs.webkit.org/show_bug.cgi?id=311245
rdar://173838628
Reviewed by Mike Wyrzykowski.
Correctly handle trailing commas in variable declarations and add missing checks
for which types of variables can accessed from a given pipeline stage.
* LayoutTests/http/tests/webgpu/webgpu/shader/validation/decl/var-expected.txt:
* Source/WebGPU/WGSL/IOValidator.cpp:
(WGSL::IOValidator::validateIO):
(WGSL::IOValidator::visit):
(WGSL::IOValidator::validateResources):
(WGSL::IOValidator::validateEntryPointIO):
(WGSL::validateIO):
* Source/WebGPU/WGSL/Parser.cpp:
(WGSL::Parser<Lexer>::parseVariableQualifier):
* Source/WebGPU/WGSL/WGSLEnums.h:
Canonical link: https://commits.webkit.org/310702@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications