mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-15 22:21:25 +00:00
rsx: Fix texture renormalization flag and fix windows build
This commit is contained in:
parent
c9a7abdd09
commit
b4a72b6223
@ -99,6 +99,6 @@ namespace rsx
|
||||
}
|
||||
|
||||
auto& rsxdma = g_fxo->get<rsx::dma_manager>();
|
||||
rsxdma.backend_ctrl(mm_backend_ctrl::mm_flush, nullptr);
|
||||
rsxdma.backend_ctrl(mm_backend_ctrl::cmd_mm_flush, nullptr);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user