MetalKit / metal

MIT License
912 stars 150 forks source link

Running Metal on playground and Apple silicon #13

Open multitudes opened 5 months ago

multitudes commented 5 months ago

Thank you for these resources. I really like the introduction on metal and I am following the blogs as well. Running the playgrounds I ran into many issues. Some I could fix but not this one yet.

I suppose the ambient_occlusion playground was working at the time of creation. I don't get any error messages and I followed the fixes for the path of metal files on m1 playgrounds. Still:

Screenshot 2024-07-02 at 4 23 15 PM

Any clue what Apple might possibly have changed this time?

Thank you again

multitudes commented 5 months ago

Reading your blogs today I found a spot where someone had the same problem. https://metalkit.org/using-metalkit-part-10/ So you already gave a solution here in the new playground: https://github.com/MetalKit/metal/tree/master/ch10

This is really cool because I was getting the above error all the time and I knew it had to be something "trivial"

I will leave this issue here in case someone has the same problem