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:
parent
50d8e3933a
commit
7fef97dae0
@ -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
|
||||
*
|
||||
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user