From 82f63633d187013cbcd0f3b74549ad0453a879e0 Mon Sep 17 00:00:00 2001 From: clayjohn Date: Sat, 31 Aug 2019 15:03:55 -0700 Subject: Implement DOF blur, Glow, and BCS in GLES2 --- drivers/gles2/shaders/canvas_shadow.glsl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/gles2/shaders/canvas_shadow.glsl') diff --git a/drivers/gles2/shaders/canvas_shadow.glsl b/drivers/gles2/shaders/canvas_shadow.glsl index dcb43d523f..7a5ba4f571 100644 --- a/drivers/gles2/shaders/canvas_shadow.glsl +++ b/drivers/gles2/shaders/canvas_shadow.glsl @@ -34,9 +34,14 @@ void main() { #define mediump #define highp #else +#if defined(USE_HIGHP_PRECISION) +precision highp float; +precision highp int; +#else precision mediump float; precision mediump int; #endif +#endif varying highp vec4 position_interp; /* clang-format on */ -- cgit v1.2.3