summaryrefslogtreecommitdiff
path: root/tests/python_build/fixtures/glsl/vertex_fragment.glsl
blob: 0bdce783d7530b9951576cd7d552357067b6ff58 (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
25
26
27
28
29
30
31
32
#[versions]

lines = "#define MODE_LINES";

#[vertex]

#version 450

#VERSION_DEFINES

layout(location = 0) out vec3 uv_interp;

void main() {

#ifdef MODE_LINES
	uv_interp = vec3(0,0,1);
#endif
}

#[fragment]

#version 450

#VERSION_DEFINES

#include "_included.glsl"

layout(location = 0) out vec4 dst_color;

void main() {
	dst_color = vec4(1,1,0,0);
}