[webkit-changes] [WebKit/WebKit] badede: [WGSL] Fix small parser bugs

Tadeu Zagallo noreply at github.com
Wed Feb 21 08:12:30 PST 2024


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

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

  Log Message:
  -----------
  [WGSL] Fix small parser bugs
https://bugs.webkit.org/show_bug.cgi?id=269790
rdar://123311105

Reviewed by Mike Wyrzykowski.

We were missing a check for a semicolon after const_assert and trailing commas
in attributes, which caused a few CTS test failures.

* Source/WebGPU/WGSL/Parser.cpp:
(WGSL::Parser<Lexer>::parseConstAssert):
(WGSL::Parser<Lexer>::parseAttribute):

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