libcamera: shaders: Use highp not mediump for float precision

We get better sample resolution with highp instead of mediump.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
This commit is contained in:
Bryan O'Donoghue 2024-12-01 13:27:12 +00:00
parent a9fa1ff3c6
commit 60082dd56f
6 changed files with 6 additions and 6 deletions

View file

@ -6,7 +6,7 @@
*/
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
varying vec2 textureOut;

View file

@ -6,7 +6,7 @@
*/
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
varying vec2 textureOut;

View file

@ -6,7 +6,7 @@
*/
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
varying vec2 textureOut;

View file

@ -6,7 +6,7 @@
*/
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
varying vec2 textureOut;

View file

@ -20,7 +20,7 @@
*/
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
/*

View file

@ -16,7 +16,7 @@ Copyright (C) 2021, Linaro
//Pixel Shader
#ifdef GL_ES
precision mediump float;
precision highp float;
#endif
/** Monochrome RGBA or GL_LUMINANCE Bayer encoded texture.*/