mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-16 16:21:02 +00:00
d3d12: Cleaning
This commit is contained in:
parent
c3e162b442
commit
f1ab5abe2e
@ -431,7 +431,6 @@ void FragmentDecompiler::insertOutputs(std::stringstream & OS)
|
|||||||
|
|
||||||
void FragmentDecompiler::insertConstants(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 << "cbuffer CONSTANT : register(b2)" << std::endl;
|
||||||
OS << "{" << std::endl;
|
OS << "{" << std::endl;
|
||||||
for (ParamType PT : m_parr.params[PF_PARAM_UNIFORM])
|
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 << " " << PT.type << " " << PI.name << ";" << std::endl;
|
||||||
}
|
}
|
||||||
OS << "};" << 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)
|
void FragmentDecompiler::insertMainStart(std::stringstream & OS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user