mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-25 02:10:51 +00:00
Metal: Fixed occlusion queries and depth texture data, added HDR10 and unretained command buffers. Closes #2356, #2017, #1827, #2974, #3642. (#4060)
This commit is contained in:
committed by
GitHub
parent
32966cfc7c
commit
227eac0d75
@@ -139,6 +139,9 @@ function bgfxProjectBase(_kind, _defines)
|
||||
"-Wno-microsoft-const-init", -- default initialization of an object of const type '' without a user-provided default constructor is a Microsoft extension
|
||||
}
|
||||
|
||||
configuration { "ios* or tvos* or xros*" }
|
||||
buildoptions { "-x objective-c++" }
|
||||
|
||||
configuration { "osx*" }
|
||||
buildoptions { "-x objective-c++" } -- additional build option for osx
|
||||
linkoptions {
|
||||
|
||||
@@ -403,9 +403,9 @@ function exampleProjectDefaults()
|
||||
kind "ConsoleApp"
|
||||
linkoptions {
|
||||
"-framework CoreFoundation",
|
||||
"-framework CoreGraphics",
|
||||
"-framework Foundation",
|
||||
"-framework IOKit",
|
||||
"-framework OpenGLES",
|
||||
"-framework QuartzCore",
|
||||
"-framework UIKit",
|
||||
"-weak_framework Metal",
|
||||
@@ -591,6 +591,7 @@ or _OPTIONS["with-combined-examples"] then
|
||||
, "52-layered"
|
||||
, "53-sky2"
|
||||
, "54-s2h"
|
||||
, "55-hdr10"
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -149,11 +149,15 @@ project ("geometryv")
|
||||
kind "ConsoleApp"
|
||||
linkoptions {
|
||||
"-framework CoreFoundation",
|
||||
"-framework CoreGraphics",
|
||||
"-framework Foundation",
|
||||
"-framework IOKit",
|
||||
"-framework OpenGLES",
|
||||
"-framework QuartzCore",
|
||||
"-framework UIKit",
|
||||
"-weak_framework Metal",
|
||||
"-weak_framework VideoToolbox",
|
||||
"-weak_framework CoreMedia",
|
||||
"-weak_framework CoreVideo",
|
||||
}
|
||||
|
||||
configuration { "xcode4", "ios" }
|
||||
|
||||
@@ -209,11 +209,15 @@ project "texturev"
|
||||
kind "ConsoleApp"
|
||||
linkoptions {
|
||||
"-framework CoreFoundation",
|
||||
"-framework CoreGraphics",
|
||||
"-framework Foundation",
|
||||
"-framework IOKit",
|
||||
"-framework OpenGLES",
|
||||
"-framework QuartzCore",
|
||||
"-framework UIKit",
|
||||
"-weak_framework Metal",
|
||||
"-weak_framework VideoToolbox",
|
||||
"-weak_framework CoreMedia",
|
||||
"-weak_framework CoreVideo",
|
||||
}
|
||||
|
||||
configuration { "xcode*", "ios" }
|
||||
|
||||
Reference in New Issue
Block a user