X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=header.comp;h=f4ebbed039cf35333b6f0b7a165169d9ac1e50a8;hb=HEAD;hp=3c07007c5f3c8fe2b0524ac3049b379866b3fb06;hpb=e683d4e49549b2d4c6906d2ebc4184904f4fe9f8;p=movit diff --git a/header.comp b/header.comp index 3c07007..f4ebbed 100644 --- a/header.comp +++ b/header.comp @@ -1,9 +1,10 @@ #version 150 #extension GL_ARB_compute_shader : enable #extension GL_ARB_shader_image_load_store : enable +#extension GL_ARB_shader_image_size : enable -// FIXME this needs to be auto-output or something -uniform restrict writeonly image2D outbuf; +// The texture the compute shader is writing to. +uniform restrict writeonly image2D tex_outbuf; // Defined in footer.comp. vec4 tex2D(sampler2D s, vec2 coord);