Posts

Post marked as solved
4 Replies
4.0k Views
Hi,I'm trying to compile my .metal file into .metallib with:xcrun -sdk iphoneos metal -std=ios-metal1.1 Shaders.metal -o CameraShader.air xcrun -sdk iphoneos metallib CameraShader.air -o CameraShader.metallibBut when I call device.makeRenderPipelineState it throws with error:Error Domain=AGXMetalA9 Code=1 "Function displayTexture has a deployment target which is incompatible with this OS." UserInfo={NSLocalizedDescription=Function displayTexture has a deployment target which is incompatible with this OS.}If I use .metal file everything works fine.What I'm doing wrong?
Posted
by Peskish1.
Last updated
.