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