Metal: Added GPU vendorId/deviceId detection. Fixed #2688.

This commit is contained in:
Бранимир Караџић
2021-12-19 23:11:33 -08:00
parent 1e2ca25424
commit 949142a75f
6 changed files with 144 additions and 43 deletions

View File

@@ -133,8 +133,9 @@ function bgfxProjectBase(_kind, _defines)
buildoptions { "-x objective-c++" } -- additional build option for osx
linkoptions {
"-framework Cocoa",
"-framework QuartzCore",
"-framework IOKit",
"-framework OpenGL",
"-framework QuartzCore",
"-weak_framework Metal",
"-weak_framework MetalKit",
}