blob: 8f6bba60cf471d053ada8c5d16f2afca2b56385e [file] [log] [blame]
SKIP: FAILED
<dawn>/src/tint/lang/msl/writer/printer/printer.cc:355 internal compiler error: %b1 = block { # root
%non_uniform_global:ptr<storage, i32, read_write> = var @binding_point(0, 0)
%output:ptr<storage, f32, read_write> = var @binding_point(0, 1)
}
%foo = func():void -> %b2 {
%b2 = block {
%4:i32 = load %non_uniform_global
%5:bool = lt %4, 0i
if %5 [t: %b3] { # if_1
%b3 = block { # true
discard
exit_if # if_1
}
}
ret
}
}
%bar = func():void -> %b4 {
%b4 = block {
%7:f32 = dpdx 1.0f
store %output, %7
ret
}
}
%tint_symbol = @fragment func():void -> %b5 {
%b5 = block {
%9:void = call %foo
%10:void = call %bar
ret
}
}
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. *
********************************************************************