mardi 24 mars 2015

iOS Metal: Unable to create compute pipeline state with function

I was trying to make a simple app for sudoku solving on GPU with iOS Metal Framework.


I was following instructions from this blog post:


http://ift.tt/1zfrJPk


I version my code here:



http://ift.tt/1Cl9Q3x


(As of writing this question HEAD is commit c3e06e0)


And I've encountered error when calling



newComputePipelineStateWithFunction


that is while setting up MTLDevice in ViewController (line 95):



http://ift.tt/1Bf1arr


The error I get is:



Error Domain=AGXMetal Code=1 "Compiler encountered an internal error"


I'm running this on iPhone 6 Plus with iOS 8.1.3


Have someone any idea what can cause the error I get?




Aucun commentaire:

Enregistrer un commentaire