aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-03-30 12:57:47 +0200
committerdec05eba <dec05eba@protonmail.com>2025-03-30 12:57:47 +0200
commit74865fad78618439510035deaba47b68a0886603 (patch)
tree6ba0218abca22ccabc18bf9bbacb8e391a899e4f
parent82ec8e963052cface048952f203afc7345583589 (diff)
Highp rgb shader
-rw-r--r--src/color_conversion.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/color_conversion.c b/src/color_conversion.c
index 5d9da3c..458d4c7 100644
--- a/src/color_conversion.c
+++ b/src/color_conversion.c
@@ -165,6 +165,7 @@ static int load_compute_shader_rgb(gsr_shader *shader, gsr_egl *egl, gsr_color_u
"#version 310 es\n"
"#extension GL_OES_EGL_image_external : enable\n"
"#extension GL_OES_EGL_image_external_essl3 : require\n"
+ "precision highp float;\n"
"layout (local_size_x = %d, local_size_y = %d, local_size_z = 1) in;\n"
"layout(binding = 0) uniform highp %s img_input;\n"
"layout(binding = 1) uniform highp sampler2D img_background;\n"