blob: 17d61c395e936048b3c5aae993c8f6c93a1f576a (
plain) (
blame)
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
|
#version 330 core
in gl_Vertex
{
vec4 gl_Position;
float gl_PointSize;
float gl_ClipDistance[];
} gl_in[];
in VS_OUT {
vec2 UvPosition;
vec3 FragmentPosition;
flat int Block;
flat int State;
vec4 ndcPos;
} gs_in[];
out GS_OUT {
vec2 UvPosition;
vec3 FragmentPosition;
flat int Block;
flat int State;
vec4 ndcPos;
} gs_out[];
void main() {
gs_out[0].UvPosition = gs_in[0].UvPosition;
gs_out[0].FragmentPosition = gs_in[0].FragmentPosition;
gs_out[0].Block = gs_in[0].Block;
gs_out[0].State = gs_in[0].State;
gs_out[0].ndcPos = gs_in[0].ndcPos;
}
|