[webkit-changes] [WebKit/WebKit] 4d2e76: [WGSL] Type::alignment should return 1 for bool

mwyrzykowski noreply at github.com
Tue Dec 5 10:34:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4d2e7619a5200f166ad98b550233f7c534655d33
      https://github.com/WebKit/WebKit/commit/4d2e7619a5200f166ad98b550233f7c534655d33
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2023-12-05 (Tue, 05 Dec 2023)

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

  Log Message:
  -----------
  [WGSL] Type::alignment should return 1 for bool
https://bugs.webkit.org/show_bug.cgi?id=265852
<radar://119169937>

Reviewed by Tadeu Zagallo.

Per the MSL specification, size and alignment of bool is 1.

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

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




More information about the webkit-changes mailing list