summaryrefslogtreecommitdiffstats
path: root/src/video_core/debug_utils/debug_utils.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-05-21 03:23:01 +0200
committerbunnei <bunneidev@gmail.com>2016-05-21 03:23:01 +0200
commit0c2fab440148dc01e04e9435e5ff8f7a4576e3c2 (patch)
treeb098cf6dbc1db86e2738ef0ec99e455d9e23cd2f /src/video_core/debug_utils/debug_utils.h
parentConfig: Restore previously selected audio sink option (#1824) (diff)
parentRefactor Tev stage dumper (diff)
downloadyuzu-0c2fab440148dc01e04e9435e5ff8f7a4576e3c2.tar
yuzu-0c2fab440148dc01e04e9435e5ff8f7a4576e3c2.tar.gz
yuzu-0c2fab440148dc01e04e9435e5ff8f7a4576e3c2.tar.bz2
yuzu-0c2fab440148dc01e04e9435e5ff8f7a4576e3c2.tar.lz
yuzu-0c2fab440148dc01e04e9435e5ff8f7a4576e3c2.tar.xz
yuzu-0c2fab440148dc01e04e9435e5ff8f7a4576e3c2.tar.zst
yuzu-0c2fab440148dc01e04e9435e5ff8f7a4576e3c2.zip
Diffstat (limited to 'src/video_core/debug_utils/debug_utils.h')
-rw-r--r--src/video_core/debug_utils/debug_utils.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/debug_utils/debug_utils.h b/src/video_core/debug_utils/debug_utils.h
index f628292a4..92e9734ae 100644
--- a/src/video_core/debug_utils/debug_utils.h
+++ b/src/video_core/debug_utils/debug_utils.h
@@ -224,7 +224,11 @@ const Math::Vec4<u8> LookupTexture(const u8* source, int s, int t, const Texture
void DumpTexture(const Pica::Regs::TextureConfig& texture_config, u8* data);
-void DumpTevStageConfig(const std::array<Pica::Regs::TevStageConfig,6>& stages);
+std::string GetTevStageConfigColorCombinerString(const Pica::Regs::TevStageConfig& tev_stage);
+std::string GetTevStageConfigAlphaCombinerString(const Pica::Regs::TevStageConfig& tev_stage);
+
+/// Dumps the Tev stage config to log at trace level
+void DumpTevStageConfig(const std::array<Pica::Regs::TevStageConfig, 6>& stages);
/**
* Used in the vertex loader to merge access records. TODO: Investigate if actually useful.