diff options
| author | bunnei <bunneidev@gmail.com> | 2016-05-20 21:23:01 -0400 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2016-05-20 21:23:01 -0400 |
| commit | 0c2fab440148dc01e04e9435e5ff8f7a4576e3c2 (patch) | |
| tree | b098cf6dbc1db86e2738ef0ec99e455d9e23cd2f /src/video_core/debug_utils/debug_utils.h | |
| parent | 98923ab6e566f06b61d2dc671a1b8aec87f88407 (diff) | |
| parent | d77279a41538eabee0c6dc3fa93297f209d6ab03 (diff) | |
Merge pull request #1816 from JayFoxRox/refactor-tev-dump
Refactor Tev dump
Diffstat (limited to 'src/video_core/debug_utils/debug_utils.h')
| -rw-r--r-- | src/video_core/debug_utils/debug_utils.h | 6 |
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. |
