diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-01-02 18:44:09 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2018-01-02 18:45:00 -0300 |
commit | 2c226e4edf720ebbadf355e244b27082ca01f330 (patch) | |
tree | fe03ed994ad67dd10d8e75b9016a80abd19f40cc /drivers/gles3/shaders | |
parent | 14772d22136ac87e2bbf2b94639f79242330ae0a (diff) |
Some fixes to improve precision and speed on Android. Fixes precision issues on Mali and PowerVR.
Diffstat (limited to 'drivers/gles3/shaders')
-rw-r--r-- | drivers/gles3/shaders/canvas.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gles3/shaders/canvas.glsl b/drivers/gles3/shaders/canvas.glsl index 0b8230234b..46641482ec 100644 --- a/drivers/gles3/shaders/canvas.glsl +++ b/drivers/gles3/shaders/canvas.glsl @@ -42,7 +42,7 @@ uniform highp mat4 modelview_matrix; uniform highp mat4 extra_matrix; -out mediump vec2 uv_interp; +out highp vec2 uv_interp; out mediump vec4 color_interp; #ifdef USE_NINEPATCH @@ -207,7 +207,7 @@ uniform mediump sampler2D color_texture; // texunit:0 uniform highp vec2 color_texpixel_size; uniform mediump sampler2D normal_texture; // texunit:1 -in mediump vec2 uv_interp; +in highp vec2 uv_interp; in mediump vec4 color_interp; |