RESOLVED FIXED265894
[WebGPU] Crash in ConstantValue::integerValue() because the activeType is float
https://bugs.webkit.org/show_bug.cgi?id=265894
Summary [WebGPU] Crash in ConstantValue::integerValue() because the activeType is float
Mike Wyrzykowski
Reported 2023-12-05 12:01:33 PST
The following WGSL source generates a crash in ConstantValue::integerValue() because the activeType is float: override x: u32 = 1u; override y: u32 = 1u; override z: u32 = 1u; @compute @workgroup_size(x, y, z) fn main () { _ = 0u; } Generated Metal code: #include <metal_stdlib> #include <metal_types> using namespace metal; constant unsigned global0 [[function_constant(0)]]; constant unsigned global1 [[function_constant(1)]]; constant unsigned global2 [[function_constant(2)]]; [[kernel]] void function0() { (void)(0u); }
Attachments
Radar WebKit Bug Importer
Comment 1 2023-12-05 12:01:57 PST
Mike Wyrzykowski
Comment 2 2023-12-05 12:33:08 PST
EWS
Comment 3 2023-12-08 10:25:25 PST
Committed 271743@main (81a7c89e229f): <https://commits.webkit.org/271743@main> Reviewed commits have been landed. Closing PR #21350 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.