mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-28 12:58:05 +03:00
MTLUtil: Remove availability check for iOS 13
My personal fork requires minimum iOS 14, so this is not required.
This commit is contained in:
parent
65f42ee2d2
commit
ec9fb08dab
1 changed files with 2 additions and 6 deletions
|
@ -262,15 +262,11 @@ void Metal::Util::PopulateBackendInfoFeatures(const VideoConfig& config, Backend
|
||||||
backend_info->bSupportsST3CTextures = true;
|
backend_info->bSupportsST3CTextures = true;
|
||||||
backend_info->bSupportsBPTCTextures = true;
|
backend_info->bSupportsBPTCTextures = true;
|
||||||
#else
|
#else
|
||||||
bool supports_apple4 = false;
|
backend_info->bSupportsDepthClamp = [device supportsFamily:MTLGPUFamilyApple4];
|
||||||
|
|
||||||
bool supports_bcn = false;
|
bool supports_bcn = false;
|
||||||
if (@available(iOS 13, *))
|
|
||||||
supports_apple4 = [device supportsFamily:MTLGPUFamilyApple4];
|
|
||||||
else
|
|
||||||
supports_apple4 = [device supportsFeatureSet:MTLFeatureSet_iOS_GPUFamily4_v1];
|
|
||||||
if (@available(iOS 16.4, *))
|
if (@available(iOS 16.4, *))
|
||||||
supports_bcn = [device supportsBCTextureCompression];
|
supports_bcn = [device supportsBCTextureCompression];
|
||||||
backend_info->bSupportsDepthClamp = supports_apple4;
|
|
||||||
backend_info->bSupportsST3CTextures = supports_bcn;
|
backend_info->bSupportsST3CTextures = supports_bcn;
|
||||||
backend_info->bSupportsBPTCTextures = supports_bcn;
|
backend_info->bSupportsBPTCTextures = supports_bcn;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue