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

enum values for KHR_synchronization2 enums are missing #22

Open
TheHugeManatee opened this issue Nov 24, 2022 · 0 comments
Open

enum values for KHR_synchronization2 enums are missing #22

TheHugeManatee opened this issue Nov 24, 2022 · 0 comments

Comments

@TheHugeManatee
Copy link

Hi! I'm trying to generate updated bindings for the vulkan 1.3 spec (vulkan 1.3.224 to be precise).

However, it seems that while most of the API is generated fine, values for some enums are missing. I only noticed because I am trying to use the KHR_synchronization2 functions and it seems that the extended enum values are missing from the header file.
The flags enum itself are generated fine:

typedef VkFlags64 VkAccessFlags2;
typedef VkFlags64 VkPipelineStageFlags2;

but there are no values for, for example, VK_ACCESS_2_SHADER_WRITE_BIT or VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT are missing. The spec says that the bit values for the "old" values are the same as the new ones, so in my case I can just use VK_ACCESS_SHADER_WRITE_BIT for now so it's not a big deal, just thought I'd report this.

I'm using the following commandline:

python flextGLgen.py -D generated_ext -t templates/vulkan .\profiles\vulkan-1.3.224_ext.txt

with the vulkan-1.3.224_ext.txt file:

version 1.3 vulkan

extension KHR_swapchain optional
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

1 participant