]> git.sesse.net Git - movit/blobdiff - footer.comp
Minor improvement to a test name.
[movit] / footer.comp
index 16197a63200019396c20661bc0edbb8128fad206..a28014d684b69af8985b9fe911b2db400c089a6c 100644 (file)
@@ -22,6 +22,10 @@ void cs_output(uvec2 coord, vec4 val)
 
 void cs_output(ivec2 coord, vec4 val)
 {
+       // Run the value through any preprocessing steps we might have.
+       CS_OUTPUT_VAL = val;
+       val = CS_POSTPROC(vec2(0.0, 0.0));
+
 #if SQUARE_ROOT_TRANSFORMATION
        // Make sure we don't give negative values to sqrt.
        val.rgb = sqrt(max(val.rgb, 0.0));