Skip to content

Commit 315c683

Browse files
JoshJRiveJoshJRive
andcommitted
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>
1 parent 5f503f6 commit 315c683

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.rive_head

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7564ef1fcba0c6b2c387c52734c5590774c81f60
1+
f15e7dd47abf3e8f4bbdd8731a2f8029a1bea040

renderer/src/vulkan/render_context_vulkan_impl.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3273,6 +3273,15 @@ std::unique_ptr<RenderContext> RenderContextVulkanImpl::MakeContext(
32733273
return nullptr;
32743274
}
32753275

3276+
if (vk->physicalDeviceProperties().vendorID == VULKAN_VENDOR_IMG_TEC &&
3277+
vk->physicalDeviceProperties().apiVersion < VK_API_VERSION_1_3)
3278+
{
3279+
fprintf(
3280+
stderr,
3281+
"ERROR: Rive Vulkan renderer requires a driver that supports at least Vulkan 1.3 on PowerVR chipsets.\n");
3282+
return nullptr;
3283+
}
3284+
32763285
std::unique_ptr<RenderContextVulkanImpl> impl(
32773286
new RenderContextVulkanImpl(std::move(vk), contextOptions));
32783287

0 commit comments

Comments
 (0)