mirror of
https://github.com/rive-app/rive-cpp.git
synced 2026-01-18 13:11:19 +01:00
Remove Vulkan support for PowerVR devices below Vulkan 1.3 (#11284) f15e7dd47a
Due to issues with early PowerVR drivers, GL is recommended for these devices Co-authored-by: Josh Jersild <joshua@rive.app>
This commit is contained in:
@@ -1 +1 @@
|
||||
7564ef1fcba0c6b2c387c52734c5590774c81f60
|
||||
f15e7dd47abf3e8f4bbdd8731a2f8029a1bea040
|
||||
|
||||
@@ -3273,6 +3273,15 @@ std::unique_ptr<RenderContext> RenderContextVulkanImpl::MakeContext(
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if (vk->physicalDeviceProperties().vendorID == VULKAN_VENDOR_IMG_TEC &&
|
||||
vk->physicalDeviceProperties().apiVersion < VK_API_VERSION_1_3)
|
||||
{
|
||||
fprintf(
|
||||
stderr,
|
||||
"ERROR: Rive Vulkan renderer requires a driver that supports at least Vulkan 1.3 on PowerVR chipsets.\n");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
std::unique_ptr<RenderContextVulkanImpl> impl(
|
||||
new RenderContextVulkanImpl(std::move(vk), contextOptions));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user