Deprecated OpenGL

ah damn. was kate, and i forgot you need the mac version… wil, upload now.

Sorry for the delay,
found now the time to test it. Works great. I really like it.

1 Like

The example in the pullrequest on Remobjects/Examples is changed to use the new options.

1 Like

Cool.

fwiw, I just see a flashing rectangle that changes colors, and these warnings in console:

2018-06-14 13:58:40.626540-0400 MetalExample[81119:4514840] Failed to created pipeline state, error Error Domain=CompilerError Code=1 "Function fragmentColorShader is using language version 2.1 which is incompatible with this OS." UserInfo={NSLocalizedDescription=Function fragmentColorShader is using language version 2.1 which is incompatible with this OS.}
2018-06-14 13:58:40.627136-0400 MetalExample[81119:4514840] Fallback to default

Which os version is these?

10.13.

That said, I just realized I still have a version of ebuild installed that doesn’t compile the metal files, maybe thats part of it. Will retest with a newer version later.

Here is the log from my Mcbook Pro on 10.13.5 for the Metal part,
works correct

-> Task ProcessMetalShaders started for MetalExample.
D:             /usr/bin/xcrun metal "/Volumes/HD2/Elements/ElementsSamples/Oxygene/Toffee/OS X/Metal/MetalExample/Shader/AAPLShaders1.metal" -arch air64 -emit-llvm -c -gline-tables-only -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -ffast-math -serialize-diagnostics "/Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders1/AAPLShaders1.dia" -o "/Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders1/AAPLShaders1.air" -mmacosx-version-min=10.13 -MMD -MT dependencies
D:             /usr/bin/xcrun metallib -o "/Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders1/AAPLShaders1.metallib" "/Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders1/AAPLShaders1.air"
               > metallib: creating metal-library /Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders1/AAPLShaders1.metallib
D:             Adding AppResource '/Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders1/AAPLShaders1.metallib'
D:             /usr/bin/xcrun metal "/Volumes/HD2/Elements/ElementsSamples/Oxygene/Toffee/OS X/Metal/MetalExample/Shader/AAPLShaders2.metal" -arch air64 -emit-llvm -c -gline-tables-only -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -ffast-math -serialize-diagnostics "/Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders2/AAPLShaders2.dia" -o "/Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders2/AAPLShaders2.air" -mmacosx-version-min=10.13 -MMD -MT dependencies
D:             /usr/bin/xcrun metallib -o "/Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders2/AAPLShaders2.metallib" "/Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders2/AAPLShaders2.air"
               > metallib: creating metal-library /Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders2/AAPLShaders2.metallib
D:             Adding AppResource '/Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders2/AAPLShaders2.metallib'
D:             /usr/bin/xcrun metal "/Volumes/HD2/Elements/ElementsSamples/Oxygene/Toffee/OS X/Metal/MetalExample/Shader/AAPLShaders3.metal" -arch air64 -emit-llvm -c -gline-tables-only -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -ffast-math -serialize-diagnostics "/Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders3/AAPLShaders3.dia" -o "/Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders3/AAPLShaders3.air" -mmacosx-version-min=10.13 -MMD -MT dependencies
D:             /usr/bin/xcrun metallib -o "/Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders3/AAPLShaders3.metallib" "/Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders3/AAPLShaders3.air"
               > metallib: creating metal-library /Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders3/AAPLShaders3.metallib
D:             Adding AppResource '/Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders3/AAPLShaders3.metallib'
D:             /usr/bin/xcrun metal "/Volumes/HD2/Elements/ElementsSamples/Oxygene/Toffee/OS X/Metal/MetalExample/Shader/AAPLShaders4.metal" -arch air64 -emit-llvm -c -gline-tables-only -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -ffast-math -serialize-diagnostics "/Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders4/AAPLShaders4.dia" -o "/Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders4/AAPLShaders4.air" -mmacosx-version-min=10.13 -MMD -MT dependencies
D:             /usr/bin/xcrun metallib -o "/Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders4/AAPLShaders4.metallib" "/Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders4/AAPLShaders4.air"
               > metallib: creating metal-library /Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders4/AAPLShaders4.metallib
D:             Adding AppResource '/Users/Westermann/Library/Application Support/RemObjects Software/EBuild/Obj/MetalExample-EC30A8BCDCF5C0C5204B20D37D9AC91E9B57254A/Debug/Toffee-macOS/MetalShaders/AAPLShaders4/AAPLShaders4.metallib'
            <- Task ProcessMetalShaders

Yeah, I’ll retest once I have a new build that includes that installed as my main local compiler. I’m a day or so behind with that I have installed :wink:

1 Like

Works (I think :wink:

bugs://80371 got closed with status fixed.