From 3e45006d14ac8b8f398be1bb25a5001d4a8bb84b Mon Sep 17 00:00:00 2001 From: PixelyIon Date: Wed, 1 Dec 2021 22:50:54 +0530 Subject: [PATCH] Make `shaderImageGatherExtended` a required `VkDevice` feature `shaderImageGatherExtended` is required by the shader compiler, to avoid complications associated with making it optional and considering that it's supported by the vast majority of Vulkan mobile devices, it was made a mandatory feature. --- 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 81591cca..6d190d67 100644 --- a/app/src/main/cpp/skyline/gpu.cpp +++ b/app/src/main/cpp/skyline/gpu.cpp @@ -132,6 +132,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.shaderImageGatherExtended); #undef FEAT_REQ