]> git.sesse.net Git - movit/blob - identity.compute
9f741bf9dcc3fdcd4dbbb8f9cc9e516686149f92
[movit] / identity.compute
1 // Identity compute shader (sometimes useful to do nothing).
2
3 layout(local_size_x = 1) in;
4
5 void FUNCNAME()
6 {
7         vec4 val = INPUT(NORMALIZE_TEXTURE_COORDS(gl_GlobalInvocationID.xy));
8         OUTPUT(gl_GlobalInvocationID.xy, val);
9 }