mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 12:05:23 +00:00
d3d12: Some cleaning
This commit is contained in:
parent
16f40fb69c
commit
caab6cbc60
1 changed files with 0 additions and 14 deletions
|
@ -397,13 +397,6 @@ std::string VertexDecompiler::BuildFuncBody(const FuncInfo& func)
|
|||
|
||||
std::string VertexDecompiler::BuildCode()
|
||||
{
|
||||
|
||||
std::string f;
|
||||
std::string fp;
|
||||
|
||||
f = fmt::Format("void %s()\n{\n\t%s();\n%s\tgl_Position = gl_Position * scaleOffsetMat;\n}\n",
|
||||
m_funcs[0].name.c_str(), m_funcs[1].name.c_str(), f.c_str());
|
||||
|
||||
std::string main_body;
|
||||
for (uint i = 0, lvl = 1; i < m_instr_count; i++)
|
||||
{
|
||||
|
@ -432,13 +425,6 @@ std::string VertexDecompiler::BuildCode()
|
|||
lvl += m_instructions[i].open_scopes;
|
||||
}
|
||||
|
||||
f += fmt::Format("\nvoid %s()\n{\n%s}\n", m_funcs[1].name.c_str(), main_body.c_str());
|
||||
|
||||
for (uint i = 2; i<m_funcs.size(); ++i)
|
||||
{
|
||||
f += fmt::Format("\nvoid %s()\n{\n%s}\n", m_funcs[i].name.c_str(), BuildFuncBody(m_funcs[i]).c_str());
|
||||
}
|
||||
|
||||
std::stringstream OS;
|
||||
insertHeader(OS);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue