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

14 lines
431 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
mediump vec4 xlat_main( in highp vec4 uv, in highp vec4 foobar_xlv_foo );
mediump vec4 xlat_main( in highp vec4 uv, in highp vec4 foobar_xlv_foo ) {
mediump vec4 c;
c = vec4( 0.000000);
return c;
}
varying highp vec4 xlv_TEXCOORD0;
varying highp vec4 xlv_TEXCOORD1;
void main() {
mediump vec4 xl_retval;
2014-02-11 02:06:13 -05:00
xl_retval = xlat_main( vec4(xlv_TEXCOORD0), vec4(xlv_TEXCOORD1));
gl_FragData[0] = vec4( xl_retval);
2012-04-03 23:30:07 -04:00
}