filename | src/pvr2/fragment.glsl |
changeset | 635:76c63aac3590 |
author | nkeynes |
date | Sun Oct 26 02:28:29 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Move the precision/size tests to translation-time rather than execution-time, and flush/retranslate on a mismatch. Shaves a few percent off the core runtime |
view | annotate | diff | log | raw |
1 // Standard PVR2 fragment shader
3 void main()
4 {
5 gl_FragColor = gl_Color;
6 gl_FragDepth = gl_FragCoord.z;
7 }
.