Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 965666e1f9dd69a52efd9c162b325be68bea104c
      
https://github.com/WebKit/WebKit/commit/965666e1f9dd69a52efd9c162b325be68bea104c
  Author: Tadeu Zagallo <[email protected]>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    M Source/WebGPU/WGSL/AST/ASTExpression.h
    M Source/WebGPU/WGSL/AST/ASTTypeName.h
    M Source/WebGPU/WGSL/TypeCheck.cpp

  Log Message:
  -----------
  [WGSL] Save inferred types in the AST
https://bugs.webkit.org/show_bug.cgi?id=253324
<rdar://problem/106199533>

Reviewed by Myles C. Maxfield.

Other phases depend on the type information generated during type
checking, so we store in the AST so they can use it later.

* Source/WebGPU/WGSL/AST/ASTExpression.h:
(WGSL::AST::Expression::inferredType const):
* Source/WebGPU/WGSL/AST/ASTTypeName.h:
(WGSL::AST::TypeName::resolvedType const):
* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::infer):
(WGSL::TypeChecker::resolve):

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


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

Reply via email to