[webkit-changes] [WebKit/WebKit] 7fcae8: [WGSL] validate that alignment is a multiple of Re...

mwyrzykowski noreply at github.com
Fri Sep 13 16:08:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7fcae8c7c3b8298f8e65bc899817d6d182ad4e31
      https://github.com/WebKit/WebKit/commit/7fcae8c7c3b8298f8e65bc899817d6d182ad4e31
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-09-13 (Fri, 13 Sep 2024)

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

  Log Message:
  -----------
  [WGSL] validate that alignment is a multiple of RequiredAlignOf(T,C)
https://bugs.webkit.org/show_bug.cgi?id=279604
rdar://135132177

Reviewed by Dan Glastonbury.

Validate that alignment is a multiple of RequiredAlignOf(T,C) as
required per https://www.w3.org/TR/WGSL/#align-attr

* Source/WebGPU/WGSL/AttributeValidator.cpp:
(WGSL::requiredAlignOf):
(WGSL::AttributeValidator::visit):

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