Skip to content

Commit

Permalink
Fix missing "vkQueueSubmit2" hook when building with lite add-on support
Browse files Browse the repository at this point in the history
This fixes a crash with DXVK 2.0
  • Loading branch information
crosire committed Nov 21, 2022
1 parent 595bb38 commit a6fa1f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/vulkan/vulkan_hooks.cpp
Expand Up @@ -139,7 +139,9 @@ VK_LAYER_EXPORT PFN_vkVoidFunction VKAPI_CALL vkGetDeviceProcAddr(VkDevice devic
# if !RESHADE_ADDON_LITE
HOOK_PROC_OPTIONAL(CmdPipelineBarrier2,);
HOOK_PROC_OPTIONAL(CmdWriteTimestamp2,);
# endif
HOOK_PROC_OPTIONAL(QueueSubmit2,);
# if !RESHADE_ADDON_LITE
HOOK_PROC_OPTIONAL(CmdCopyBuffer2,);
HOOK_PROC_OPTIONAL(CmdCopyImage2,);
HOOK_PROC_OPTIONAL(CmdCopyBufferToImage2,);
Expand Down

0 comments on commit a6fa1f1

Please sign in to comment.