From de97d3a7aaa82d0ed4478cbba976a1ac498608ba Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Mon, 5 Oct 2015 18:52:41 +0200 Subject: [PATCH] d3d12: Zero vertex shader output. --- 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 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) {