aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-es2.vp
diff options
context:
space:
mode:
authorRami Santina <[email protected]>2011-10-02 02:35:46 +0200
committerSven Gothel <[email protected]>2011-10-02 02:35:46 +0200
commit2689d5d6c892d197ba10240ee4c2e281032e6ade (patch)
tree5aff4821a62a7535360907958e10301b825f7494 /src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-es2.vp
parent5e06a8d665c65554904f9358e5dc0fb01c120639 (diff)
tegra2: split fragment shaders into two (a - 1st pass, b - 2nd pass) ; disabled discard
- 1st pass (a) and 2nd pass (b), split at branch. - all include are on one level. - disabled discard, as it seems to be problematic Todo: - verify discard / pass-split on tegra2 - refect second pass usage (b) in implementation
Diffstat (limited to 'src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-es2.vp')
-rw-r--r--src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-es2.vp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-es2.vp b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-es2.vp
index 8c0585b1d..15ce8cc2b 100644
--- a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-es2.vp
+++ b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-es2.vp
@@ -2,5 +2,8 @@
#version 100
+precision mediump float;
+precision mediump int;
+
#include curverenderer01-xxx.vp