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

@ExaniteExanite 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-actionsBot commented May 1, 2026

Copy link
Copy Markdown
Contributor

FileCoverage
All files16%

Minimum allowed coverage is 0%

Generated by 🐒 cobertura-action against c9d23c9

@Exanite
Exaniteforce-pushed the feature/vk-structure-types branch from 7a20a21 to c2c40d6CompareJune 5, 2026 23:27
@Exanite

Copy link
Copy Markdown
MemberAuthor

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

@ExaniteExanite left a comment

Copy link
Copy Markdown
MemberAuthor

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 threadeng/silktouch/vulkan/settings.rsp
Comment thread.silktouch/vulkan-clangsharp.stout
Comment threadsources/SilkTouch/SilkTouch/Mods/MixKhronosData.cs
Comment threadgenerator.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 ownerJune 5, 2026 23:54
@Exanite
Exanite merged commit 4b11ec6 into develop/3.0Jun 12, 2026
24 checks passed
@Exanite
Exanite deleted the feature/vk-structure-types branch June 12, 2026 06:26
Sign up for freeto 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

@Exanite@curin