diff options
author | Ian Romanick <[email protected]> | 2013-08-09 15:02:49 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-08-19 16:39:04 -0700 |
commit | 5ac247a73e78c6df7a3980c84e6207c3da601987 (patch) | |
tree | 4af590e6ca1de653ba5112f58857fb1d547994a7 /src/glsl/builtins/profiles/100es.frag | |
parent | 0b5fb6d4176c8f9145ae5026089bec5096af50b0 (diff) |
glsl: Add default precision qualifiers for ES builtins
Once the compiler proplerly checks for default precision qualifiers,
these shaders will cease to compile.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Cc: "9.2" <[email protected]>
Diffstat (limited to 'src/glsl/builtins/profiles/100es.frag')
-rw-r--r-- | src/glsl/builtins/profiles/100es.frag | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/builtins/profiles/100es.frag b/src/glsl/builtins/profiles/100es.frag index 904aa303c58..28c4527a26a 100644 --- a/src/glsl/builtins/profiles/100es.frag +++ b/src/glsl/builtins/profiles/100es.frag @@ -1,4 +1,6 @@ #version 100 +precision highp float; + vec4 texture2D (sampler2D sampler, vec2 coord, float bias); vec4 texture2DProj (sampler2D sampler, vec3 coord, float bias); vec4 texture2DProj (sampler2D sampler, vec4 coord, float bias); |