[client] egl: switch from mediump to highp

This fixes a rounding issue on certain hardware (NVidia) which actually
implement mediump as half precision (16-bit) float. It's safe to assume
`highp` is available as if the GPU does not support it, then the shader
compiler will try to find a lower precision that is supported by the GPU
This commit is contained in:
Geoffrey McRae
2023-03-05 14:10:21 +11:00
parent 2f48798db9
commit 91b0cba145
13 changed files with 13 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
#version 300 es
precision mediump float;
precision highp float;
#define PI 3.141592653589793