MetalKit / metal

MIT License
912 stars 150 forks source link

Fix all example playgrounds #12

Open cegiela opened 2 years ago

cegiela commented 2 years ago

@mhorga The playgrounds were failing to run due to .metal files being silently ignored in Playground. The issue was not with paths but with the .metal filetype. I changed the Shaders files to a .txt filetype and everything works well. All playgrounds updated, including Chapter 18, which is now using the same method of injecting metal code as the others.

cegiela commented 2 years ago

This fixes https://github.com/MetalKit/metal/issues/9#issue-743005480