[webkit-changes] [WebKit/WebKit] 4098a1: TypeChecker::visit should set zeroValue for arrays...

Alex Christensen noreply at github.com
Thu Feb 29 20:44:45 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4098a18a57d8b50fa8970688171dba7bd6ef71d7
      https://github.com/WebKit/WebKit/commit/4098a18a57d8b50fa8970688171dba7bd6ef71d7
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2024-02-29 (Thu, 29 Feb 2024)

  Changed paths:
    A LayoutTests/fast/webgpu/type-checker-array-without-argument-expected.txt
    A LayoutTests/fast/webgpu/type-checker-array-without-argument.html
    M Source/WebGPU/WGSL/TypeCheck.cpp

  Log Message:
  -----------
  TypeChecker::visit should set zeroValue for arrays without arguments
https://bugs.webkit.org/show_bug.cgi?id=270230
rdar://123745652

Reviewed by Tadeu Zagallo.

This matches what we do with ConstantStruct.

* LayoutTests/fast/webgpu/type-checker-array-bounds-expected.txt: Added.
* LayoutTests/fast/webgpu/type-checker-array-bounds.html: Added.
* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::visit):

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