Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Metal: "Failed creating a default system device!" on iPhone5/iOS8

When I run the Metal sample projects on iPhone5/iOS8 they fail here:

m_Device = MTLCreateSystemDefaultDevice(); 
if(!m_Device)
{
    NSLog(@">> ERROR: Failed creating a default system device!");
    return NO;
}

MTLCreateSystemDefaultDevice() returns id 0x0 instead of a valid id <MTLDevice>.

Does anyone else have this problem?

like image 948
Joseph Mark Avatar asked Feb 24 '26 13:02

Joseph Mark


1 Answers

Metal is only available on A7 devices.

like image 165
Joseph Mark Avatar answered Feb 26 '26 02:02

Joseph Mark



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!