[webkit-changes] [WebKit/WebKit] 1a858a: [WGSL] @size should only be allowed on members wit...

Tadeu Zagallo noreply at github.com
Wed Feb 12 09:53:36 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1a858a70092a0da3e01de5109e57f2fd53c80c9f
      https://github.com/WebKit/WebKit/commit/1a858a70092a0da3e01de5109e57f2fd53c80c9f
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

  Changed paths:
    A LayoutTests/fast/webgpu/nocrash/repro_144542199-expected.txt
    A LayoutTests/fast/webgpu/nocrash/repro_144542199.html
    M Source/WebGPU/WGSL/AttributeValidator.cpp

  Log Message:
  -----------
  [WGSL] @size should only be allowed on members with creation-fixed footprint
https://bugs.webkit.org/show_bug.cgi?id=287487
rdar://144542199

Reviewed by Mike Wyrzykowski.

A check was missing in AttributeValidator that the member @size was applied to
must have creation-fixed footprint [1].

[1]: https://www.w3.org/TR/WGSL/#size-attr

* LayoutTests/fast/webgpu/nocrash/repro_144542199-expected.txt: Added.
* LayoutTests/fast/webgpu/nocrash/repro_144542199.html: Added.
* Source/WebGPU/WGSL/AttributeValidator.cpp:
(WGSL::AttributeValidator::visit):

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