From 1d9b4a865ac50b6cfbac0cdfd84ff5235b3dec9c Mon Sep 17 00:00:00 2001 From: PixelyIon Date: Fri, 6 May 2022 15:15:59 +0530 Subject: [PATCH] Add additional formats to Adreno filter `VK_FORMAT_R32G32B32A32_SFLOAT` and `D32_SFLOAT` have their capabilities misreported as well, this spams the logs in titles such as ARMS. --- app/src/main/cpp/skyline/gpu.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/cpp/skyline/gpu.cpp b/app/src/main/cpp/skyline/gpu.cpp index 31b81cd2..4bdfd925 100644 --- a/app/src/main/cpp/skyline/gpu.cpp +++ b/app/src/main/cpp/skyline/gpu.cpp @@ -122,6 +122,8 @@ namespace skyline::gpu { FMT("B5G6R5_UNORM_PACK16"); FMT("R5G6B5_UNORM_PACK16"); + FMT("R32G32B32A32_SFLOAT"); + FMT("D32_SFLOAT"); #undef FMT @@ -139,6 +141,8 @@ namespace skyline::gpu { switch (format) { case vk::Format::eR5G6B5UnormPack16: case vk::Format::eB5G6R5UnormPack16: + case vk::Format::eR32G32B32A32Sfloat: + case vk::Format::eD32Sfloat: case vk::Format::eBc1RgbUnormBlock: case vk::Format::eBc1RgbSrgbBlock: