Skip to content

[3.0] Add Khronos StructureType field initializers - #2576

Merged
Exanite merged 8 commits into
develop/3.0from
feature/vk-structure-types
Jun 12, 2026
Merged

[3.0] Add Khronos StructureType field initializers#2576
Exanite merged 8 commits into
develop/3.0from
feature/vk-structure-types

Conversation

@Exanite

@Exanite Exanite commented May 1, 2026

Copy link
Copy Markdown
Member

Summary of the PR

This adds default field initializers to structures that have structure type members, such as sType for VkStructureType in Vulkan.

Related issues, Discord discussions, or proposals

Original discussion with Perksey: https://discord.com/channels/521092042781229087/1376331581198827520/1395826788101263463

Discord thread for work done during this PR: https://discord.com/channels/521092042781229087/1499891853217103902

Further Comments

Tasks

  • Scrape structure type member information
  • Add field initializers to structure type members
    • Add explicit constructor since field initializers require them.
  • Update generator.json to use the new config option
  • Wait for previous PRs to be merged
    • Rebase
  • Regenerate Vulkan bindings using Windows

@github-actions

github-actions Bot commented May 1, 2026

Copy link
Copy Markdown
Contributor

File Coverage
All files 16%

Minimum allowed coverage is 0%

Generated by 🐒 cobertura-action against c9d23c9

@Exanite
Exanite force-pushed the feature/vk-structure-types branch from 7a20a21 to c2c40d6 Compare June 5, 2026 23:27
@Exanite

Exanite commented Jun 5, 2026

Copy link
Copy Markdown
Member Author

Verified Windows generation output is the exact same, so not adding an extra commit.

@Exanite Exanite left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self code review done.

Comment thread eng/silktouch/vulkan/settings.rsp
Comment thread .silktouch/vulkan-clangsharp.stout
Comment thread sources/SilkTouch/SilkTouch/Mods/MixKhronosData.cs
Comment thread generator.json
@Exanite
Exanite marked this pull request as ready for review June 5, 2026 23:54
@Exanite
Exanite requested a review from a team as a code owner June 5, 2026 23:54
@Exanite
Exanite merged commit 4b11ec6 into develop/3.0 Jun 12, 2026
24 checks passed
@Exanite
Exanite deleted the feature/vk-structure-types branch June 12, 2026 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants