Skip to content

Conversation

@tex3d
Copy link
Contributor

@tex3d tex3d commented Nov 10, 2025

This change has no impact on any code generated by hctdb.py, used when building DXC.

This change simplifies DXIL operation definitions by removing the need to manually track the OpCode number for each operation. They must be dense, so manually incrementing and supplying the counter could only be a source of error.

This keeps the version markers with the explicit counts which helps prevent changes to ops in previously released dxil versions from accidentally being made and going unnoticed.

This is a simplification meant to ease future experimental DXIL op changes.

Copy link
Collaborator

@bogner bogner left a comment

Choose a reason for hiding this comment

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

Minor suggestion below, but LGTM either way.

@tex3d tex3d merged commit 4f3dde0 into microsoft:main Nov 13, 2025
13 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in HLSL Roadmap Nov 13, 2025
@tex3d tex3d deleted the hctdb-auto-op-number branch November 13, 2025 21:06
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