]> git.sesse.net Git - nageru/blob - futatabi/resize_flow.frag
Move VADisplayWithCleanup into its own header file, in shared/.
[nageru] / futatabi / resize_flow.frag
1 #version 450 core
2
3 in vec3 tc;
4 out vec2 flow;
5
6 uniform sampler2DArray flow_tex;
7 uniform vec2 scale_factor;
8
9 void main()
10 {
11         flow = texture(flow_tex, tc).xy * scale_factor;
12 }