From 0af9685381f689aa7655c6be2157ad4e4b0d47d0 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sat, 7 Sep 2019 18:33:17 +0300 Subject: [PATCH] rsx: Deprecate surface_transform::argb_to_bgra which is no longer required. - vulkan now uses native swizzle mapping for both surface and texture --- rpcs3/Emu/RSX/Common/texture_cache.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/Common/texture_cache.h b/rpcs3/Emu/RSX/Common/texture_cache.h index d24c87c9e7..6a860bb2e2 100644 --- a/rpcs3/Emu/RSX/Common/texture_cache.h +++ b/rpcs3/Emu/RSX/Common/texture_cache.h @@ -1691,7 +1691,7 @@ namespace rsx surfaces.push_back ({ section->get_raw_texture(), - is_depth ? surface_transform::identity : surface_transform::argb_to_bgra, + surface_transform::identity, (u16)std::get<0>(clipped).x, (u16)std::get<0>(clipped).y, rsx::apply_resolution_scale((u16)std::get<1>(clipped).x, true), @@ -1710,7 +1710,7 @@ namespace rsx surfaces.push_back ({ section->get_raw_texture(), - is_depth ? surface_transform::identity : surface_transform::argb_to_bgra, + surface_transform::identity, (u16)std::get<0>(clipped).x, (u16)std::get<0>(clipped).y, (u16)std::get<1>(clipped).x,