[webkit-changes] [WebKit/WebKit] 2d31db: [WGSL] Global sort does not check max expression d...

Tadeu Zagallo noreply at github.com
Wed Feb 14 02:49:41 PST 2024


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

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

  Log Message:
  -----------
  [WGSL] Global sort does not check max expression depth in parameters
https://bugs.webkit.org/show_bug.cgi?id=269305
rdar://122293551

Reviewed by Mike Wyrzykowski.

We check for maximum expression depth in GlobalSorting, but while visiting parameters
we visit further the parameter type, which allows for expressions that exceed the max
depth to occur in the parameter's attributes.

* Source/WebGPU/WGSL/GlobalSorting.cpp:
(WGSL::GraphBuilder::visit):

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




More information about the webkit-changes mailing list