Closed JRBurn777 closed 7 months ago
As an update, with the addition of video headers in this patch: https://github.com/Dav1dde/glad/commit/71f30638529eedfad3e9c47b0e6940dd1a7cf727, generating for Vulkan 1.3 and all extensions almost works.
python3 -m glad --out-path=<dir> --api="vulkan=1.3" c --alias --mx
If I pull down vulkan_video_codecs_common.h and place it with the other vk_video headers, I'm able to build and run.
Sorry I totally forgot about this issue, looks like https://github.com/Dav1dde/glad/issues/434 is a duplicate. I've opened an issue in the Khronos tracker about it, for now manually downloading the header should be all that's needed or generating an older API version via --reproducible
.
Fixed with 7e52c19d0991b237979eed67e4115b8d182a6c6c
When generating Glad for Vulkan, the VK_EXTvideo and VK_KHRvideo extensions require the vk_video Vulkan headers.
The last two in that list are protected by "VK_ENABLE_BETA_EXTENSIONS" which I do not define, but the initial four includes cause build issues without additionally pulling in the vk_video headers.
I can avoid the issue by removing all VK_EXTvideo and VK_KHRvideo extensions before generating.
Is this intentional behavior?
Generator Options to reproduce APIs:
Extensions:
Options: