Skip to content

NFC: hctdb.py Remove manual DXIL op numbering#7892

Merged
tex3d merged 1 commit into
microsoft:mainfrom
tex3d:hctdb-auto-op-number
Nov 13, 2025
Merged

NFC: hctdb.py Remove manual DXIL op numbering#7892
tex3d merged 1 commit into
microsoft:mainfrom
tex3d:hctdb-auto-op-number

Conversation

@tex3d

@tex3d tex3d commented Nov 10, 2025

Copy link
Copy Markdown
Contributor

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.

@bogner bogner left a comment

Copy link
Copy Markdown
Collaborator

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.

Comment thread utils/hct/hctdb.py
@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

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants