From 18df24d3904ad3f5ca0275a8e1ab8e52aa6a7ab3 Mon Sep 17 00:00:00 2001 From: Ani Date: Wed, 21 Aug 2024 18:43:24 +0100 Subject: [PATCH] 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 --- rpcs3/Emu/RSX/VK/vkutils/device.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rpcs3/Emu/RSX/VK/vkutils/device.cpp b/rpcs3/Emu/RSX/VK/vkutils/device.cpp index 6fcc22a98d..6d14d7dffa 100644 --- a/rpcs3/Emu/RSX/VK/vkutils/device.cpp +++ b/rpcs3/Emu/RSX/VK/vkutils/device.cpp @@ -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;