blob: 67711f8cc1a6f033ecee5cb7a698c4d5677211bf [file] [log] [blame]
SKIP: FAILED
../../src/tint/lang/msl/writer/printer/printer.cc:500 internal compiler error: strided_arr = struct @align(4) {
el:f32 @offset(0)
}
buf0 = struct @align(4) {
x_GLF_uniform_float_values:array<strided_arr, 3> @offset(0)
}
main_out = struct @align(16) {
x_GLF_color_1:vec4<f32> @offset(0), @location(0)
}
$B1: { # root
%x_GLF_color:ptr<private, vec4<f32>, read_write> = var
%x_6:ptr<uniform, buf0, read> = var @binding_point(0, 0)
}
%main_1 = func():void {
$B2: {
%a:ptr<function, f32, read_write> = var
store %a, 1.40129846e-45f
%5:ptr<uniform, f32, read> = access %x_6, 0u, 1i, 0u
%6:f32 = load %5
%x_29:f32 = let %6
%8:vec4<f32> = construct %x_29, %x_29, %x_29, %x_29
store %x_GLF_color, %8
%9:f32 = load %a
%x_31:f32 = let %9
%11:ptr<uniform, f32, read> = access %x_6, 0u, 2i, 0u
%12:f32 = load %11
%x_33:f32 = let %12
%14:bool = lt %x_31, %x_33
if %14 [t: $B3] { # if_1
$B3: { # true
%15:ptr<uniform, f32, read> = access %x_6, 0u, 0i, 0u
%16:f32 = load %15
%x_38:f32 = let %16
%18:ptr<uniform, f32, read> = access %x_6, 0u, 1i, 0u
%19:f32 = load %18
%x_40:f32 = let %19
%21:ptr<uniform, f32, read> = access %x_6, 0u, 1i, 0u
%22:f32 = load %21
%x_42:f32 = let %22
%24:ptr<uniform, f32, read> = access %x_6, 0u, 0i, 0u
%25:f32 = load %24
%x_44:f32 = let %25
%27:vec4<f32> = construct %x_38, %x_40, %x_42, %x_44
store %x_GLF_color, %27
exit_if # if_1
}
}
ret
}
}
%tint_symbol = @fragment func():main_out {
$B4: {
%29:void = call %main_1
%30:vec4<f32> = load %x_GLF_color
%31:main_out = construct %30
ret %31
}
}
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. *
********************************************************************