d3d12: Use true default value for vertex decompiler

This commit is contained in:
vlj 2015-05-21 01:23:46 +02:00 committed by Vincent Lejeune
parent 9fc50fcce5
commit 31ea9068de
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ void D3D12VertexProgramDecompiler::insertMainStart(std::stringstream & OS)
for (const ParamType PT : m_parr.params[PF_PARAM_NONE])
{
for (const ParamItem &PI : PT.items)
OS << " " << PT.type << " " << PI.name << " = float4(0., 0., 0., 1.);" << std::endl;
OS << " " << PT.type << " " << PI.name << " = " << PI.value << ";" << std::endl;
}
for (const ParamType PT : m_parr.params[PF_PARAM_IN])