bgfx/3rdparty/glsl-optimizer/tests/fragment/estest1-out.txt
2014-02-10 23:06:13 -08:00

12 lines
311 B
Text

uniform vec4 _Color;
uniform sampler2D _Detail;
uniform sampler2D _MainTex;
varying vec4 xlv_TEXCOORD0;
varying vec4 xlv_TEXCOORD1;
void main ()
{
gl_FragData[0] = (((_Color * texture2D (_MainTex, xlv_TEXCOORD0.xy)) * texture2D (_Detail, xlv_TEXCOORD1.xy)) * 2.0);
}
// inputs: 2, stats: 3 alu 2 tex 0 flow