blob: 3cc9cde906cc981c02e6e0bf9b36f966c334fbfe [file] [log] [blame] [edit]
static float4 position = float4(0.0f, 0.0f, 0.0f, 0.0f);
static float4 frag_color = float4(0.0f, 0.0f, 0.0f, 0.0f);
static float4 gl_Position = float4(0.0f, 0.0f, 0.0f, 0.0f);
void main_1() {
gl_Position = position;
frag_color = (position * 0.5f);
return;
}
struct main_out {
float4 gl_Position;
float4 frag_color_1;
};
struct tint_symbol_1 {
float4 position_param : TEXCOORD0;
};
struct tint_symbol_2 {
float4 frag_color_1 : TEXCOORD1;
float4 gl_Position : SV_Position;
};
tint_symbol_2 main(tint_symbol_1 tint_symbol) {
const float4 position_param = tint_symbol.position_param;
position = position_param;
main_1();
const main_out tint_symbol_3 = {gl_Position, frag_color};
const tint_symbol_2 tint_symbol_4 = {tint_symbol_3.frag_color_1, tint_symbol_3.gl_Position};
return tint_symbol_4;
}