2021-12-08 04:26:58 +00:00
|
|
|
SKIP: FAILED
|
|
|
|
|
|
|
|
static float4 gl_FragCoord = float4(0.0f, 0.0f, 0.0f, 0.0f);
|
|
|
|
cbuffer cbuffer_x_6 : register(b0, space0) {
|
|
|
|
uint4 x_6[1];
|
|
|
|
};
|
|
|
|
static float4 x_GLF_color = float4(0.0f, 0.0f, 0.0f, 0.0f);
|
|
|
|
|
|
|
|
void main_1() {
|
2022-09-29 16:53:58 +00:00
|
|
|
while (true) {
|
2021-12-08 04:26:58 +00:00
|
|
|
bool x_45 = false;
|
|
|
|
int x_48 = 0;
|
2023-03-02 09:25:40 +00:00
|
|
|
int x_50 = 0;
|
|
|
|
int x_52 = 0;
|
2021-12-08 04:26:58 +00:00
|
|
|
int x_49 = 0;
|
|
|
|
bool x_46 = false;
|
2023-03-02 09:25:40 +00:00
|
|
|
int x_111 = 0;
|
|
|
|
bool x_112 = false;
|
2021-12-08 04:26:58 +00:00
|
|
|
int x_115 = 0;
|
2023-03-02 09:25:40 +00:00
|
|
|
int x_118 = 0;
|
|
|
|
int x_120 = 0;
|
2021-12-08 04:26:58 +00:00
|
|
|
int x_116 = 0;
|
2023-03-02 09:25:40 +00:00
|
|
|
int x_161 = 0;
|
2021-12-08 04:26:58 +00:00
|
|
|
const float x_40 = asfloat(x_6[0].x);
|
|
|
|
const bool x_41 = (x_40 < -1.0f);
|
2023-03-02 09:25:40 +00:00
|
|
|
x_45 = false;
|
|
|
|
x_48 = 0;
|
|
|
|
x_50 = 0;
|
|
|
|
x_52 = 0;
|
2022-09-29 16:53:58 +00:00
|
|
|
while (true) {
|
2021-12-08 04:26:58 +00:00
|
|
|
int x_62 = 0;
|
|
|
|
int x_65 = 0;
|
2023-03-02 09:25:40 +00:00
|
|
|
int x_67 = 0;
|
2021-12-08 04:26:58 +00:00
|
|
|
int x_66 = 0;
|
|
|
|
int x_63 = 0;
|
2023-03-02 09:25:40 +00:00
|
|
|
int x_51 = 0;
|
2021-12-08 04:26:58 +00:00
|
|
|
int x_53 = 0;
|
|
|
|
const float x_55 = gl_FragCoord.y;
|
2023-03-02 09:25:40 +00:00
|
|
|
x_111 = x_48;
|
|
|
|
x_112 = x_45;
|
2021-12-08 04:26:58 +00:00
|
|
|
if ((x_52 < ((x_55 > -1.0f) ? 10 : 100))) {
|
|
|
|
} else {
|
|
|
|
break;
|
|
|
|
}
|
2023-03-02 09:25:40 +00:00
|
|
|
x_62 = x_48;
|
|
|
|
x_65 = x_50;
|
|
|
|
x_67 = 0;
|
2022-09-29 16:53:58 +00:00
|
|
|
while (true) {
|
2021-12-08 04:26:58 +00:00
|
|
|
int x_97 = 0;
|
|
|
|
int x_68 = 0;
|
2023-03-02 09:25:40 +00:00
|
|
|
x_51 = x_65;
|
|
|
|
x_49 = x_62;
|
|
|
|
x_46 = x_45;
|
2021-12-08 04:26:58 +00:00
|
|
|
if ((x_67 < 2)) {
|
|
|
|
} else {
|
|
|
|
break;
|
|
|
|
}
|
2022-09-29 16:53:58 +00:00
|
|
|
while (true) {
|
2021-12-08 04:26:58 +00:00
|
|
|
bool x_78 = false;
|
2023-03-02 09:25:40 +00:00
|
|
|
int x_86 = 0;
|
|
|
|
bool x_98 = false;
|
2021-12-08 04:26:58 +00:00
|
|
|
const float x_77 = gl_FragCoord.x;
|
|
|
|
x_78 = (x_77 < -1.0f);
|
|
|
|
if (!((x_40 < 0.0f))) {
|
|
|
|
if (x_78) {
|
2023-03-02 09:25:40 +00:00
|
|
|
x_66 = 0;
|
2021-12-08 04:26:58 +00:00
|
|
|
break;
|
|
|
|
}
|
2023-03-02 09:25:40 +00:00
|
|
|
x_86 = 1;
|
2022-09-29 16:53:58 +00:00
|
|
|
while (true) {
|
2021-12-08 04:26:58 +00:00
|
|
|
int x_87 = 0;
|
2023-03-02 09:25:40 +00:00
|
|
|
x_97 = x_65;
|
|
|
|
x_98 = false;
|
2021-12-08 04:26:58 +00:00
|
|
|
if ((x_86 < 3)) {
|
|
|
|
} else {
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
if (x_78) {
|
|
|
|
{
|
|
|
|
x_87 = (x_86 + 1);
|
2023-03-02 09:25:40 +00:00
|
|
|
x_86 = x_87;
|
2021-12-08 04:26:58 +00:00
|
|
|
}
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
if ((x_86 > 0)) {
|
2023-03-02 09:25:40 +00:00
|
|
|
x_97 = 1;
|
|
|
|
x_98 = true;
|
2021-12-08 04:26:58 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
x_87 = (x_86 + 1);
|
2023-03-02 09:25:40 +00:00
|
|
|
x_86 = x_87;
|
2021-12-08 04:26:58 +00:00
|
|
|
}
|
|
|
|
}
|
2023-03-02 09:25:40 +00:00
|
|
|
x_66 = x_97;
|
2021-12-08 04:26:58 +00:00
|
|
|
if (x_98) {
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
2023-03-02 09:25:40 +00:00
|
|
|
x_66 = 0;
|
2021-12-08 04:26:58 +00:00
|
|
|
break;
|
|
|
|
}
|
2023-03-02 09:25:40 +00:00
|
|
|
x_63 = (x_62 + x_66);
|
2021-12-08 04:26:58 +00:00
|
|
|
if (x_41) {
|
2022-09-29 16:53:58 +00:00
|
|
|
while (true) {
|
2021-12-08 04:26:58 +00:00
|
|
|
if (x_41) {
|
|
|
|
} else {
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
const float x_105 = float(x_52);
|
|
|
|
x_GLF_color = float4(x_105, x_105, x_105, x_105);
|
|
|
|
}
|
|
|
|
}
|
2023-03-02 09:25:40 +00:00
|
|
|
x_51 = x_66;
|
|
|
|
x_49 = x_63;
|
|
|
|
x_46 = true;
|
2021-12-08 04:26:58 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
x_68 = (x_67 + 1);
|
2023-03-02 09:25:40 +00:00
|
|
|
x_62 = x_63;
|
|
|
|
x_65 = x_66;
|
|
|
|
x_67 = x_68;
|
2021-12-08 04:26:58 +00:00
|
|
|
}
|
|
|
|
}
|
2023-03-02 09:25:40 +00:00
|
|
|
x_111 = x_49;
|
|
|
|
x_112 = x_46;
|
2021-12-08 04:26:58 +00:00
|
|
|
if (x_46) {
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
if (!(x_41)) {
|
2023-03-02 09:25:40 +00:00
|
|
|
x_111 = x_49;
|
|
|
|
x_112 = x_46;
|
2021-12-08 04:26:58 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
x_53 = (x_52 + 1);
|
2023-03-02 09:25:40 +00:00
|
|
|
x_45 = x_46;
|
|
|
|
x_48 = x_49;
|
|
|
|
x_50 = x_51;
|
|
|
|
x_52 = x_53;
|
2021-12-08 04:26:58 +00:00
|
|
|
}
|
|
|
|
}
|
2023-03-02 09:25:40 +00:00
|
|
|
if (x_112) {
|
2021-12-08 04:26:58 +00:00
|
|
|
break;
|
|
|
|
}
|
2023-03-02 09:25:40 +00:00
|
|
|
x_115 = x_111;
|
|
|
|
x_118 = 0;
|
|
|
|
x_120 = 0;
|
2022-09-29 16:53:58 +00:00
|
|
|
while (true) {
|
2021-12-08 04:26:58 +00:00
|
|
|
int x_154 = 0;
|
2023-03-02 09:25:40 +00:00
|
|
|
int x_119 = 0;
|
2021-12-08 04:26:58 +00:00
|
|
|
int x_121 = 0;
|
|
|
|
const float x_123 = asfloat(x_6[0].y);
|
2023-03-02 09:25:40 +00:00
|
|
|
x_161 = x_115;
|
2021-12-08 04:26:58 +00:00
|
|
|
if ((x_120 < int((x_123 + 1.0f)))) {
|
|
|
|
} else {
|
|
|
|
break;
|
|
|
|
}
|
2022-09-29 16:53:58 +00:00
|
|
|
while (true) {
|
2021-12-08 04:26:58 +00:00
|
|
|
bool x_135 = false;
|
2023-03-02 09:25:40 +00:00
|
|
|
int x_143 = 0;
|
|
|
|
bool x_155 = false;
|
2021-12-08 04:26:58 +00:00
|
|
|
const float x_134 = gl_FragCoord.x;
|
|
|
|
x_135 = (x_134 < -1.0f);
|
|
|
|
if (!((x_40 < 0.0f))) {
|
|
|
|
if (x_135) {
|
2023-03-02 09:25:40 +00:00
|
|
|
x_119 = 0;
|
2021-12-08 04:26:58 +00:00
|
|
|
break;
|
|
|
|
}
|
2023-03-02 09:25:40 +00:00
|
|
|
x_143 = 1;
|
2022-09-29 16:53:58 +00:00
|
|
|
while (true) {
|
2021-12-08 04:26:58 +00:00
|
|
|
int x_144 = 0;
|
2023-03-02 09:25:40 +00:00
|
|
|
x_154 = x_118;
|
|
|
|
x_155 = false;
|
2021-12-08 04:26:58 +00:00
|
|
|
if ((x_143 < 3)) {
|
|
|
|
} else {
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
if (x_135) {
|
|
|
|
{
|
|
|
|
x_144 = (x_143 + 1);
|
2023-03-02 09:25:40 +00:00
|
|
|
x_143 = x_144;
|
2021-12-08 04:26:58 +00:00
|
|
|
}
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
if ((x_143 > 0)) {
|
2023-03-02 09:25:40 +00:00
|
|
|
x_154 = 1;
|
|
|
|
x_155 = true;
|
2021-12-08 04:26:58 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
x_144 = (x_143 + 1);
|
2023-03-02 09:25:40 +00:00
|
|
|
x_143 = x_144;
|
2021-12-08 04:26:58 +00:00
|
|
|
}
|
|
|
|
}
|
2023-03-02 09:25:40 +00:00
|
|
|
x_119 = x_154;
|
2021-12-08 04:26:58 +00:00
|
|
|
if (x_155) {
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
2023-03-02 09:25:40 +00:00
|
|
|
x_119 = 0;
|
2021-12-08 04:26:58 +00:00
|
|
|
break;
|
|
|
|
}
|
2023-03-02 09:25:40 +00:00
|
|
|
x_116 = (x_115 + x_119);
|
2021-12-08 04:26:58 +00:00
|
|
|
if ((!(x_41) ? false : x_41)) {
|
2023-03-02 09:25:40 +00:00
|
|
|
x_161 = x_116;
|
2021-12-08 04:26:58 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
x_121 = (x_120 + 1);
|
2023-03-02 09:25:40 +00:00
|
|
|
x_115 = x_116;
|
|
|
|
x_118 = x_119;
|
|
|
|
x_120 = x_121;
|
2021-12-08 04:26:58 +00:00
|
|
|
}
|
|
|
|
}
|
2023-03-02 09:25:40 +00:00
|
|
|
if ((x_161 == 4)) {
|
2021-12-08 04:26:58 +00:00
|
|
|
x_GLF_color = float4(1.0f, 0.0f, 0.0f, 1.0f);
|
|
|
|
} else {
|
2022-07-26 14:23:24 +00:00
|
|
|
x_GLF_color = (0.0f).xxxx;
|
2021-12-08 04:26:58 +00:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
struct main_out {
|
|
|
|
float4 x_GLF_color_1;
|
|
|
|
};
|
|
|
|
struct tint_symbol_1 {
|
|
|
|
float4 gl_FragCoord_param : SV_Position;
|
|
|
|
};
|
|
|
|
struct tint_symbol_2 {
|
|
|
|
float4 x_GLF_color_1 : SV_Target0;
|
|
|
|
};
|
|
|
|
|
|
|
|
main_out main_inner(float4 gl_FragCoord_param) {
|
|
|
|
gl_FragCoord = gl_FragCoord_param;
|
|
|
|
main_1();
|
2023-03-02 09:25:40 +00:00
|
|
|
const main_out tint_symbol_3 = {x_GLF_color};
|
|
|
|
return tint_symbol_3;
|
2021-12-08 04:26:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tint_symbol_2 main(tint_symbol_1 tint_symbol) {
|
|
|
|
const main_out inner_result = main_inner(tint_symbol.gl_FragCoord_param);
|
|
|
|
tint_symbol_2 wrapper_result = (tint_symbol_2)0;
|
|
|
|
wrapper_result.x_GLF_color_1 = inner_result.x_GLF_color_1;
|
|
|
|
return wrapper_result;
|
|
|
|
}
|