|
|
@ -465,20 +465,8 @@ Instance Instance::Create(u32 version, Span<const char*> layers, Span<const char |
|
|
#else
|
|
|
#else
|
|
|
constexpr VkFlags ci_flags{}; |
|
|
constexpr VkFlags ci_flags{}; |
|
|
#endif
|
|
|
#endif
|
|
|
// DO NOT TOUCH OR CHANGE THE ENGINE NAME/APPLICATION NAME, breaks RNDA3!!
|
|
|
|
|
|
// AMD drivers have fixes for Yuzu
|
|
|
|
|
|
// if remove => gloom + yellow line glitch appears
|
|
|
|
|
|
#ifdef __ANDROID__
|
|
|
|
|
|
const VkApplicationInfo application_info{ |
|
|
|
|
|
.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO, |
|
|
|
|
|
.pNext = nullptr, |
|
|
|
|
|
.pApplicationName = "PUBGMobile", |
|
|
|
|
|
.applicationVersion = VK_MAKE_VERSION(1, 7, 0), |
|
|
|
|
|
.pEngineName = "UnrealEngine", |
|
|
|
|
|
.engineVersion = VK_MAKE_VERSION(4, 23, 0), |
|
|
|
|
|
.apiVersion = VK_API_VERSION_1_3, |
|
|
|
|
|
}; |
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
|
// DO NOT TOUCH, breaks RNDA3!!
|
|
|
|
|
|
// Don't know why, but gloom + yellow line glitch appears
|
|
|
const VkApplicationInfo application_info{ |
|
|
const VkApplicationInfo application_info{ |
|
|
.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO, |
|
|
.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO, |
|
|
.pNext = nullptr, |
|
|
.pNext = nullptr, |
|
|
@ -488,7 +476,6 @@ Instance Instance::Create(u32 version, Span<const char*> layers, Span<const char |
|
|
.engineVersion = VK_MAKE_VERSION(1, 3, 0), |
|
|
.engineVersion = VK_MAKE_VERSION(1, 3, 0), |
|
|
.apiVersion = VK_API_VERSION_1_3, |
|
|
.apiVersion = VK_API_VERSION_1_3, |
|
|
}; |
|
|
}; |
|
|
#endif
|
|
|
|
|
|
const VkInstanceCreateInfo ci{ |
|
|
const VkInstanceCreateInfo ci{ |
|
|
.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, |
|
|
.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, |
|
|
.pNext = nullptr, |
|
|
.pNext = nullptr, |
|
|
|