diff mbox

[Branch,~glmark2-dev/glmark2/trunk] Rev 58: Define the precision of fragment shader variables for OpenGL ES 2.0.

Message ID 20110721123634.17019.7136.launchpad@loganberry.canonical.com
State Accepted
Headers show

Commit Message

Alexandros Frantzis July 21, 2011, 12:36 p.m. UTC
------------------------------------------------------------
revno: 58
committer: Alexandros Frantzis <alf82@freemail.gr>
timestamp: Wed 2010-07-28 17:52:54 +0300
message:
  Define the precision of fragment shader variables for OpenGL ES 2.0.
modified:
  data/shaders/light-advanced.frag
  data/shaders/light-basic-tex.frag
  data/shaders/light-basic.frag


--
lp:glmark2
https://code.launchpad.net/~glmark2-dev/glmark2/trunk

You are subscribed to branch lp:glmark2.
To unsubscribe from this branch go to https://code.launchpad.net/~glmark2-dev/glmark2/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'data/shaders/light-advanced.frag'
--- data/shaders/light-advanced.frag	2010-07-09 10:28:57 +0000
+++ data/shaders/light-advanced.frag	2010-07-28 14:52:54 +0000
@@ -1,3 +1,7 @@ 
+#ifdef GL_ES
+precision mediump float;
+#endif
+
 uniform vec3 LightSourceAmbient;
 uniform vec3 LightSourceDiffuse;
 uniform vec3 LightSourceSpecular;

=== modified file 'data/shaders/light-basic-tex.frag'
--- data/shaders/light-basic-tex.frag	2010-07-09 13:36:15 +0000
+++ data/shaders/light-basic-tex.frag	2010-07-28 14:52:54 +0000
@@ -1,3 +1,7 @@ 
+#ifdef GL_ES
+precision mediump float;
+#endif
+
 uniform sampler2D MaterialTexture0;
 
 varying vec4 Color;

=== modified file 'data/shaders/light-basic.frag'
--- data/shaders/light-basic.frag	2010-07-09 13:34:12 +0000
+++ data/shaders/light-basic.frag	2010-07-28 14:52:54 +0000
@@ -1,3 +1,7 @@ 
+#ifdef GL_ES
+precision mediump float;
+#endif
+
 varying vec4 Color;
 varying vec2 TextureCoord;