summaryrefslogtreecommitdiff
path: root/shaders/anholt/18.shader_test
blob: e59381ea5450b9d4355df438b6048b879d33ef63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[require]
GLSL >= 1.10

[fragment shader]
#version 130
uniform ivec4 color;
out ivec4 out_color;

void main()
{
   out_color = color;
}

[vertex shader]
#version 130
in vec4 position;
void main()
{
   gl_Position = position;
}

event = 0x0001
event = 0x0001
300 frames in 5.40 secs: 55.6 fps