iris: Only request an input mask if the shader needs it