blob: 8572db8884f6483c1690ac28b421f41f9d0b8391 [file] [log] [blame]
Alastair Donaldsonf7e73d42021-07-23 13:10:12 +00001cbuffer cbuffer_x_6 : register(b0, space0) {
2 uint4 x_6[1];
3};
4static float4 x_GLF_color = float4(0.0f, 0.0f, 0.0f, 0.0f);
5
6void main_1() {
7 int i = 0;
8 const int x_26 = asint(x_6[0].x);
9 i = x_26;
10 while (true) {
11 if ((i > 0)) {
12 } else {
13 break;
14 }
15 i = (i - 1);
16 i = (i - 1);
17 }
18 if ((i == -1)) {
19 x_GLF_color = float4(1.0f, 0.0f, 0.0f, 1.0f);
20 } else {
21 x_GLF_color = float4(0.0f, 0.0f, 0.0f, 0.0f);
22 }
23 return;
24}
25
26struct main_out {
27 float4 x_GLF_color_1;
28};
29struct tint_symbol {
30 float4 x_GLF_color_1 : SV_Target0;
31};
32
James Pricea5d73ce2021-08-04 22:15:28 +000033main_out main_inner() {
Alastair Donaldsonf7e73d42021-07-23 13:10:12 +000034 main_1();
James Pricea5d73ce2021-08-04 22:15:28 +000035 const main_out tint_symbol_2 = {x_GLF_color};
36 return tint_symbol_2;
37}
38
39tint_symbol main() {
40 const main_out inner_result = main_inner();
41 tint_symbol wrapper_result = (tint_symbol)0;
42 wrapper_result.x_GLF_color_1 = inner_result.x_GLF_color_1;
43 return wrapper_result;
Alastair Donaldsonf7e73d42021-07-23 13:10:12 +000044}