X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=colorspace_conversion_effect.frag;h=6ec8e55d385b4e82e9fe020699cc52d12df315da;hp=ea858fb37885b6e979f180c2a7665143327ce743;hb=60e4852ff1b04c525a9e3f1c98a1017db28b27bd;hpb=d4542f76df5d26843c68b1467e76722cffd801a1 diff --git a/colorspace_conversion_effect.frag b/colorspace_conversion_effect.frag index ea858fb..6ec8e55 100644 --- a/colorspace_conversion_effect.frag +++ b/colorspace_conversion_effect.frag @@ -2,7 +2,7 @@ // The matrix is computed on the host and baked into the shader at compile time. vec4 FUNCNAME(vec2 tc) { - vec4 x = LAST_INPUT(tc); + vec4 x = INPUT(tc); x.rgb = PREFIX(conversion_matrix) * x.rgb; return x; }