rsx/ui: Add config toggle for GPU texture scaling/blit

This commit is contained in:
kd-11 2017-04-05 18:11:29 +03:00
parent 6d6d0e4e36
commit adefd1fd63
3 changed files with 7 additions and 1 deletions

View file

@ -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