]> git.sesse.net Git - movit/blob - identity.compute
Add support for microbenchmarks.
[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 }