mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
rsx/ui: Add config toggle for GPU texture scaling/blit
This commit is contained in:
parent
6d6d0e4e36
commit
adefd1fd63
3 changed files with 7 additions and 1 deletions
|
@ -23,6 +23,8 @@ cfg::map_entry<double> g_cfg_rsx_frame_limit(cfg::root.video, "Frame limit",
|
|||
{ "Auto", -1. },
|
||||
});
|
||||
|
||||
extern cfg::bool_entry g_cfg_rsx_use_gpu_texture_scaling;
|
||||
|
||||
namespace rsx
|
||||
{
|
||||
rsx_state method_registers;
|
||||
|
@ -573,7 +575,7 @@ namespace rsx
|
|||
}
|
||||
}
|
||||
|
||||
if (dst_dma == CELL_GCM_CONTEXT_DMA_MEMORY_FRAME_BUFFER)
|
||||
if (g_cfg_rsx_use_gpu_texture_scaling && dst_dma == CELL_GCM_CONTEXT_DMA_MEMORY_FRAME_BUFFER)
|
||||
{
|
||||
//For now, only use this for actual scaled images, there are use cases that should not go through 3d engine, e.g program ucode transfer
|
||||
//TODO: Figure out more instances where we can use this without problems
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue