From ecfaaa6c959dfca24602128ca5d358b03310fcfd Mon Sep 17 00:00:00 2001 From: DrChat Date: Wed, 20 Dec 2017 21:26:52 -0600 Subject: [PATCH] [GPU] Log attempts to fetch unsupported texture formats --- src/xenia/gpu/texture_info.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/xenia/gpu/texture_info.cc b/src/xenia/gpu/texture_info.cc index b700c004f..13cf23c81 100644 --- a/src/xenia/gpu/texture_info.cc +++ b/src/xenia/gpu/texture_info.cc @@ -13,9 +13,11 @@ #include #include -#include "third_party/xxhash/xxhash.h" +#include "xenia/base/logging.h" #include "xenia/base/math.h" +#include "third_party/xxhash/xxhash.h" + namespace xe { namespace gpu { @@ -60,7 +62,8 @@ bool TextureInfo::Prepare(const xe_gpu_texture_fetch_t& fetch, info.input_length = 0; // Populated below. if (info.format_info()->format == TextureFormat::kUnknown) { - assert_true("Unsupported texture format"); + XELOGE("Attempting to fetch from unsupported texture format %d", + info.texture_format); return false; }