From 7b2e9a1d2cdd3b716c890e04472e51dfa57f4e73 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Wed, 21 Oct 2020 22:16:35 +0800 Subject: [PATCH] use WaitFence at submit texture --- src/RenderDevice/VKDeviceTexture.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/RenderDevice/VKDeviceTexture.cpp b/src/RenderDevice/VKDeviceTexture.cpp index eedf9e9c..b1875756 100644 --- a/src/RenderDevice/VKDeviceTexture.cpp +++ b/src/RenderDevice/VKDeviceTexture.cpp @@ -314,7 +314,8 @@ bool GPUDevice::SubmitTexture(const VkCommandBuffer *cmd_bufs,const uint32_t cou return(false); textureSQ->Submit(cmd_bufs,count,nullptr,nullptr); - textureSQ->WaitQueue(); +// textureSQ->WaitQueue(); + textureSQ->WaitFence(); return(true); }