mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 06:51:26 +12: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
da84326bd0
commit
c9d39ce7ae
1 changed files with 6 additions and 0 deletions
|
@ -666,6 +666,12 @@ namespace vk
|
||||||
enabled_features.textureCompressionBC = VK_FALSE;
|
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 = {};
|
VkDeviceCreateInfo device = {};
|
||||||
device.sType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO;
|
device.sType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO;
|
||||||
device.pNext = nullptr;
|
device.pNext = nullptr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue