blob: 56602147e64b478cb4cd20df3ebe01b6b2d0474e [file] [log] [blame]
SKIP: FAILED
<dawn>/src/tint/lang/msl/writer/printer/printer.cc:1110 internal compiler error: %b1 = block { # root
%tex:ptr<handle, texture_storage_2d<r32sint, read_write>, read> = var @binding_point(0, 2)
}
%foo = func():void -> %b2 {
%b2 = block {
loop [i: %b3, b: %b4, c: %b5] { # loop_1
%b3 = block { # initializer
%i:ptr<function, i32, read_write> = var, 0i
next_iteration %b4
}
%b4 = block { # body
%4:i32 = load %i
%5:bool = lt %4, 3i
if %5 [t: %b6, f: %b7] { # if_1
%b6 = block { # true
exit_if # if_1
}
%b7 = block { # false
exit_loop # loop_1
}
}
continue %b5
}
%b5 = block { # continuing
%6:texture_storage_2d<r32sint, read_write> = load %tex
%7:void = textureStore %6, vec2<i32>(0i), vec4<i32>(0i)
next_iteration %b4
}
}
ret
}
}
invalid access control for storage texture
********************************************************************
* 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. *
********************************************************************