[webkit-changes] [WebKit/WebKit] c1f7a1: [WGSL] Resolve types for trivial expressions

Tadeu Zagallo noreply at github.com
Mon Feb 6 01:12:38 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c1f7a195ee667c8663770756c03533b3b649f4bd
      https://github.com/WebKit/WebKit/commit/c1f7a195ee667c8663770756c03533b3b649f4bd
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-02-06 (Mon, 06 Feb 2023)

  Changed paths:
    M Source/WebGPU/WGSL/TypeCheck.cpp

  Log Message:
  -----------
  [WGSL] Resolve types for trivial expressions
https://bugs.webkit.org/show_bug.cgi?id=251620
<rdar://problem/104968775>

Reviewed by Myles C. Maxfield.

Start populating the type checker with the easier types.

* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::check):
(WGSL::TypeChecker::visit):
(WGSL::TypeChecker::visitFunctionBody):
(WGSL::TypeChecker::infer):
(WGSL::TypeChecker::resolve):

Canonical link: https://commits.webkit.org/259881@main




More information about the webkit-changes mailing list