]> git.sesse.net Git - movit/blob - identity.comp
Add some asserts to EffectChain::execute_phase, so that we do not inadvertedly insert...
[movit] / identity.comp
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 }