mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-14 18:58:29 +12:00
Latte: Fix shader compilation error when subroutines are used
Fixes character colors in Tekken Tag Tournament 2
This commit is contained in:
parent
b902aa2048
commit
92ab87b049
2 changed files with 3 additions and 2 deletions
|
@ -335,6 +335,7 @@ void RendererShaderVk::CompileInternal(bool isRenderThread)
|
|||
if (!Shader.parse(&Resources, 100, false, messagesParseLink))
|
||||
{
|
||||
cemuLog_log(LogType::Force, fmt::format("GLSL parsing failed for {:016x}_{:016x}: \"{}\"", m_baseHash, m_auxHash, Shader.getInfoLog()));
|
||||
cemuLog_logDebug(LogType::Force, "GLSL source:\n{}", m_glslCode);
|
||||
cemu_assert_debug(false);
|
||||
FinishCompilation();
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue