[webkit-changes] [WebKit/WebKit] ec0105: [WebGPU] Forbid bottom types as struct members

Alex Christensen noreply at github.com
Thu Feb 29 20:48:16 PST 2024


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

  Changed paths:
    A LayoutTests/fast/webgpu/forbid-bottom-struct-member-expected.txt
    A LayoutTests/fast/webgpu/forbid-bottom-struct-member.html
    M Source/WebGPU/WGSL/TypeCheck.cpp

  Log Message:
  -----------
  [WebGPU] Forbid bottom types as struct members
https://bugs.webkit.org/show_bug.cgi?id=270266
rdar://123745671

Reviewed by Dan Glastonbury.

* LayoutTests/fast/webgpu/forbid-bottom-struct-member-expected.txt: Added.
* LayoutTests/fast/webgpu/forbid-bottom-struct-member.html: Added.
* Source/WebGPU/WGSL/ConstantFunctions.h:
(WGSL::zeroValue):
* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::convertValueImpl):

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