blob: a4bce4a1d2106d84ae8d1ae860869764d5aa8679 (
plain)
1
2
3
4
5
6
7
|
/* Copy the alpha of the input float 2D sampler to the output R16F 2D image. */
void main()
{
ivec2 xy = ivec2(gl_GlobalInvocationID.xy);
imageStore(output_image, xy, texelFetch(input_sampler, xy, 0).aaaa);
}
|