From c47d12875c5e788c4b72ffc2b94e490f32f5d557 Mon Sep 17 00:00:00 2001 From: AllanCat <0937388@gmail.com> Date: Wed, 19 Jul 2017 15:06:29 +0800 Subject: [PATCH] Fixed Vulkan's dark color issue. --- src/xenia/gpu/vulkan/texture_cache.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xenia/gpu/vulkan/texture_cache.cc b/src/xenia/gpu/vulkan/texture_cache.cc index 8df3b94a3..3849839f2 100644 --- a/src/xenia/gpu/vulkan/texture_cache.cc +++ b/src/xenia/gpu/vulkan/texture_cache.cc @@ -51,9 +51,9 @@ static const TextureConfig texture_configs[64] = { {TextureFormat::k_4_4_4_4, VK_FORMAT_R4G4B4A4_UNORM_PACK16}, {TextureFormat::k_10_11_11, VK_FORMAT_B10G11R11_UFLOAT_PACK32}, // ? {TextureFormat::k_11_11_10, VK_FORMAT_B10G11R11_UFLOAT_PACK32}, // ? - {TextureFormat::k_DXT1, VK_FORMAT_BC1_RGBA_SRGB_BLOCK}, - {TextureFormat::k_DXT2_3, VK_FORMAT_BC2_SRGB_BLOCK}, - {TextureFormat::k_DXT4_5, VK_FORMAT_BC3_SRGB_BLOCK}, + {TextureFormat::k_DXT1, VK_FORMAT_BC1_RGBA_UNORM_BLOCK}, + {TextureFormat::k_DXT2_3, VK_FORMAT_BC2_UNORM_BLOCK}, + {TextureFormat::k_DXT4_5, VK_FORMAT_BC3_UNORM_BLOCK}, {TextureFormat::kUnknown, VK_FORMAT_UNDEFINED}, {TextureFormat::k_24_8, VK_FORMAT_D24_UNORM_S8_UINT}, {TextureFormat::k_24_8_FLOAT, VK_FORMAT_D24_UNORM_S8_UINT}, // ?