[webkit-changes] [WebKit/WebKit] e6b8fd: [WGSL] shader, validation, decl, ptr_spelling:* is fa...
Tadeu Zagallo
noreply at github.com
Mon Feb 5 06:11:32 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e6b8fd3541abc95135ee9a6a16ab045b53990117
https://github.com/WebKit/WebKit/commit/e6b8fd3541abc95135ee9a6a16ab045b53990117
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2024-02-05 (Mon, 05 Feb 2024)
Changed paths:
M Source/WebGPU/WGSL/TypeCheck.cpp
M Source/WebGPU/WGSL/Types.cpp
M Source/WebGPU/WGSL/Types.h
Log Message:
-----------
[WGSL] shader,validation,decl,ptr_spelling:* is failing
https://bugs.webkit.org/show_bug.cgi?id=268646
rdar://122197533
Reviewed by Mike Wyrzykowski.
Add the extra validation to ptr types to pass the tests.
* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::TypeChecker):
(WGSL::TypeChecker::visit):
* Source/WebGPU/WGSL/Types.cpp:
(WGSL::Type::isStorable const):
(WGSL::Type::containsRuntimeArray const):
* Source/WebGPU/WGSL/Types.h:
Canonical link: https://commits.webkit.org/274094@main
More information about the webkit-changes
mailing list