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
This commit is contained in:
Aleksey Komarov 2025-01-01 22:28:04 +03:00 committed by Elad
parent da84326bd0
commit c9d39ce7ae

View file

@ -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;