blob: 5315678331aca51e455a77eb6eee4b960f6629e5 [file] [log] [blame] [edit]
SKIP: FAILED
static uint var_1 = 0u;
void main_1() {
var_1 = 0u;
while (true) {
var_1 = 1u;
if (false) {
break;
}
}
var_1 = 999u;
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:15: error: Loop must have break.
Validation failed.