[webkit-changes] [WebKit/WebKit] 9d9b9b: [WGSL] Global sorting tries to print the name of a...

Tadeu Zagallo noreply at github.com
Wed Feb 21 08:03:14 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9d9b9bba0c3d53e06df2af6da84463b83165226c
      https://github.com/WebKit/WebKit/commit/9d9b9bba0c3d53e06df2af6da84463b83165226c
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2024-02-21 (Wed, 21 Feb 2024)

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

  Log Message:
  -----------
  [WGSL] Global sorting tries to print the name of a const_assert
https://bugs.webkit.org/show_bug.cgi?id=269787
rdar://123238821

Reviewed by Mike Wyrzykowski.

A const_assert can never be part of a dependency cycle, but it can be visited
while the cycle is being computed. In that case, a debug logging was trying to
print the name of the const_assert, which resulted in an assertion failure.

* Source/WebGPU/WGSL/GlobalSorting.cpp:
(WGSL::nameForDeclaration):
(WGSL::Graph::addEdge):
(WGSL::reorder):

Canonical link: https://commits.webkit.org/275097@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