blob: 1c5c9aad711d50f8acc9070c9c8b293d12f1c513 [file] [log] [blame]
SKIP: FAILED
../../src/tint/lang/msl/writer/printer/printer.cc:500 internal compiler error: buf0 = struct @align(8) {
injectionSwitch:vec2<f32> @offset(0)
}
main_out = struct @align(16) {
x_GLF_color_1:vec4<f32> @offset(0), @location(0)
}
$B1: { # root
%x_6:ptr<uniform, buf0, read> = var @binding_point(0, 0)
%x_GLF_color:ptr<private, vec4<f32>, read_write> = var
}
%main_1 = func():void {
$B2: {
%height:ptr<function, f32, read_write> = var
store %height, 256.0f
%5:ptr<uniform, vec2<f32>, read> = access %x_6, 0u
%6:f32 = load_vector_element %5, 1u
%x_40:f32 = let %6
%8:bool = lt %x_40, 0.0f
if %8 [t: $B3] { # if_1
$B3: { # true
%9:f32 = load %height
%x_44:f32 = let %9
%11:vec4<f32> = construct 7612.9453125f, 797.010986328125f, %x_44, 9.0f
%12:vec4<f32> = mix vec4<f32>(30.18000030517578125f, 8840.0f, 469.970001220703125f, 18.2399997711181640625f), vec4<f32>(9.8999996185302734375f, 0.10000000149011611938f, 1169.5386962890625f, 55.79000091552734375f), %11
store %x_GLF_color, %12
exit_if # if_1
}
}
store %x_GLF_color, vec4<f32>(1.0f, 0.0f, 0.0f, 1.0f)
ret
}
}
%tint_symbol = @fragment func():main_out {
$B4: {
%14:void = call %main_1
%15:vec4<f32> = load %x_GLF_color
%16:main_out = construct %15
ret %16
}
}
unhandled variable address space
********************************************************************
* The tint shader compiler has encountered an unexpected error. *
* *
* Please help us fix this issue by submitting a bug report at *
* crbug.com/tint with the source program that triggered the bug. *
********************************************************************