Require Vulkan samplerAnisotropy feature

This is a widely supported feature that games may require conditionally but due to it being supported on effectively all target devices, it was made mandatory. This is used by titles such as ARMS.
This commit is contained in:
PixelyIon 2022-05-06 15:17:14 +05:30
parent 1d9b4a865a
commit 4fd64a53e0

View File

@ -241,6 +241,7 @@ namespace skyline::gpu {
throw exception("Vulkan device doesn't support required feature: " #feature) throw exception("Vulkan device doesn't support required feature: " #feature)
FEAT_REQ(vk::PhysicalDeviceFeatures2, features.independentBlend); FEAT_REQ(vk::PhysicalDeviceFeatures2, features.independentBlend);
FEAT_REQ(vk::PhysicalDeviceFeatures2, features.samplerAnisotropy);
FEAT_REQ(vk::PhysicalDeviceFeatures2, features.shaderImageGatherExtended); FEAT_REQ(vk::PhysicalDeviceFeatures2, features.shaderImageGatherExtended);
FEAT_REQ(vk::PhysicalDeviceShaderDrawParametersFeatures, shaderDrawParameters); FEAT_REQ(vk::PhysicalDeviceShaderDrawParametersFeatures, shaderDrawParameters);