[libcamera-devel,2/2] qcam: assets: shader: bayer_8.vert: Add precision
diff mbox series

Message ID 20220627152450.36719-1-kunalagarwal1072002@gmail.com
State Superseded
Headers show
Series
  • [libcamera-devel,1/2] qcam: assets: shader: bayer_8.frag: Add precision
Related show

Commit Message

Kunal Agarwal June 27, 2022, 3:24 p.m. UTC
Add precision for data types

Signed-off-by: Kunal Agarwal <kunalagarwal1072002@gmail.com>
---
 src/qcam/assets/shader/bayer_8.vert | 3 +++
 1 file changed, 3 insertions(+)

Patch
diff mbox series

diff --git a/src/qcam/assets/shader/bayer_8.vert b/src/qcam/assets/shader/bayer_8.vert
index 3695a5e9..a250bb81 100644
--- a/src/qcam/assets/shader/bayer_8.vert
+++ b/src/qcam/assets/shader/bayer_8.vert
@@ -15,6 +15,9 @@  Copyright (C) 2021, Linaro
 */
 
 //Vertex Shader
+#ifdef GL_ES
+precision mediump float;
+#endif
 
 attribute vec4 vertexIn;
 attribute vec2 textureIn;