Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 404575f5005d1c14b716aed67a7a174ce12cba3b
      
https://github.com/WebKit/WebKit/commit/404575f5005d1c14b716aed67a7a174ce12cba3b
  Author: Tadeu Zagallo <tzaga...@apple.com>
  Date:   2023-05-30 (Tue, 30 May 2023)

  Changed paths:
    M Source/WebGPU/WGSL/ConstantRewriter.cpp
    M Source/WebGPU/WGSL/tests/valid/constants.wgsl

  Log Message:
  -----------
  [WGSL] Add support for constant arrays
https://bugs.webkit.org/show_bug.cgi?id=257459
rdar://109975459

Reviewed by Myles C. Maxfield.

Continue extending the ConstantRewriter phase by adding support for arrays

* Source/WebGPU/WGSL/ConstantRewriter.cpp:
(WGSL::ConstantArray::ConstantArray):
(WGSL::ConstantValue::ConstantValue):
(WGSL::ConstantValue::dump const):
(WGSL::ConstantRewriter::evaluate):
(WGSL::ConstantRewriter::materialize):

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


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

Reply via email to