blob: 470029e0bdf88364f28f45bfbb3dcc637af9fbd7 [file] [log] [blame]
SKIP: FAILED
<dawn>/src/tint/lang/msl/writer/printer/printer.cc:355 internal compiler error: buf0 = struct @align(8) {
injected: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 {
%m:ptr<function, i32, read_write> = var
store %x_GLF_color, vec4<f32>(1.0f, 0.0f, 0.0f, 1.0f)
%5:ptr<uniform, vec2<f32>, read> = access %x_5, 0u
%6:f32 = load_vector_element %5, 0u
%7:ptr<uniform, vec2<f32>, read> = access %x_5, 0u
%8:f32 = load_vector_element %7, 1u
%9:bool = gt %6, %8
if %9 [t: %b3] { # if_1
%b3 = block { # true
loop [b: %b4, c: %b5] { # loop_1
%b4 = block { # body
continue %b5
}
%b5 = block { # continuing
break_if true %b4
}
}
store %m, 1i
loop [b: %b6, c: %b7] { # loop_2
%b6 = block { # body
if true [t: %b8, f: %b9] { # if_2
%b8 = block { # true
exit_if # if_2
}
%b9 = block { # false
exit_loop # loop_2
}
}
store %x_GLF_color, vec4<f32>(1.0f, 0.0f, 0.0f, 1.0f)
continue %b7
}
%b7 = block { # continuing
next_iteration %b6
}
}
exit_if # if_1
}
}
ret
}
}
%tint_symbol = @fragment func():main_out -> %b10 {
%b10 = block {
%11:void = call %main_1
%12:vec4<f32> = load %x_GLF_color
%13:main_out = construct %12
ret %13
}
}
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. *
********************************************************************