Reduce precision of floats in fragment shader

~0.43ms/frame -> ~0.37ms/frame
This commit is contained in:
Daniel Imms
2018-12-09 08:31:49 -08:00
parent c16d70ec06
commit 3d8b304af4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ void main() {
}`;
const fragmentShaderSource = `#version 300 es
precision mediump float;
precision lowp float;
in vec2 v_texcoord;
+1 -1
View File
@@ -36,7 +36,7 @@ void main() {
}`;
const fragmentShaderSource = `#version 300 es
precision mediump float;
precision lowp float;
in vec3 v_color;