Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dadb67ce019e3ff492a7cb2750d1f9163d2fad03
      
https://github.com/WebKit/WebKit/commit/dadb67ce019e3ff492a7cb2750d1f9163d2fad03
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2024-08-21 (Wed, 21 Aug 2024)

  Changed paths:
    M Source/WebGPU/WGSL/BoundsCheck.cpp
    M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp
    M Source/WebGPU/WGSL/WGSLShaderModule.h

  Log Message:
  -----------
  [WGSL] Use templates for standard library calls
https://bugs.webkit.org/show_bug.cgi?id=278317
rdar://134260190

Reviewed by Dan Glastonbury.

Ensure calls to min() are inlined.

* Source/WebGPU/WGSL/BoundsCheck.cpp:
(WGSL::BoundsCheckVisitor::visit):
* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::FunctionDefinitionWriter::emitNecessaryHelpers):
* Source/WebGPU/WGSL/WGSLShaderModule.h:
(WGSL::ShaderModule::usesMin const):
(WGSL::ShaderModule::setUsesMin):

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