2021-07-23 13:10:12 +00:00
|
|
|
SKIP: FAILED
|
|
|
|
|
|
|
|
static float4 x_GLF_color = float4(0.0f, 0.0f, 0.0f, 0.0f);
|
|
|
|
cbuffer cbuffer_x_5 : register(b1, space0) {
|
|
|
|
uint4 x_5[2];
|
|
|
|
};
|
|
|
|
cbuffer cbuffer_x_7 : register(b2, space0) {
|
|
|
|
uint4 x_7[1];
|
|
|
|
};
|
|
|
|
cbuffer cbuffer_x_10 : register(b0, space0) {
|
|
|
|
uint4 x_10[2];
|
|
|
|
};
|
|
|
|
|
|
|
|
void main_1() {
|
|
|
|
int i = 0;
|
2023-03-02 09:25:40 +00:00
|
|
|
const float x_38 = asfloat(x_5[0].x);
|
2021-07-23 13:10:12 +00:00
|
|
|
x_GLF_color = float4(x_38, x_38, x_38, x_38);
|
|
|
|
const float x_41 = asfloat(x_7[0].x);
|
2023-03-02 09:25:40 +00:00
|
|
|
const float x_43 = asfloat(x_5[0].x);
|
2021-07-23 13:10:12 +00:00
|
|
|
if ((x_41 > x_43)) {
|
2022-09-29 16:53:58 +00:00
|
|
|
while (true) {
|
2021-07-23 13:10:12 +00:00
|
|
|
const float x_53 = asfloat(x_5[1].x);
|
|
|
|
x_GLF_color = float4(x_53, x_53, x_53, x_53);
|
|
|
|
{
|
2023-03-02 09:25:40 +00:00
|
|
|
if (false) { break; }
|
2021-07-23 13:10:12 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
2022-09-29 16:53:58 +00:00
|
|
|
while (true) {
|
|
|
|
while (true) {
|
2021-07-23 13:10:12 +00:00
|
|
|
if (true) {
|
|
|
|
} else {
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
const int x_13 = asint(x_10[1].x);
|
|
|
|
i = x_13;
|
2022-09-29 16:53:58 +00:00
|
|
|
while (true) {
|
2021-07-23 13:10:12 +00:00
|
|
|
const int x_14 = i;
|
2023-03-02 09:25:40 +00:00
|
|
|
const int x_15 = asint(x_10[0].x);
|
2021-07-23 13:10:12 +00:00
|
|
|
if ((x_14 < x_15)) {
|
|
|
|
} else {
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
const float x_73 = asfloat(x_5[1].x);
|
2023-03-02 09:25:40 +00:00
|
|
|
const float x_75 = asfloat(x_5[0].x);
|
|
|
|
const float x_77 = asfloat(x_5[0].x);
|
2021-07-23 13:10:12 +00:00
|
|
|
const float x_79 = asfloat(x_5[1].x);
|
|
|
|
x_GLF_color = float4(x_73, x_75, x_77, x_79);
|
|
|
|
{
|
2023-03-02 09:25:40 +00:00
|
|
|
const int x_16 = i;
|
|
|
|
i = (x_16 + 1);
|
2021-07-23 13:10:12 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
const float x_82 = asfloat(x_7[0].x);
|
2023-03-02 09:25:40 +00:00
|
|
|
const float x_84 = asfloat(x_5[0].x);
|
|
|
|
if (!((x_82 > x_84))) { break; }
|
2021-07-23 13:10:12 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
struct main_out {
|
|
|
|
float4 x_GLF_color_1;
|
|
|
|
};
|
|
|
|
struct tint_symbol {
|
|
|
|
float4 x_GLF_color_1 : SV_Target0;
|
|
|
|
};
|
|
|
|
|
2021-12-08 04:26:58 +00:00
|
|
|
main_out main_inner() {
|
2021-07-23 13:10:12 +00:00
|
|
|
main_1();
|
2023-03-02 09:25:40 +00:00
|
|
|
const main_out tint_symbol_1 = {x_GLF_color};
|
|
|
|
return tint_symbol_1;
|
2021-12-08 04:26:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tint_symbol main() {
|
|
|
|
const main_out inner_result = main_inner();
|
|
|
|
tint_symbol wrapper_result = (tint_symbol)0;
|
|
|
|
wrapper_result.x_GLF_color_1 = inner_result.x_GLF_color_1;
|
|
|
|
return wrapper_result;
|
2021-07-23 13:10:12 +00:00
|
|
|
}
|
2022-07-26 14:23:24 +00:00
|
|
|
DXC validation failure:
|
2023-03-02 09:25:40 +00:00
|
|
|
warning: DXIL signing library (dxil.dll,libdxil.so) not found. Resulting DXIL will not be signed for use in release environments.
|
2022-07-26 14:23:24 +00:00
|
|
|
|
2022-04-08 14:18:28 +00:00
|
|
|
error: validation errors
|
2023-03-02 09:25:40 +00:00
|
|
|
shader.hlsl:77: error: Loop must have break.
|
2022-04-08 14:18:28 +00:00
|
|
|
Validation failed.
|
|
|
|
|
|
|
|
|
2021-07-23 13:10:12 +00:00
|
|
|
|