2
0
Эх сурвалжийг харах

vulkan: remove unnecessary vkDeviceWaitIdle
Since we are only cleaning up objects that haven't been used in the
last 5000 frames, we do not need to wait to delete them.

niki 2 жил өмнө
parent
commit
5254417c63

+ 0 - 1
src/modules/graphics/vulkan/Graphics.cpp

@@ -1173,7 +1173,6 @@ void Graphics::beginFrame()
 
 	if (frameCounter >= USAGES_POLL_INTERVAL)
 	{
-		vkDeviceWaitIdle(device);
 		cleanupUnusedObjects();
 		frameCounter = 0;
 	}