Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 83fd54401969985f7bb8f5650926298b4bbf142d
      
https://github.com/WebKit/WebKit/commit/83fd54401969985f7bb8f5650926298b4bbf142d
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2024-01-18 (Thu, 18 Jan 2024)

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

  Log Message:
  -----------
  [WebGPU] shader,validation,parse,attribute,* crashes when run
https://bugs.webkit.org/show_bug.cgi?id=267709
<radar://121200436>

Reviewed by Tadeu Zagallo.

constantValue may be std::nullopt, so check its value
prior to continuing.

The shader,validation,parse,attribute:expressions:value=%22override%22;
pass after this change.

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

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


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

Reply via email to