ConfettiFX / The-Forge

The Forge Cross-Platform Rendering Framework PC Windows, Steamdeck (native), Ray Tracing, macOS / iOS, Android, XBOX, PS4, PS5, Switch, Quest 2
Apache License 2.0
4.65k stars 491 forks source link

Question: MTLFeatureSet_macOS_GPUFamily2_v1 and macOS 10.14 #222

Closed Michael-Lfx closed 2 years ago

Michael-Lfx commented 2 years ago

https://github.com/ConfettiFX/The-Forge/blob/076aa5dcd8fd71cc83905431c92360183c7027d9/Common_3/Renderer/Metal/MetalRenderer.mm#L1795-L1798

Based on Apple document that MTLFeatureSet_macOS_GPUFamily2_v1 requires macOS 10.14 and last version is also if (@available(macOS 10.14, *)). Why should we update to macOS 10.15? newBufferWithLength:options:offset: requires macOS 10.15?

manas-kulkarni commented 2 years ago

https://developer.apple.com/documentation/metal/mtlheap/3152522-newbufferwithlength Manual heap placement requires macOS 10.15+, iOS 13.0+

Michael-Lfx commented 2 years ago

Thank you!