diff --git a/rpcs3/Emu/RSX/D3D12/VertexProgramDecompiler.cpp b/rpcs3/Emu/RSX/D3D12/VertexProgramDecompiler.cpp index 10facd5b5c..9fc6af2b09 100644 --- a/rpcs3/Emu/RSX/D3D12/VertexProgramDecompiler.cpp +++ b/rpcs3/Emu/RSX/D3D12/VertexProgramDecompiler.cpp @@ -542,7 +542,7 @@ void VertexDecompiler::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., 0.);" << std::endl; + OS << " " << PT.type << " " << PI.name << " = float4(0., 0., 0., 1.);" << std::endl; } for (const ParamType PT : m_parr.params[PF_PARAM_IN])