File: identity.comp

package info (click to toggle)
movit 1.7.2-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 3,248 kB
  • sloc: cpp: 16,677; sh: 3,940; makefile: 167
file content (9 lines) | stat: -rw-r--r-- 223 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
// Identity compute shader (sometimes useful to do nothing).

layout(local_size_x = 1) in;

void FUNCNAME()
{
	vec4 val = INPUT(NORMALIZE_TEXTURE_COORDS(gl_GlobalInvocationID.xy));
	OUTPUT(gl_GlobalInvocationID.xy, val);
}