Shader compatibility work