From 3c38bdbd0e7cdc753eaa094db8b7fa69a1940993 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Mon, 22 Aug 2022 01:59:14 +0200 Subject: [PATCH] [dxvk] Initialize DxvkSubmitInfo properly We don't use the semaphore value here, but it shouldn't contain undefined data. --- src/dxvk/dxvk_device.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dxvk/dxvk_device.cpp b/src/dxvk/dxvk_device.cpp index 08d6e6997..49ef7158e 100644 --- a/src/dxvk/dxvk_device.cpp +++ b/src/dxvk/dxvk_device.cpp @@ -268,8 +268,8 @@ namespace dxvk { void DxvkDevice::submitCommandList( const Rc& commandList) { - DxvkSubmitInfo submitInfo; - submitInfo.cmdList = commandList; + DxvkSubmitInfo submitInfo = { }; + submitInfo.cmdList = commandList; m_submissionQueue.submit(submitInfo); std::lock_guard statLock(m_statLock);