[dxvk] Initialize DxvkSubmitInfo properly

We don't use the semaphore value here, but it shouldn't
contain undefined data.
This commit is contained in:
Philip Rebohle 2022-08-22 01:59:14 +02:00
parent f385b4bb47
commit 3c38bdbd0e
1 changed files with 2 additions and 2 deletions

View File

@ -268,8 +268,8 @@ namespace dxvk {
void DxvkDevice::submitCommandList(
const Rc<DxvkCommandList>& commandList) {
DxvkSubmitInfo submitInfo;
submitInfo.cmdList = commandList;
DxvkSubmitInfo submitInfo = { };
submitInfo.cmdList = commandList;
m_submissionQueue.submit(submitInfo);
std::lock_guard<sync::Spinlock> statLock(m_statLock);