aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/graph/curve
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-10-29 11:32:20 +0100
committerSven Gothel <[email protected]>2012-10-29 11:32:20 +0100
commit74b78c6e59dbdfbd5630f534e9e61e3bac831302 (patch)
tree64f101c633f1211627a1f1509377963fea9cccd3 /src/jogl/classes/jogamp/graph/curve
parent85851c9839d620bcbbd07b6ca833f1a5901831cc (diff)
Graph Shader: Using default precision values (VP: highp, FP: mediump), except for sampler2D (mediump instead of lowp)
Diffstat (limited to 'src/jogl/classes/jogamp/graph/curve')
-rw-r--r--src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-es2-merged.vp4
-rw-r--r--src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-es2.vp4
-rw-r--r--src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01a-es2-merged.fp4
-rw-r--r--src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01b-es2.fp2
-rw-r--r--src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02a-es2.fp2
-rw-r--r--src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02b-es2.fp2
6 files changed, 9 insertions, 9 deletions
diff --git a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-es2-merged.vp b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-es2-merged.vp
index 530b24f64..8fb985d69 100644
--- a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-es2-merged.vp
+++ b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-es2-merged.vp
@@ -1,8 +1,8 @@
//Copyright 2010 JogAmp Community. All rights reserved.
#ifdef GL_ES
- precision lowp float;
- precision lowp int;
+ precision highp float;
+ precision highp int;
#endif
uniform mat4 gcu_PMVMatrix[3]; // P, Mv, and Mvi
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 15ce8cc2b..a5dc158ad 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,8 +2,8 @@
#version 100
-precision mediump float;
-precision mediump int;
+precision highp float;
+precision highp int;
#include curverenderer01-xxx.vp
diff --git a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01a-es2-merged.fp b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01a-es2-merged.fp
index da32df51f..a57d8fc62 100644
--- a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01a-es2-merged.fp
+++ b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01a-es2-merged.fp
@@ -1,8 +1,8 @@
//Copyright 2010 JogAmp Community. All rights reserved.
#ifdef GL_ES
- precision lowp float;
- precision lowp int;
+ precision mediump float;
+ precision mediump int;
#endif
uniform mat4 gcu_PMVMatrix[3]; // P, Mv, and Mvi
diff --git a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01b-es2.fp b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01b-es2.fp
index 2e709630d..d4748722d 100644
--- a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01b-es2.fp
+++ b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01b-es2.fp
@@ -8,7 +8,7 @@
precision mediump float;
precision mediump int;
-precision mediump sampler2D;
+precision mediump sampler2D; // default is lowp
#include curverenderer01b-xxx.fp
diff --git a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02a-es2.fp b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02a-es2.fp
index b52420350..240a6c30f 100644
--- a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02a-es2.fp
+++ b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02a-es2.fp
@@ -8,7 +8,7 @@
precision mediump float;
precision mediump int;
-precision mediump sampler2D;
+precision mediump sampler2D; // default is lowp
#include curverenderer02a-xxx.fp
diff --git a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02b-es2.fp b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02b-es2.fp
index e0486dd7b..884e75674 100644
--- a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02b-es2.fp
+++ b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02b-es2.fp
@@ -8,7 +8,7 @@
precision mediump float;
precision mediump int;
-precision mediump sampler2D;
+precision mediump sampler2D; // default is lowp
#include curverenderer02b-xxx.fp