// 10.11 doesn�t have tessellation + few other shader language features, unusable
// 10.12.x has some luck with AMD but mostly it�s a support hell
// Only support 10.13 and above
// Metal support depends on OS version:
// macOS 10.11.x doesn't have tessellation / earlydepthstencil support, early driver versions were buggy in general
// macOS 10.12.x should usually work with AMD, but issues with Intel/Nvidia GPUs. Regardless of the GPU, there are issues with MTLCompilerService crashing with some shaders
// macOS 10.13.x is expected to work, and if it's a driver/shader compiler issue, there's still hope on getting it fixed to next shipping OS patch release
//
// Has worked experimentally with iOS in the past, but it's not currently supported
//
if(os.StartsWith("Mac"))
{
// TODO: Expose in C# version number, for now assume "Mac OS X 10.10.4" format with version 10 at least
intb=Convert.ToInt32(parts[1]);
intc=Convert.ToInt32(parts[2]);
// In case in the future there's a need to disable specific patch releases