To support GLSL shadow samplers correctly on new macOS versions: - implement the fallback correctly - implement the gpu check correctly To support GLSL shadow samplers correctly on older macOS versions - implement the Metal version check correctly See bug 226975 for discussion.
<rdar://problem/79961620>