Compare commits

...

2 Commits

Author SHA1 Message Date
lizzie 5a908a9d15 unreal 2026-08-30 06:08:26 +00:00
lizzie 8a74207b68 [vk] Masquerade VkInfo as GI
Signed-off-by: lizzie <lizzie@eden-emu.dev>
2026-08-30 04:23:24 +00:00
@@ -459,8 +459,22 @@ Instance Instance::Create(u32 version, Span<const char*> layers, Span<const char
#else
constexpr VkFlags ci_flags{};
#endif
// DO NOT TOUCH, breaks RNDA3!!
// Don't know why, but gloom + yellow line glitch appears
// 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,
// i dont know whats the application name for, but this should match
.pApplicationName = "PUBGMobile", // Just lie to the driver, straight up
.applicationVersion = VK_MAKE_VERSION(1, 7, 0),
// in case they want UnrealEngine
.pEngineName = "UnrealEngine",
.engineVersion = VK_MAKE_VERSION(4, 18, 0),
.apiVersion = VK_API_VERSION_1_3,
};
#else
const VkApplicationInfo application_info{
.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO,
.pNext = nullptr,
@@ -470,6 +484,7 @@ Instance Instance::Create(u32 version, Span<const char*> layers, Span<const char
.engineVersion = VK_MAKE_VERSION(1, 3, 0),
.apiVersion = VK_API_VERSION_1_3,
};
#endif
const VkInstanceCreateInfo ci{
.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO,
.pNext = nullptr,