1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 23:52:10 +01:00

[dxvk] Use new lifetime tracking for events

This commit is contained in:
Philip Rebohle 2024-10-17 16:09:13 +02:00 committed by Philip Rebohle
parent 50d8e3933a
commit 7fef97dae0
2 changed files with 1 additions and 5 deletions

View File

@ -282,10 +282,6 @@ namespace dxvk {
m_resources.trackSampler(sampler);
}
void trackEvent(Rc<DxvkGpuEvent>&& event) {
m_resources.trackEvent(std::move(event));
}
/**
* \brief Tracks an object
*

View File

@ -2387,7 +2387,7 @@ namespace dxvk {
depInfo.pMemoryBarriers = &barrier;
m_cmd->cmdSetEvent(gpuEvent->handle(), &depInfo);
m_cmd->trackEvent(std::move(gpuEvent));
m_cmd->track(std::move(gpuEvent));
}