bgfx/3rdparty/glsl-optimizer/tests/fragment/vpos-inES.txt

11 lines
292 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
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;
2014-02-11 02:06:13 -05:00
xl_retval = xlat_main( vec2(xlv_VPOS));
gl_FragData[0] = vec4( xl_retval);
2012-04-03 23:30:07 -04:00
}