mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 07:21:25 +12:00
rsx: Re-evaluate color MRT setup when the surface target type changes
This commit is contained in:
parent
eea73deab3
commit
de28c812e8
2 changed files with 7 additions and 6 deletions
|
@ -1605,6 +1605,12 @@ namespace rsx
|
|||
|
||||
void thread::on_framebuffer_options_changed(u32 opt)
|
||||
{
|
||||
if (m_rtts_dirty)
|
||||
{
|
||||
// Nothing to do
|
||||
return;
|
||||
}
|
||||
|
||||
auto evaluate_depth_buffer_state = [&]()
|
||||
{
|
||||
m_framebuffer_layout.zeta_write_enabled =
|
||||
|
@ -1678,12 +1684,6 @@ namespace rsx
|
|||
return false;
|
||||
};
|
||||
|
||||
if (m_rtts_dirty)
|
||||
{
|
||||
// Nothing to do
|
||||
return;
|
||||
}
|
||||
|
||||
switch (opt)
|
||||
{
|
||||
case NV4097_SET_DEPTH_TEST_ENABLE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue