1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-11-30 13:24:10 +01:00

[dxvk] Don't use ALL_COMMANDS_BIT to notify events

This commit is contained in:
Philip Rebohle 2019-05-09 18:07:49 +02:00
parent 2c45eb79c4
commit 7d6f78182b
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -2206,7 +2206,7 @@ namespace dxvk {
DxvkGpuEventHandle handle = m_gpuEvents->allocEvent();
m_cmd->cmdSetEvent(handle.event,
VK_PIPELINE_STAGE_ALL_COMMANDS_BIT);
VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT);
m_cmd->trackGpuEvent(event->reset(handle));
m_cmd->trackResource(event);