blob: a6bf2d8e26b07c55c2a176a8ca420fbbd87d1ed0 [file] [log] [blame]
SKIP: FAILED
<dawn>/src/tint/lang/msl/writer/printer/printer.cc:355 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 = block { # root
%x_GLF_color:ptr<private, vec4<f32>, read_write> = var
%x_5:ptr<uniform, buf0, read> = var @binding_point(0, 0)
}
%main_1 = func():void -> %b2 {
%b2 = block {
%GLF_live12c5:ptr<function, bool, read_write> = var
store %x_GLF_color, vec4<f32>(1.0f, 0.0f, 0.0f, 1.0f)
loop [b: %b3, c: %b4] { # loop_1
%b3 = block { # body
%5:ptr<uniform, vec2<f32>, read> = access %x_5, 0u
%6:f32 = load_vector_element %5, 1u
%7:bool = lt %6, 0.0f
if %7 [t: %b5] { # if_1
%b5 = block { # true
store %GLF_live12c5, false
%8:bool = load %GLF_live12c5
if %8 [t: %b6, f: %b7] { # if_2
%b6 = block { # true
continue %b4
}
%b7 = block { # false
continue %b4
}
}
exit_if # if_1
}
}
exit_loop # loop_1
}
%b4 = block { # continuing
break_if true %b3
}
}
ret
}
}
%tint_symbol = @fragment func():main_out -> %b8 {
%b8 = block {
%10:void = call %main_1
%11:vec4<f32> = load %x_GLF_color
%12:main_out = construct %11
ret %12
}
}
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. *
********************************************************************