aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/com')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/ruler.fp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/ruler.fp b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/ruler.fp
index f643ea104..b2f4d7a6a 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/ruler.fp
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/ruler.fp
@@ -10,17 +10,17 @@
#define LOWP
#endif
-uniform HIGHP vec3 gcu_RulerColor;
-uniform HIGHP vec2 gcu_RulerPixFreq;
+uniform MEDIUMP vec3 gcu_RulerColor;
+uniform MEDIUMP vec2 gcu_RulerPixFreq;
-const vec2 onev2 = vec2(1.0, 1.0);
+const MEDIUMP vec2 onev2 = vec2(1.0, 1.0);
void main (void)
{
- vec2 c = step( onev2, mod(gl_FragCoord.xy, gcu_RulerPixFreq) );
+ MEDIUMP vec2 c = step( onev2, mod(gl_FragCoord.xy, gcu_RulerPixFreq) );
if( c.s == 0.0 || c.t == 0.0 ) {
gl_FragColor = vec4(gcu_RulerColor, 1.0);
} else {
discard;
}
-} \ No newline at end of file
+}