-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Glad2 Vulkan support #7759
Comments
(FFS, another Vulkan loader. Vulkan is going the route of OpenGL :( ) Linking to #6582 |
You can actually use GLAD2 with VOLK, without touching ImGui sources. Volk has a compile time define
Also |
使用 glad2 将会方便很多 |
Version/Branch of Dear ImGui:
master
Back-ends:
imgui_impl_vulkan.cpp + imgui_impl_glfw.cpp
Compiler, OS:
Arch Linux GCC 14
Full config/build information:
No response
Details:
Add Vulkan glad2 support!
When I use glad2 for Vulkan I get errors that the imgui library cannot find Vulkan functions. I created this hotfix to resolve this issue.
Error example:
imgui/backends/imgui_impl_vulkan.cpp:1582:(.text+0x4936): undefined reference to vkDestroySemaphore
In
imgui_impl_vulkan.h
we should change 56-66 lines to:And also fix 96 line from
VkPipelineRenderingCreateInfoKHR
toVkPipelineRenderingCreateInfo
Thanks for attention!
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
No response
The text was updated successfully, but these errors were encountered: