Skip to content

Conversation

@Book-reader
Copy link
Member

@Book-reader Book-reader commented Jan 8, 2026

some of the enums are stored in structs, which would result in them being stored as their ordinal instead of their intended value. For example the structure type of VkPhysicalDeviceSubgroupProperties (VkStructureType.VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES) would be stored as 49 instead of 1000094000 and would likely break when used.
Making them const fixes this

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

Successfully merging this pull request may close these issues.

1 participant