blob: fe9cd64a4544e22fb418fd22eb0cd66712199404 [file] [log] [blame] [edit]
SKIP: FAILED
static uint var_1 = 0u;
void main_1() {
while (true) {
var_1 = 1u;
if (false) {
break;
}
{
var_1 = 2u;
}
}
return;
}
void main() {
main_1();
return;
}
DXC validation failure:
warning: DXIL signing library (dxil.dll,libdxil.so) not found. Resulting DXIL will not be signed for use in release environments.
error: validation errors
shader.hlsl:16: error: Loop must have break.
Validation failed.