[webkit-changes] [WebKit/WebKit] f8d79c: [WGSL] Validate function parameter and return types

Tadeu Zagallo noreply at github.com
Wed Feb 21 08:40:55 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f8d79cb3381c3e2e52f3f2fa7aa0c8f3e54e63a9
      https://github.com/WebKit/WebKit/commit/f8d79cb3381c3e2e52f3f2fa7aa0c8f3e54e63a9
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2024-02-21 (Wed, 21 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] Validate function parameter and return types
https://bugs.webkit.org/show_bug.cgi?id=269727
rdar://123238787

Reviewed by Mike Wyrzykowski.

Validate function parameters and return types according to the spec[1].

[1]: https://www.w3.org/TR/WGSL/#function-restriction

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

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list