Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e6b8fd3541abc95135ee9a6a16ab045b53990117
      
https://github.com/WebKit/WebKit/commit/e6b8fd3541abc95135ee9a6a16ab045b53990117
  Author: Tadeu Zagallo <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to