d3d12: Cleaning

This commit is contained in:
vlj 2015-05-16 19:11:01 +02:00 committed by Vincent Lejeune
parent c3e162b442
commit f1ab5abe2e
1 changed files with 0 additions and 7 deletions

View File

@ -431,7 +431,6 @@ void FragmentDecompiler::insertOutputs(std::stringstream & OS)
void FragmentDecompiler::insertConstants(std::stringstream & OS)
{
// TODO : Avoid constant recompilation and properly use constant buffer
OS << "cbuffer CONSTANT : register(b2)" << std::endl;
OS << "{" << std::endl;
for (ParamType PT : m_parr.params[PF_PARAM_UNIFORM])
@ -440,12 +439,6 @@ void FragmentDecompiler::insertConstants(std::stringstream & OS)
OS << " " << PT.type << " " << PI.name << ";" << std::endl;
}
OS << "};" << std::endl;
/* for (ParamType PT : m_parr.params[PF_PARAM_UNIFORM])
{
for (ParamItem PI : PT.items)
OS << PT.type << " " << PI.name << " = " << PI.value << ";" << std::endl;
}*/
}
void FragmentDecompiler::insertMainStart(std::stringstream & OS)