Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: acbaa4f2a24bdd437164bcbb020e72ee27ea2932
      
https://github.com/WebKit/WebKit/commit/acbaa4f2a24bdd437164bcbb020e72ee27ea2932
  Author: Tadeu Zagallo <[email protected]>
  Date:   2023-05-22 (Mon, 22 May 2023)

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

  Log Message:
  -----------
  [WGSL] Add support for private global variables
https://bugs.webkit.org/show_bug.cgi?id=257034
rdar://109565923

Reviewed by Myles C. Maxfield.

Previously we only support global resources, this is the first iteration for
supporting global variables in the `private` address space.

* Source/WebGPU/WGSL/GlobalVariableRewriter.cpp:
(WGSL::RewriteGlobalVariables::visitEntryPoint):
(WGSL::RewriteGlobalVariables::determineUsedGlobals):
(WGSL::RewriteGlobalVariables::insertStructs):
(WGSL::RewriteGlobalVariables::insertParameters):
(WGSL::RewriteGlobalVariables::insertLocalDefinitions):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to