parent
9e073bdd3b
commit
f252284fa5
2 changed files with 17 additions and 12 deletions
|
|
@ -275,9 +275,11 @@ void VulkanExampleBase::renderFrame()
|
|||
void VulkanExampleBase::renderLoop()
|
||||
{
|
||||
if (benchmark.active) {
|
||||
benchmark.run([=] { render(); });
|
||||
benchmark.run([=] { render(); }, vulkanDevice->properties);
|
||||
vkDeviceWaitIdle(device);
|
||||
benchmark.saveResults(title, deviceProperties.deviceName);
|
||||
if (benchmark.filename != "") {
|
||||
benchmark.saveResults();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue