From 79b7fd440c4ad871e958e65160f10c077e45691f Mon Sep 17 00:00:00 2001 From: saschawillems Date: Fri, 20 May 2016 23:15:06 +0200 Subject: [PATCH] Removed device wait idles (only uniform buffer used is coherent) --- raytracing/raytracing.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/raytracing/raytracing.cpp b/raytracing/raytracing.cpp index 0923f07d..28eaea03 100644 --- a/raytracing/raytracing.cpp +++ b/raytracing/raytracing.cpp @@ -719,9 +719,7 @@ public: { if (!prepared) return; - vkDeviceWaitIdle(device); draw(); - vkDeviceWaitIdle(device); if (!paused) { updateUniformBuffers();