From c9d39ce7ae253f0d9c5859dbb2ec999d46118e5b Mon Sep 17 00:00:00 2001 From: Aleksey Komarov Date: Wed, 1 Jan 2025 22:28:04 +0300 Subject: [PATCH] vk: Support panvk, allow creating device without textureCompressionBC panvk supports BC1-BC3 which is all RPCS3 require, support is reported as false since not all formats are supported --- rpcs3/Emu/RSX/VK/vkutils/device.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rpcs3/Emu/RSX/VK/vkutils/device.cpp b/rpcs3/Emu/RSX/VK/vkutils/device.cpp index ad80b3786f..aa326982f6 100644 --- a/rpcs3/Emu/RSX/VK/vkutils/device.cpp +++ b/rpcs3/Emu/RSX/VK/vkutils/device.cpp @@ -666,6 +666,12 @@ namespace vk enabled_features.textureCompressionBC = VK_FALSE; } + if (!pgpu->features.textureCompressionBC && pgpu->get_driver_vendor() == driver_vendor::PANVK) + { + rsx_log.error("Your GPU running on the PANVK driver does not support full texture block compression. Graphics may not render correctly."); + enabled_features.textureCompressionBC = VK_FALSE; + } + VkDeviceCreateInfo device = {}; device.sType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO; device.pNext = nullptr;