[webkit-changes] [WebKit/WebKit] 679ba4: [WGSL] shader, validation, shader_io, locations:* is ...

Tadeu Zagallo noreply at github.com
Thu Mar 21 07:46:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 679ba4ca58bd1cf47630c787a690a711bff917de
      https://github.com/WebKit/WebKit/commit/679ba4ca58bd1cf47630c787a690a711bff917de
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2024-03-21 (Thu, 21 Mar 2024)

  Changed paths:
    M LayoutTests/http/tests/webgpu/webgpu/shader/validation/shader_io/locations-expected.txt
    M Source/WebGPU/WGSL/AttributeValidator.cpp

  Log Message:
  -----------
  [WGSL] shader,validation,shader_io,locations:* is failing
https://bugs.webkit.org/show_bug.cgi?id=271258
rdar://125026498

Reviewed by Mike Wyrzykowski.

Add the validation for location attributes according to the spec[1].

[1]: https://www.w3.org/TR/WGSL/#user-defined-inputs-outputs

* LayoutTests/http/tests/webgpu/webgpu/shader/validation/shader_io/locations-expected.txt:
* Source/WebGPU/WGSL/AttributeValidator.cpp:
(WGSL::AttributeValidator::validateIO):
(WGSL::AttributeValidator::validateLocationIO):
(WGSL::AttributeValidator::validateStructIO):

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