[webkit-changes] [WebKit/WebKit] 81a7c8: [WebGPU] Crash in ConstantValue::integerValue() be...

mwyrzykowski noreply at github.com
Fri Dec 8 10:25:34 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 81a7c89e229f5fd8c595c90f11054bd3b35c1d9c
      https://github.com/WebKit/WebKit/commit/81a7c89e229f5fd8c595c90f11054bd3b35c1d9c
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2023-12-08 (Fri, 08 Dec 2023)

  Changed paths:
    M Source/WebGPU/WebGPU/Pipeline.mm

  Log Message:
  -----------
  [WebGPU] Crash in ConstantValue::integerValue() because the activeType is float
https://bugs.webkit.org/show_bug.cgi?id=265894
<radar://119206116>

Reviewed by Tadeu Zagallo.

The wgslConstantValues should use the source name, not the mangledName.

We see the crash because the override was not found, so it returned an
empty value with default value of float.

* Source/WebGPU/WebGPU/Pipeline.mm:
(WebGPU::createConstantValues):

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




More information about the webkit-changes mailing list