summaryrefslogtreecommitdiffstats
path: root/src/demos/es2/perftst/shader/ftext.fp
blob: 726cc437b5623ddcb9a89e1b7557f1ea20b28a77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

#ifdef GL_ES
  #define MEDIUMP mediump
  #define HIGHP highp
#else
  #define MEDIUMP
  #define HIGHP
#endif

varying   vec4          mgl_TexCoord0;
uniform   sampler2D     mgl_ActiveTexture;

void main (void)
{
    gl_FragColor = vec4(texture2D(mgl_ActiveTexture, mgl_TexCoord0.st).rgb, 1.0);
}