mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 09:08:22 -05:00
28 lines
473 B
Text
28 lines
473 B
Text
varying vec2 xlv_VPOS;
|
|
vec4 xlat_main (
|
|
in vec2 pos_1
|
|
)
|
|
{
|
|
vec4 tmpvar_2;
|
|
tmpvar_2.zw = vec2(0.0, 0.0);
|
|
tmpvar_2.xy = pos_1.xy;
|
|
return tmpvar_2;
|
|
}
|
|
|
|
void main ()
|
|
{
|
|
vec4 xl_retval_3;
|
|
vec2 tmpvar_4;
|
|
tmpvar_4 = xlv_VPOS.xy;
|
|
vec4 tmpvar_5;
|
|
tmpvar_5 = xlat_main (tmpvar_4);
|
|
vec4 tmpvar_6;
|
|
tmpvar_6 = tmpvar_5;
|
|
xl_retval_3 = tmpvar_6;
|
|
vec4 tmpvar_7;
|
|
tmpvar_7 = xl_retval_3.xyzw;
|
|
vec4 tmpvar_8;
|
|
tmpvar_8 = tmpvar_7;
|
|
gl_FragData[0] = tmpvar_8;
|
|
}
|
|
|