Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 986082f5bc52ce35c6dbaa13b4207b3a936e6779
      
https://github.com/WebKit/WebKit/commit/986082f5bc52ce35c6dbaa13b4207b3a936e6779
  Author: Tadeu Zagallo <tzaga...@apple.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M Source/WebGPU/WGSL/ConstantFunctions.h

  Log Message:
  -----------
  [WGSL] Constant bitcast function does not handle vectors of doubles
https://bugs.webkit.org/show_bug.cgi?id=269391
rdar://122293522

Reviewed by Mike Wyrzykowski.

Bitcast needs to accept abstract values due to special edge cases, but it also
needs to concretize the values for the default case. We were missing a 
conversion
from double (abstract float) to f32 when bitcasting between vectors of different
sizes.

* Source/WebGPU/WGSL/ConstantFunctions.h:
(WGSL::CONSTANT_FUNCTION):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to