mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
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:
parent
d7dbe0d963
commit
1bd90559ef
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue