As PVR glsl compiler seems doesn't support external fragment
function, and fails at compile gradient shader. Disable it
for now. We may need to modify gradient shader to don't use
external function.
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
glamor_init_tile_shader(screen);
glamor_init_putimage_shaders(screen);
glamor_init_finish_access_shaders(screen);
+#ifdef GLAMOR_GRADIENT_SHADER
glamor_init_gradient_shader(screen);
+#endif
glamor_pixmap_init(screen);
glamor_priv->flags = flags;
#define GLAMOR_PIXMAP_DYNAMIC_UPLOAD
#define GLAMOR_DELAYED_FILLING
+#ifndef GLAMOR_GLES2
#define GLAMOR_GRADIENT_SHADER
-
-
+#endif
#endif /* GLAMOR_PRIV_H */