mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
rsx/d3d12/gl: Make output write backend dependent.
This commit is contained in:
parent
6fae5863cf
commit
929f518ef3
4 changed files with 37 additions and 22 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue