Make independentBlend a required VkDevice feature

Independent blending is supported by effectively every Vulkan 1.1 Android GPU, it gives us the ability to architecture Maxwell3D blending emulation better as we can avoid additional checks for independent blending state and having a fallback path for when the host doesn't support the feature.
This commit is contained in:
PixelyIon 2021-11-15 00:29:08 +05:30
parent cd737fbdd8
commit 2ceb6465e8

View File

@ -131,6 +131,8 @@ namespace skyline::gpu {
else \ else \
throw exception("Vulkan device doesn't support required feature: " #feature) throw exception("Vulkan device doesn't support required feature: " #feature)
FEAT_REQ(independentBlend);
#undef FEAT_REQ #undef FEAT_REQ
auto deviceExtensions{physicalDevice.enumerateDeviceExtensionProperties()}; auto deviceExtensions{physicalDevice.enumerateDeviceExtensionProperties()};