mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-20 02:47:02 +02:00
fix(renderdoc): capture complete guest frames
This commit is contained in:
@@ -204,6 +204,11 @@ void GuestGpu::Done() {
|
||||
Common::LockGuard render_lock(m_renderer.GetMutex());
|
||||
RenderDocEndCapture();
|
||||
});
|
||||
} else if (RenderDocCaptureRequested()) {
|
||||
SendCommandSync([this] {
|
||||
Common::LockGuard render_lock(m_renderer.GetMutex());
|
||||
RenderDocStartCapture();
|
||||
});
|
||||
}
|
||||
m_graphics_done = true;
|
||||
m_done_num++;
|
||||
@@ -566,10 +571,6 @@ void GuestGpu::ThreadRun(void* data) {
|
||||
|
||||
bool GuestGpu::Process(Submission& submission) {
|
||||
const bool first_slice = !submission.started;
|
||||
if (first_slice && RenderDocCaptureRequested()) {
|
||||
Common::LockGuard render_lock(m_renderer.GetMutex());
|
||||
RenderDocStartCapture();
|
||||
}
|
||||
auto& cp = GetProcessor(submission.queue_id);
|
||||
|
||||
if (first_slice && submission.reset_processor) {
|
||||
|
||||
Reference in New Issue
Block a user