mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12:00
rsx: Fix texture renormalization flag and fix windows build
This commit is contained in:
parent
c9a7abdd09
commit
b4a72b6223
3 changed files with 6 additions and 4 deletions
|
@ -99,6 +99,6 @@ namespace rsx
|
||||||
}
|
}
|
||||||
|
|
||||||
auto& rsxdma = g_fxo->get<rsx::dma_manager>();
|
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
|
enum mm_backend_ctrl : u32
|
||||||
{
|
{
|
||||||
mm_flush = 0x81000000,
|
cmd_mm_flush = 0x81000000,
|
||||||
};
|
};
|
||||||
|
|
||||||
void mm_protect(void* start, u64 length, utils::protection prot);
|
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);
|
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)
|
switch (format)
|
||||||
{
|
{
|
||||||
|
@ -3639,7 +3641,7 @@ namespace rsx
|
||||||
{
|
{
|
||||||
switch (request_code)
|
switch (request_code)
|
||||||
{
|
{
|
||||||
case rsx::mm_backend_ctrl::mm_flush:
|
case rsx::mm_backend_ctrl::cmd_mm_flush:
|
||||||
rsx::mm_flush();
|
rsx::mm_flush();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue