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

11 lines
281 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
mediump vec4 xlat_main( in highp float face );
mediump vec4 xlat_main( in highp float face ) {
return vec4( face);
}
varying highp float xlv_VFACE;
void main() {
mediump vec4 xl_retval;
2014-02-11 02:06:13 -05:00
xl_retval = xlat_main( float(xlv_VFACE));
gl_FragData[0] = vec4( xl_retval);
2012-04-03 23:30:07 -04:00
}