#Vulkan Device Extension(s) not loading

10 messages · Page 1 of 1 (latest)

rough latch
#

I'm following the vkguide.dev but not using vk-bootstrap. I am trying to enable the synchronization2 extension to continue with the tutorial. I keep getting errors from the validation layer when trying to use vkCmdPipelineBarrier2() saying the feature is not enabled. I'm at a bit of a loss. The code for my initialization is in this file on github: https://github.com/Biggkahuna98/QuestEngine/blob/main/Engine/Source/VulkanRHI/VkInit.cpp

GitHub

A 2D/3D Vulkan Game Engine written in C++. Contribute to Biggkahuna98/QuestEngine development by creating an account on GitHub.

young wigeon
#

You have to enable the synchronization2 feature

rough latch
#

Yes, I understand that. I thought I was trying to do that, and I am not seeing why it is not being enabled.

young wigeon
#

You have to add this structure in the pNext of VkDeviceCreateInfo

acoustic kernel
#

The extension and the feature are 2 separate things

rough latch
#

Oh, I see.

acoustic kernel
#

A single extension might have multiple features, so whenever you enable one you have to specifically say what you want to enable

#

Even in this case when there's only one feature

rough latch
#

Gotcha... thanks so much!