Skip to content

Conversation

@Exanite
Copy link
Contributor

@Exanite Exanite commented Jan 2, 2026

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

@Exanite Exanite changed the title Fix EnumGroupRegression test case [3.0] Fix EnumGroupRegression test case Jan 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 Exanite force-pushed the fix/silktouch-enum-group-regression-test branch from 3dfc1fc to 5165d3c Compare January 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 owner January 2, 2026 14:46
Copy link
Member

@Perksey Perksey left a comment

Choose a reason for hiding this comment

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

yes

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

3 participants