[webkit-changes] [WebKit/WebKit] 2c0707: [WGSL] Primitive structs should be constructible

Tadeu Zagallo noreply at github.com
Thu Feb 15 05:11:15 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2c0707cd6f7bed448b84c48e62d2bd8d759e2c6f
      https://github.com/WebKit/WebKit/commit/2c0707cd6f7bed448b84c48e62d2bd8d759e2c6f
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

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

  Log Message:
  -----------
  [WGSL] Primitive structs should be constructible
https://bugs.webkit.org/show_bug.cgi?id=269395
rdar://122965508

Reviewed by Mike Wyrzykowski.

Primitive structs were not being allowed in arrays, due to incorrectly
reporting that the type was not constructible, but my understanding of
the spec is that it should be.

* Source/WebGPU/WGSL/Types.cpp:
(WGSL::Type::isConstructible const):

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




More information about the webkit-changes mailing list