From 31ea9068dedf61c899263a4ebbe26213b4ba48f6 Mon Sep 17 00:00:00 2001 From: vlj Date: Thu, 21 May 2015 01:23:46 +0200 Subject: [PATCH] d3d12: Use true default value for vertex decompiler --- rpcs3/Emu/RSX/D3D12/D3D12VertexProgramDecompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/D3D12/D3D12VertexProgramDecompiler.cpp b/rpcs3/Emu/RSX/D3D12/D3D12VertexProgramDecompiler.cpp index 39dc87365f..7c560789de 100644 --- a/rpcs3/Emu/RSX/D3D12/D3D12VertexProgramDecompiler.cpp +++ b/rpcs3/Emu/RSX/D3D12/D3D12VertexProgramDecompiler.cpp @@ -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])