[webkit-changes] [WebKit/WebKit] 1139dc: [WGSL] Add typing for accessing fields of vector

Tadeu Zagallo noreply at github.com
Mon Feb 13 08:24:57 PST 2023


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

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

  Log Message:
  -----------
  [WGSL] Add typing for accessing fields of vector
https://bugs.webkit.org/show_bug.cgi?id=251843
<rdar://problem/105121069>

Reviewed by Myles C. Maxfield.

Continuing from #9743, expand the typing for field access expressions to also
work with vectors.

* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::visit):
(WGSL::TypeChecker::vectorFieldAccess):

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




More information about the webkit-changes mailing list