Skip to content
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 1.4: "vulkan_video_codec_h264std_encode.h" can not be found #503

Open
sdragonx opened this issue Jan 6, 2025 · 5 comments
Open

Comments

@sdragonx
Copy link

sdragonx commented Jan 6, 2025

#include "vk_video/vulkan_video_codec_h264std_encode.h"

"vulkan_video_codec_h264std_encode.h" can not be found, It's not included in the Lunarg Vulkan SDK either.

@Dav1dde
Copy link
Owner

Dav1dde commented Jan 6, 2025

The file is available here: https://raw.githubusercontent.com/KhronosGroup/Vulkan-Headers/main/include/vk_video/vulkan_video_codec_h264std_encode.h

But glad should include it automatically if it is required. Can you paste the full commandline arguments you used to generate the files (found in any of the glad generated header files), e.g.:

 * Commandline:
 *    --api='gl:compatibility=4.4' --extensions='' c

@sdragonx
Copy link
Author

sdragonx commented Jan 6, 2025

i choose 'vulkan' only.

https://gen.glad.sh/

无标题

@Dav1dde
Copy link
Owner

Dav1dde commented Jan 6, 2025

This configuration doesn't require the vulkan_video_codec_h264std_encode header (also does not include it), that's why it's not generated.

If you select a feature/extension which requires the header, it will be included.

@sdragonx
Copy link
Author

sdragonx commented Jan 6, 2025

select "KHR" and "EXT" in the extension to include this file.

@sjhaleprogrammer
Copy link

the file doesn't appear when adding all extensions

Image

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants