Add delay to empty capture tests to ensure the capture propagates

This commit is contained in:
baldurk committed 2023-09-20 12:06:21 +01:00
1 parent b262958d53
commit 81cbd7f404
4 files changed
+4

No files matched your search

@@ -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)
+1
View File
@@ -46,6 +46,7 @@ RD_TEST(GL_Empty_Capture, OpenGLGraphicsTest)
{
rdoc->StartFrameCapture(NULL, NULL);
rdoc->EndFrameCapture(NULL, NULL);
msleep(1000);
}
if(curFrame > 50)
+1
View File
@@ -60,6 +60,7 @@ RD_TEST(VK_Empty_Capture, VulkanGraphicsTest)
{
rdoc->StartFrameCapture(NULL, NULL);
rdoc->EndFrameCapture(NULL, NULL);
msleep(1000);
}
if(curFrame > 50)