Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 49086958646a97b86ad766a8e3187f876069954f
      
https://github.com/WebKit/WebKit/commit/49086958646a97b86ad766a8e3187f876069954f
  Author: Tadeu Zagallo <[email protected]>
  Date:   2025-04-01 (Tue, 01 Apr 2025)

  Changed paths:
    M Source/WebGPU/WGSL/GlobalVariableRewriter.cpp
    M Source/WebGPU/WGSL/wgslc.cpp

  Log Message:
  -----------
  [WGSL] wgslc should compile all entry points by default
https://bugs.webkit.org/show_bug.cgi?id=290517
rdar://147999783

Reviewed by Mike Wyrzykowski.

Previously, when passing `_` as the entry point name to wgslc it ignored the 
error
that entry point does not exist, but it also did not compile any entry points.
Change the behavior so all entry points are compiled instead, since that 
information
is already available in the call graph. Also makes the `_` argument optional, so
invoking it with `wgslc <file>` compiles all entry points by default.

* Source/WebGPU/WGSL/wgslc.cpp:
(printUsageStatement):
(CommandLine::parseArguments):
(runWGSL):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to