Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9cf3c6cb2077104e655ebb47ae777b1e4d2ccd55
      
https://github.com/WebKit/WebKit/commit/9cf3c6cb2077104e655ebb47ae777b1e4d2ccd55
  Author: Tadeu Zagallo <[email protected]>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
    A Source/WebGPU/WGSL/tests/valid/fuzz-130088292.wgsl

  Log Message:
  -----------
  [WGSL] const_assert should not generate code
https://bugs.webkit.org/show_bug.cgi?id=275856
rdar://130088292

Reviewed by Mike Wyrzykowski.

The code generator was missing the entry for const_assert, so by default the 
assert
condition was being generated.

* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::FunctionDefinitionWriter::visit):
* Source/WebGPU/WGSL/tests/valid/fuzz-130088292.wgsl: Added.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to