Change precision to highp
Browse files at this commit22cb657ef1f62e0161dbff5bb6ca1a39cfd7bf89Parent: bb15d1e- fix
- change precision to highp
5 changed files +5 -5
- src/render_helpers/shaders/border.frag +1 -1
- src/render_helpers/shaders/clipped_surface.frag +1 -1
- src/render_helpers/shaders/close_prelude.frag +1 -1
- src/render_helpers/shaders/open_prelude.frag +1 -1
- src/render_helpers/shaders/resize_prelude.frag +1 -1
src/render_helpers/shaders/border.fragmodified+1 -1
| @@ -1,4 +1,4 @@ | |||
| 1 | -precision mediump float; | 1 | +precision highp float; |
| 2 | 2 | ||
| 3 | #if defined(DEBUG_FLAGS) | 3 | #if defined(DEBUG_FLAGS) |
| 4 | uniform float niri_tint; | 4 | uniform float niri_tint; |
src/render_helpers/shaders/clipped_surface.fragmodified+1 -1
| @@ -6,7 +6,7 @@ | |||
| 6 | #extension GL_OES_EGL_image_external : require | 6 | #extension GL_OES_EGL_image_external : require |
| 7 | #endif | 7 | #endif |
| 8 | 8 | ||
| 9 | -precision mediump float; | 9 | +precision highp float; |
| 10 | #if defined(EXTERNAL) | 10 | #if defined(EXTERNAL) |
| 11 | uniform samplerExternalOES tex; | 11 | uniform samplerExternalOES tex; |
| 12 | #else | 12 | #else |
src/render_helpers/shaders/close_prelude.fragmodified+1 -1
| @@ -1,4 +1,4 @@ | |||
| 1 | -precision mediump float; | 1 | +precision highp float; |
| 2 | 2 | ||
| 3 | #if defined(DEBUG_FLAGS) | 3 | #if defined(DEBUG_FLAGS) |
| 4 | uniform float niri_tint; | 4 | uniform float niri_tint; |
src/render_helpers/shaders/open_prelude.fragmodified+1 -1
| @@ -1,4 +1,4 @@ | |||
| 1 | -precision mediump float; | 1 | +precision highp float; |
| 2 | 2 | ||
| 3 | #if defined(DEBUG_FLAGS) | 3 | #if defined(DEBUG_FLAGS) |
| 4 | uniform float niri_tint; | 4 | uniform float niri_tint; |
src/render_helpers/shaders/resize_prelude.fragmodified+1 -1
| @@ -1,4 +1,4 @@ | |||
| 1 | -precision mediump float; | 1 | +precision highp float; |
| 2 | 2 | ||
| 3 | #if defined(DEBUG_FLAGS) | 3 | #if defined(DEBUG_FLAGS) |
| 4 | uniform float niri_tint; | 4 | uniform float niri_tint; |