From 4fd64a53e08f5ceddbe0b5706873248e16eb49dc Mon Sep 17 00:00:00 2001 From: PixelyIon Date: Fri, 6 May 2022 15:17:14 +0530 Subject: [PATCH] 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. --- app/src/main/cpp/skyline/gpu.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/cpp/skyline/gpu.cpp b/app/src/main/cpp/skyline/gpu.cpp index 4bdfd925..1072bbe7 100644 --- a/app/src/main/cpp/skyline/gpu.cpp +++ b/app/src/main/cpp/skyline/gpu.cpp @@ -241,6 +241,7 @@ namespace skyline::gpu { throw exception("Vulkan device doesn't support required feature: " #feature) FEAT_REQ(vk::PhysicalDeviceFeatures2, features.independentBlend); + FEAT_REQ(vk::PhysicalDeviceFeatures2, features.samplerAnisotropy); FEAT_REQ(vk::PhysicalDeviceFeatures2, features.shaderImageGatherExtended); FEAT_REQ(vk::PhysicalDeviceShaderDrawParametersFeatures, shaderDrawParameters);