Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: adb9b5b4d062cead39ef3c810986d07e6a11190b
      
https://github.com/WebKit/WebKit/commit/adb9b5b4d062cead39ef3c810986d07e6a11190b
  Author: Tadeu Zagallo <[email protected]>
  Date:   2023-05-25 (Thu, 25 May 2023)

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

  Log Message:
  -----------
  [WGSL] Set correct default var access mode based on address space
https://bugs.webkit.org/show_bug.cgi?id=257270
rdar://109786719

Reviewed by Mike Wyrzykowski.

In case the user speficies the address space when declaring a `var`, but no 
access
mode, the default access mode is dependent on the access mode.
Spec table for reference: https://www.w3.org/TR/WGSL/#address-space

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

Canonical link: https://commits.webkit.org/264561@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to