diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-10-01 09:21:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-01 09:21:31 +0200 |
commit | 1f40117caa6ad25340261969d377e1b398cd5349 (patch) | |
tree | 99c92639f58537e81dcc0baaffda9a50b0dcaf6e /drivers/gles2/shaders/canvas_shadow.glsl | |
parent | a6eeb1a38e1c3e7990f5f236d045f7ff39d72be8 (diff) | |
parent | 82f63633d187013cbcd0f3b74549ad0453a879e0 (diff) |
Merge pull request #31845 from clayjohn/GLES2-BCS
Implement DOF blur, Glow, and BCS in GLES2
Diffstat (limited to 'drivers/gles2/shaders/canvas_shadow.glsl')
-rw-r--r-- | drivers/gles2/shaders/canvas_shadow.glsl | 5 |
1 files changed, 5 insertions, 0 deletions
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 */ |