Shader: Minor fixes

This commit is contained in:
Jérôme Leclercq
2021-04-14 20:11:18 +02:00
parent 85ce6a4f43
commit 3e704b9ea6
3 changed files with 14 additions and 3 deletions

View File

@@ -203,14 +203,14 @@ namespace Nz
m_currentState->stream << std::string(m_currentState->resultOffset, ' ');
m_currentState->stream << instructionStream.str();
assert(GetCurrentPtr() == startPtr + wordCount - 1);
}
else
m_currentState->stream << instruction.name;
m_currentState->stream << "\n";
assert(GetCurrentPtr() == startPtr + wordCount - 1);
return true;
}
}