Skip to content

[3.0] Fix EnumGroupRegression test case - #2525

Merged
silkdotnet merged 1 commit into
dotnet:develop/3.0from
Exanite:fix/silktouch-enum-group-regression-test
Jan 2, 2026
Merged

[3.0] Fix EnumGroupRegression test case#2525
silkdotnet merged 1 commit into
dotnet:develop/3.0from
Exanite:fix/silktouch-enum-group-regression-test

Conversation

@Exanite

@ExaniteExanite commented Jan 2, 2026

Copy link
Copy Markdown
Member

Summary of the PR

This prevents the Constants_* and enums_* groups from being output for the OpenCL XML spec in the EnumGroupRegression test case. The change to cl_compiler_mode_altera is justifiable since it is an empty enum.

Note that empty enums still contain important information, such as whether they are [Flags] types or not.
These notably affect the generation of the Vulkan bindings where ignoring these empty enums causes some enums to turn into non-Flags types.

Related issues, Discord discussions, or proposals

Discord discussion: https://discord.com/channels/521092042781229087/587346162802229298/1454577375063970045

Further Comments

@ExaniteExanite changed the title Fix EnumGroupRegression test case[3.0] Fix EnumGroupRegression test caseJan 2, 2026
…Regression test case
This fixes the Constants_* and enums_* groups from being output for the OpenCL XML spec in the EnumGroupRegression test case.
The change to cl_compiler_mode_altera is justifiable since it is an empty enum.
@Exanite
Exaniteforce-pushed the fix/silktouch-enum-group-regression-test branch from 3dfc1fc to 5165d3cCompareJanuary 2, 2026 14:33
@Exanite
Exanite marked this pull request as ready for review January 2, 2026 14:46
@Exanite
Exanite requested a review from a team as a code ownerJanuary 2, 2026 14:46

@PerkseyPerksey left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

yes

@github-project-automationgithub-project-automationBot moved this from Todo to In Progress in Silk.NET Development TrackerJan 2, 2026
@silkdotnet
silkdotnet merged commit 8baad9b into dotnet:develop/3.0Jan 2, 2026
12 of 15 checks passed
@github-project-automationgithub-project-automationBot moved this from In Progress to Done in Silk.NET Development TrackerJan 2, 2026
@Exanite
Exanite deleted the fix/silktouch-enum-group-regression-test branch January 2, 2026 17:57
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.

3 participants

@Exanite@Perksey@silkdotnet