mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 07:21:25 +12:00
rsx: Force disable draw reordering when capturing a frame
This commit is contained in:
parent
937f1e8cd0
commit
dd21e43ed5
2 changed files with 2 additions and 8 deletions
|
@ -791,7 +791,7 @@ namespace rsx
|
||||||
bool execute_method_call = true;
|
bool execute_method_call = true;
|
||||||
|
|
||||||
//TODO: Flatten draw calls when multidraw is not supported to simplify checking in the end() methods
|
//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
|
//TODO: Make this cleaner
|
||||||
bool flush_commands_flag = has_deferred_call;
|
bool flush_commands_flag = has_deferred_call;
|
||||||
|
|
|
@ -1083,13 +1083,7 @@ namespace rsx
|
||||||
|
|
||||||
void flip_command(thread* rsx, u32, u32 arg)
|
void flip_command(thread* rsx, u32, u32 arg)
|
||||||
{
|
{
|
||||||
if (user_asked_for_frame_capture && !g_cfg.video.strict_rendering_mode)
|
if (user_asked_for_frame_capture && !rsx->capture_current_frame)
|
||||||
{
|
|
||||||
// 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)
|
|
||||||
{
|
{
|
||||||
rsx->capture_current_frame = true;
|
rsx->capture_current_frame = true;
|
||||||
user_asked_for_frame_capture = false;
|
user_asked_for_frame_capture = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue