1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

vk: Support v3dv, allow creating device without textureCompressionBC

v3dv supports BC1-BC3 which is all we require, support is reported as 
false since not all formats are supported
This commit is contained in:
Ani 2024-08-21 18:43:24 +01:00 committed by Elad
parent c2b275ddbc
commit 18df24d390

View File

@ -606,6 +606,13 @@ namespace vk
enabled_features.logicOp = VK_FALSE;
}
if (!pgpu->features.textureCompressionBC)
{
// v3dv supports BC1-BC3 which is all we require, support is reported as false since not all formats are supported
rsx_log.error("Your GPU 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;