rsx: Force disable draw reordering when capturing a frame

This commit is contained in:
kd-11 2018-08-16 20:41:28 +03:00 committed by kd-11
parent 937f1e8cd0
commit dd21e43ed5
2 changed files with 2 additions and 8 deletions

View file

@ -791,7 +791,7 @@ namespace rsx
bool execute_method_call = true;
//TODO: Flatten draw calls when multidraw is not supported to simplify checking in the end() methods
if (supports_multidraw && !g_cfg.video.disable_FIFO_reordering)
if (supports_multidraw && !g_cfg.video.disable_FIFO_reordering && !capture_current_frame)
{
//TODO: Make this cleaner
bool flush_commands_flag = has_deferred_call;

View file

@ -1083,13 +1083,7 @@ namespace rsx
void flip_command(thread* rsx, u32, u32 arg)
{
if (user_asked_for_frame_capture && !g_cfg.video.strict_rendering_mode)
{
// not dealing with non-strict rendering capture for now
user_asked_for_frame_capture = false;
LOG_FATAL(RSX, "RSX Capture: Capture only supported when ran with strict rendering mode.");
}
else if (user_asked_for_frame_capture && !rsx->capture_current_frame)
if (user_asked_for_frame_capture && !rsx->capture_current_frame)
{
rsx->capture_current_frame = true;
user_asked_for_frame_capture = false;