Does Metal support 32-bit applications on OS X

Hi

I use OS X 10.11.3 and have isue with running Metal on 32-bit application. Does Metal framework can be use with 32-bit applications (C++/ObjC)?

Simple code:


id<MTLDevice> device = MTLCreateSystemDefaultDevice();


returns NULL on 32-bit app. On 64-bit app all is ok, I can obtain device properly.

Replies

No, Metal is not supported in 32-bit apps. By design you should expect to receive nil from

MTLCreateSystemDefaultDevice
and an empty array from
MTLCopyAllDevices
.