mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Add delay to empty capture tests to ensure the capture propagates
This commit is contained in:
@@ -45,6 +45,7 @@ RD_TEST(D3D11_Empty_Capture, D3D11GraphicsTest)
|
||||
{
|
||||
rdoc->StartFrameCapture(NULL, NULL);
|
||||
rdoc->EndFrameCapture(NULL, NULL);
|
||||
msleep(1000);
|
||||
}
|
||||
|
||||
if(curFrame > 50)
|
||||
|
||||
@@ -60,6 +60,7 @@ RD_TEST(D3D12_Empty_Capture, D3D12GraphicsTest)
|
||||
{
|
||||
rdoc->StartFrameCapture(NULL, NULL);
|
||||
rdoc->EndFrameCapture(NULL, NULL);
|
||||
msleep(1000);
|
||||
}
|
||||
|
||||
if(curFrame > 50)
|
||||
|
||||
@@ -46,6 +46,7 @@ RD_TEST(GL_Empty_Capture, OpenGLGraphicsTest)
|
||||
{
|
||||
rdoc->StartFrameCapture(NULL, NULL);
|
||||
rdoc->EndFrameCapture(NULL, NULL);
|
||||
msleep(1000);
|
||||
}
|
||||
|
||||
if(curFrame > 50)
|
||||
|
||||
@@ -60,6 +60,7 @@ RD_TEST(VK_Empty_Capture, VulkanGraphicsTest)
|
||||
{
|
||||
rdoc->StartFrameCapture(NULL, NULL);
|
||||
rdoc->EndFrameCapture(NULL, NULL);
|
||||
msleep(1000);
|
||||
}
|
||||
|
||||
if(curFrame > 50)
|
||||
|
||||
Reference in New Issue
Block a user