Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4a81f6651e9847a9d823023304a1378c3db25a80
      
https://github.com/WebKit/WebKit/commit/4a81f6651e9847a9d823023304a1378c3db25a80
  Author: Tadeu Zagallo <tzaga...@apple.com>
  Date:   2023-10-09 (Mon, 09 Oct 2023)

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

  Log Message:
  -----------
  [WGSL] Fix struct type size calculation
https://bugs.webkit.org/show_bug.cgi?id=262792
rdar://116583145

Reviewed by Mike Wyrzykowski.

Although the procedure for calculating the size and alignment was right, we
were visiting the fields out of order, which resulted in the wrong size.

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

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to