rsx/d3d12/gl: Make output write backend dependent.

This commit is contained in:
Vincent Lejeune 2015-11-30 19:39:14 +01:00
parent 6fae5863cf
commit 929f518ef3
4 changed files with 37 additions and 22 deletions

View file

@ -319,11 +319,6 @@ std::string FragmentProgramDecompiler::BuildCode()
{
//main += fmt::format("\tgl_FragColor = %c0;\n", m_ctrl & 0x40 ? 'r' : 'h');
if (m_ctrl & 0xe)
{
main += m_ctrl & 0x40 ? "\tgl_FragDepth = r1.z;\n" : "\tgl_FragDepth = h0.z;\n";
}
std::stringstream OS;
insertHeader(OS);
OS << std::endl;