Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9a42882e26f10fead443c0bcf48d3f4e8b0e05da
      
https://github.com/WebKit/WebKit/commit/9a42882e26f10fead443c0bcf48d3f4e8b0e05da
  Author: Tadeu Zagallo <tzaga...@apple.com>
  Date:   2024-01-30 (Tue, 30 Jan 2024)

  Changed paths:
    M Source/WebGPU/WGSL/ConstantFunctions.h
    M Source/WebGPU/WGSL/tests/valid/overload.wgsl

  Log Message:
  -----------
  [WGSL] Bitcast needs to concretize abstract floats
https://bugs.webkit.org/show_bug.cgi?id=268380
rdar://121527210

Reviewed by Mike Wyrzykowski.

Bitcast doesn't concretize its arguments by default, since there's a special 
case
for conversions from abstract int to u32, so we need to explicitly concretize
abstract floats.

* Source/WebGPU/WGSL/ConstantFunctions.h:
(WGSL::CONSTANT_FUNCTION):
* Source/WebGPU/WGSL/tests/valid/overload.wgsl:

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


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

Reply via email to