This is kinda tricky, because if we only conditionally write to a function parameter variable it is implicitly preserved in SPIR-V, so we must force an in qualifier on the parameter to get the same behavior in GLSL.