On 01/19/2014 06:34 PM, Emil Velikov wrote:
The missing qualifier causes failure during the compilation stage.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73631
Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com>
---
  src/egl/opengles2/es2tri.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/src/egl/opengles2/es2tri.c b/src/egl/opengles2/es2tri.c
index 6dcc1b8..349a576 100644
--- a/src/egl/opengles2/es2tri.c
+++ b/src/egl/opengles2/es2tri.c
@@ -139,6 +139,7 @@ static void
  create_shaders(void)
  {
     static const char *fragShaderText =
+      "precision mediump float;\n"
        "varying vec4 v_color;\n"
        "void main() {\n"
        "   gl_FragColor = v_color;\n"


yep, varying declaration was missing precision qualifier.

Reviewed-by: Tapani Pälli <tapani.pa...@intel.com>

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to