Checks to ensure shaders expect the given pass uniforms.