mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-24 03:39:07 +02:00
Merge pull request #17929 from hrydgard/android-default-vulkan-on-new-32bit
Android: On some newer devices with 32-bit userland, default to Vulkan.
This commit is contained in:
1 file changed
+6
@@ -396,6 +396,12 @@ static int DefaultGPUBackend() {
|
||||
if (System_GetPropertyInt(SYSPROP_SYSTEMVERSION) >= 27) {
|
||||
return (int)GPUBackend::VULKAN;
|
||||
}
|
||||
#else
|
||||
// There are some newer devices that benefit from Vulkan as default, but are 32-bit. Example: Redmi 9A.
|
||||
// Let's only allow the very newest generation though.
|
||||
if (System_GetPropertyInt(SYSPROP_SYSTEMVERSION) >= 30) {
|
||||
return (int)GPUBackend::VULKAN;
|
||||
}
|
||||
#endif
|
||||
#elif PPSSPP_PLATFORM(MAC)
|
||||
#if PPSSPP_ARCH(ARM64)
|
||||
|
||||
Reference in new issue
Block a user