filename | src/pvr2/shaders.glsl |
changeset | 1252:2fb29172ee79 |
prev | 1250:204dae47ab7a |
author | nkeynes |
date | Sat Aug 25 14:09:07 2012 +1000 (11 years ago) |
permissions | -rw-r--r-- |
last change | Subst LDFLAGS_FOR_BUILD in configure |
file | annotate | diff | log | raw |
1.1 --- a/src/pvr2/shaders.glsl Sat Mar 03 16:08:48 2012 +10001.2 +++ b/src/pvr2/shaders.glsl Sat Aug 25 14:09:07 2012 +10001.3 @@ -86,7 +86,9 @@1.4 }1.6 #fragment DEFAULT_FRAGMENT_SHADER1.7 +#ifdef HAVE_GLES21.8 precision mediump float;1.9 +#endif1.10 uniform float alpha_ref;1.11 uniform sampler2D primary_texture;1.12 uniform sampler2D palette_texture;1.13 @@ -148,7 +150,10 @@1.14 }1.16 #fragment BASIC_FRAGMENT_SHADER1.17 +#ifdef HAVE_GLES21.18 precision mediump float;1.19 +#endif1.20 +1.21 uniform sampler2D primary_texture;1.22 varying vec4 frag_colour;1.23 varying vec2 frag_texcoord;
.