From 1eac03a11cca9f19529931bd37f7cfd65afad2c2 Mon Sep 17 00:00:00 2001 From: DrChat Date: Sat, 19 Aug 2017 21:10:53 -0500 Subject: [PATCH] GPU: The base format of *_EXPAND textures is *_FLOAT --- src/xenia/gpu/texture_info.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xenia/gpu/texture_info.h b/src/xenia/gpu/texture_info.h index b67843d14..3228a4768 100644 --- a/src/xenia/gpu/texture_info.h +++ b/src/xenia/gpu/texture_info.h @@ -92,11 +92,11 @@ inline TextureFormat GetBaseFormat(TextureFormat texture_format) { // These formats are used for resampling textures / gamma control. switch (texture_format) { case TextureFormat::k_16_EXPAND: - return TextureFormat::k_16; + return TextureFormat::k_16_FLOAT; case TextureFormat::k_16_16_EXPAND: - return TextureFormat::k_16_16; + return TextureFormat::k_16_16_FLOAT; case TextureFormat::k_16_16_16_16_EXPAND: - return TextureFormat::k_16_16_16_16; + return TextureFormat::k_16_16_16_16_FLOAT; case TextureFormat::k_8_8_8_8_AS_16_16_16_16: return TextureFormat::k_8_8_8_8; case TextureFormat::k_DXT1_AS_16_16_16_16: