Skip to content

enum values for KHR_synchronization2 enums are missing #22

@TheHugeManatee

Description

@TheHugeManatee

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 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions