When trying to build a metal library from a shader with the Metal Developer Tools for Windows 1.2 i'm getting the following error:
I noticed that libmetal_rt_osx_air2.2.a is a file in the macos folder, so I tried running the below command and it seems to build with no errors, but haven't had the opportunity to test the library yet.
Is this a bug? Is it okay to mix targets like this?
Code Block MetalDeveloperTools\ios\bin\metal -c test.metal -o test.air MetalDeveloperTools\ios\bin\metallib test.air -o test.metallib LLVM ERROR: Error opening 'MetalDeveloperTools\ios\bin\..\lib\clang\31001.138\lib\darwin\libmetal_rt_osx_air2.2.a': no such file or directory!
I noticed that libmetal_rt_osx_air2.2.a is a file in the macos folder, so I tried running the below command and it seems to build with no errors, but haven't had the opportunity to test the library yet.
Code Block MetalDeveloperTools\macos\bin\metallib test.air -o test.metallib
Is this a bug? Is it okay to mix targets like this?