2021-07-23 13:10:12 +00:00
|
|
|
static float4 gl_FragCoord = float4(0.0f, 0.0f, 0.0f, 0.0f);
|
|
|
|
cbuffer cbuffer_x_8 : register(b0, space0) {
|
|
|
|
uint4 x_8[1];
|
|
|
|
};
|
|
|
|
static float4 x_GLF_color = float4(0.0f, 0.0f, 0.0f, 0.0f);
|
|
|
|
|
|
|
|
void main_1() {
|
|
|
|
float a = 0.0f;
|
|
|
|
float b = 0.0f;
|
|
|
|
const float x_33 = gl_FragCoord.x;
|
|
|
|
a = ddx(cos(x_33));
|
|
|
|
const float x_37 = asfloat(x_8[0].x);
|
|
|
|
b = lerp(2.0f, x_37, a);
|
2021-07-26 17:34:58 +00:00
|
|
|
if (((b >= 1.899999976f) & (b <= 2.099999905f))) {
|
2021-07-23 13:10:12 +00:00
|
|
|
x_GLF_color = float4(1.0f, 0.0f, 0.0f, 1.0f);
|
|
|
|
} else {
|
|
|
|
x_GLF_color = float4(0.0f, 0.0f, 0.0f, 0.0f);
|
|
|
|
}
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
tint_symbol_2 main(tint_symbol_1 tint_symbol) {
|
|
|
|
const float4 gl_FragCoord_param = tint_symbol.gl_FragCoord_param;
|
|
|
|
gl_FragCoord = gl_FragCoord_param;
|
|
|
|
main_1();
|
|
|
|
const main_out tint_symbol_3 = {x_GLF_color};
|
|
|
|
const tint_symbol_2 tint_symbol_5 = {tint_symbol_3.x_GLF_color_1};
|
|
|
|
return tint_symbol_5;
|
|
|
|
}
|