diff --git a/rpcs3/Emu/RSX/Host/MM.cpp b/rpcs3/Emu/RSX/Host/MM.cpp index d843e17ff8..d70b46823a 100644 --- a/rpcs3/Emu/RSX/Host/MM.cpp +++ b/rpcs3/Emu/RSX/Host/MM.cpp @@ -99,6 +99,6 @@ namespace rsx } auto& rsxdma = g_fxo->get(); - rsxdma.backend_ctrl(mm_backend_ctrl::mm_flush, nullptr); + rsxdma.backend_ctrl(mm_backend_ctrl::cmd_mm_flush, nullptr); } } diff --git a/rpcs3/Emu/RSX/Host/MM.h b/rpcs3/Emu/RSX/Host/MM.h index b4b73d7b2b..e9415a685f 100644 --- a/rpcs3/Emu/RSX/Host/MM.h +++ b/rpcs3/Emu/RSX/Host/MM.h @@ -30,7 +30,7 @@ namespace rsx enum mm_backend_ctrl : u32 { - mm_flush = 0x81000000, + cmd_mm_flush = 0x81000000, }; void mm_protect(void* start, u64 length, utils::protection prot); diff --git a/rpcs3/Emu/RSX/RSXThread.cpp b/rpcs3/Emu/RSX/RSXThread.cpp index 858e3e1471..2aea23b916 100644 --- a/rpcs3/Emu/RSX/RSXThread.cpp +++ b/rpcs3/Emu/RSX/RSXThread.cpp @@ -2604,7 +2604,9 @@ namespace rsx rsx_log.error("Depth texture bound to pipeline with unexpected format 0x%X", format); } } - else if (!backend_config.supports_hw_renormalization) + else if (!backend_config.supports_hw_renormalization && + tex.min_filter() == rsx::texture_minify_filter::nearest && + tex.mag_filter() == rsx::texture_magnify_filter::nearest) { switch (format) { @@ -3639,7 +3641,7 @@ namespace rsx { switch (request_code) { - case rsx::mm_backend_ctrl::mm_flush: + case rsx::mm_backend_ctrl::cmd_mm_flush: rsx::mm_flush(); break; default: