2021-07-29 18:05:19 +00:00
|
|
|
static float4 color = float4(0.0f, 0.0f, 0.0f, 0.0f);
|
2021-07-23 13:10:12 +00:00
|
|
|
|
2021-07-29 18:05:19 +00:00
|
|
|
float3 drawShape_vf2_(inout float2 pos) {
|
|
|
|
bool c3 = false;
|
|
|
|
bool x_35_phi = false;
|
|
|
|
const float x_32 = pos.y;
|
|
|
|
const bool x_33 = (x_32 < 1.0f);
|
2021-07-23 13:10:12 +00:00
|
|
|
c3 = x_33;
|
|
|
|
x_35_phi = x_33;
|
2021-07-29 18:05:19 +00:00
|
|
|
{
|
|
|
|
for(; x_35_phi; x_35_phi = false) {
|
|
|
|
return float3(1.0f, 1.0f, 1.0f);
|
2021-07-23 13:10:12 +00:00
|
|
|
}
|
|
|
|
}
|
2021-07-29 18:05:19 +00:00
|
|
|
return float3(1.0f, 1.0f, 1.0f);
|
2021-07-23 13:10:12 +00:00
|
|
|
}
|
|
|
|
|
2021-07-29 18:05:19 +00:00
|
|
|
void main_1() {
|
|
|
|
float2 param = float2(0.0f, 0.0f);
|
|
|
|
param = float2(1.0f, 1.0f);
|
|
|
|
const float3 x_29 = drawShape_vf2_(param);
|
|
|
|
color = float4(1.0f, 0.0f, 0.0f, 1.0f);
|
2021-07-23 13:10:12 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
struct main_out {
|
2021-07-29 18:05:19 +00:00
|
|
|
float4 color_1;
|
|
|
|
};
|
|
|
|
struct tint_symbol {
|
|
|
|
float4 color_1 : SV_Target0;
|
2021-07-23 13:10:12 +00:00
|
|
|
};
|
|
|
|
|
2021-08-04 22:15:28 +00:00
|
|
|
main_out main_inner() {
|
2021-07-23 13:10:12 +00:00
|
|
|
main_1();
|
2021-07-29 18:05:19 +00:00
|
|
|
const main_out tint_symbol_1 = {color};
|
2021-08-04 22:15:28 +00:00
|
|
|
return tint_symbol_1;
|
|
|
|
}
|
|
|
|
|
|
|
|
tint_symbol main() {
|
|
|
|
const main_out inner_result = main_inner();
|
|
|
|
tint_symbol wrapper_result = (tint_symbol)0;
|
|
|
|
wrapper_result.color_1 = inner_result.color_1;
|
|
|
|
return wrapper_result;
|
2021-07-23 13:10:12 +00:00
|
|
|
}
|