diff --git a/rpcs3/Emu/RSX/D3D12/D3D12VertexProgramDecompiler.cpp b/rpcs3/Emu/RSX/D3D12/D3D12VertexProgramDecompiler.cpp index 11d7ddf342..555881380a 100644 --- a/rpcs3/Emu/RSX/D3D12/D3D12VertexProgramDecompiler.cpp +++ b/rpcs3/Emu/RSX/D3D12/D3D12VertexProgramDecompiler.cpp @@ -141,7 +141,7 @@ void D3D12VertexProgramDecompiler::insertMainStart(std::stringstream & OS) void D3D12VertexProgramDecompiler::insertMainEnd(std::stringstream & OS) { - OS << " PixelInput Out;" << std::endl; + OS << " PixelInput Out = (PixelInput)0;" << std::endl; // Declare inside main function for (auto &i : reg_table) {