mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Reduce precision of floats in fragment shader
~0.43ms/frame -> ~0.37ms/frame
This commit is contained in:
@@ -55,7 +55,7 @@ void main() {
|
||||
}`;
|
||||
|
||||
const fragmentShaderSource = `#version 300 es
|
||||
precision mediump float;
|
||||
precision lowp float;
|
||||
|
||||
in vec2 v_texcoord;
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ void main() {
|
||||
}`;
|
||||
|
||||
const fragmentShaderSource = `#version 300 es
|
||||
precision mediump float;
|
||||
precision lowp float;
|
||||
|
||||
in vec3 v_color;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user