I am trying to port the simple https://developer.apple.com/library/content/samplecode/MetalDeferredLighting/Introduction/Intro.html iOS sample app to macOS. Metal compiler says Fragment shader parameter with attribute 'color' is supported only on iOS (requires -std=ios-metal1.[0|1|2]). How to overcome this error? Where can I find a document that points out the Metal API differences between macOS and iOS?
Metal on macOS vs iOS
Add a Comment