bgfx/3rdparty/glsl-optimizer/tests/fragment/vpos-inES.txt
Branimir Karadzic dee3fe5266 Initial commit.
2012-04-03 20:30:07 -07:00

10 lines
306 B
Text

mediump vec4 xlat_main( in highp vec2 pos );
mediump vec4 xlat_main( in highp vec2 pos ) {
return vec4( pos, 0.000000, 0.000000);
}
varying highp vec2 xlv_VPOS;
void main() {
mediump vec4 xl_retval;
xl_retval = xlat_main( highp vec2(xlv_VPOS));
gl_FragData[0] = mediump vec4( xl_retval);
}