From f1ab5abe2e58ce32e3fd26274f8a5a450cefc891 Mon Sep 17 00:00:00 2001 From: vlj Date: Sat, 16 May 2015 19:11:01 +0200 Subject: [PATCH] d3d12: Cleaning --- rpcs3/Emu/RSX/D3D12/FragmentProgramDecompiler.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/rpcs3/Emu/RSX/D3D12/FragmentProgramDecompiler.cpp b/rpcs3/Emu/RSX/D3D12/FragmentProgramDecompiler.cpp index 9d22dbb786..0eb811a512 100644 --- a/rpcs3/Emu/RSX/D3D12/FragmentProgramDecompiler.cpp +++ b/rpcs3/Emu/RSX/D3D12/FragmentProgramDecompiler.cpp @@ -431,7 +431,6 @@ void FragmentDecompiler::insertOutputs(std::stringstream & OS) void FragmentDecompiler::insertConstants(std::stringstream & OS) { - // TODO : Avoid constant recompilation and properly use constant buffer OS << "cbuffer CONSTANT : register(b2)" << std::endl; OS << "{" << std::endl; for (ParamType PT : m_parr.params[PF_PARAM_UNIFORM]) @@ -440,12 +439,6 @@ void FragmentDecompiler::insertConstants(std::stringstream & OS) OS << " " << PT.type << " " << PI.name << ";" << std::endl; } OS << "};" << std::endl; - -/* for (ParamType PT : m_parr.params[PF_PARAM_UNIFORM]) - { - for (ParamItem PI : PT.items) - OS << PT.type << " " << PI.name << " = " << PI.value << ";" << std::endl; - }*/ } void FragmentDecompiler::insertMainStart(std::stringstream & OS)