[webkit-changes] [WebKit/WebKit] 986082: [WGSL] Constant bitcast function does not handle v...

Tadeu Zagallo noreply at github.com
Thu Feb 15 04:48:56 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 986082f5bc52ce35c6dbaa13b4207b3a936e6779
      https://github.com/WebKit/WebKit/commit/986082f5bc52ce35c6dbaa13b4207b3a936e6779
  Author: Tadeu Zagallo <tzagallo at 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




More information about the webkit-changes mailing list