mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-12 19:49:32 +02:00
10 lines
176 B
GLSL
10 lines
176 B
GLSL
#version GLSL_VERSION
|
|
uniform vec3 colors[3];
|
|
in vec3 rect;
|
|
out vec3 color;
|
|
|
|
void main() {
|
|
gl_Position = vec4(rect[0], rect[1], 0, 1);
|
|
color = colors[uint(rect[2])];
|
|
}
|