Skip to content

[dxv] Disallow work graps in DXIL 1.10 - #8862

Open
Chris B (llvm-beanz) wants to merge 4 commits into
microsoft:mainfrom
llvm-beanz:sm6.10-wg-validation
Open

[dxv] Disallow work graps in DXIL 1.10#8862
Chris B (llvm-beanz) wants to merge 4 commits into
microsoft:mainfrom
llvm-beanz:sm6.10-wg-validation

Conversation

@llvm-beanz

@llvm-beanz Chris B (llvm-beanz) commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

In DXIL 1.10, we're disallowing all the dxil operations associated with work graphs.

This is captured in the DXIL 1.10 specification in microsoft/hlsl-specs#918.

Assisted-by: Copilot

In DXIL 1.10, we're disallowing all the dxil operations associated with
work graphs.

This is captured in the Dxil 1.10 specification in [PR microsoft#918] (microsoft/hlsl-specs#918).

Assisted-by: Copilot
Copilot AI balanced review requested due to automatic review settings August 31, 2026 17:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Disallows work graph DXIL operations in Shader Model/DXIL 1.10 validation.

Changes:

  • Adds maximum shader-model metadata for DXIL operations.
  • Caps work graph operations at Shader Model 6.9.
  • Adds validation coverage and a release note.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
utils/hct/hctdb.py Defines operation shader-model upper bounds.
utils/hct/hctdb_instrhelp.py Generates maximum-version validation checks.
tools/clang/test/LitDXILValidation/work-graph-opcodes-sm-6-10.ll Tests rejection of work graph operations.
docs/ReleaseNotes.md Documents removal of support.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/ReleaseNotes.md Outdated
Comment thread docs/ReleaseNotes.md Outdated
Copilot AI review requested due to automatic review settings August 31, 2026 19:46
Comment thread docs/ReleaseNotes.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comment thread docs/ReleaseNotes.md Outdated
- Added `BFloat16` to the ComponentType enum in DxilConstants and the linalg
header [#8722](https://github.com/microsoft/DirectXShaderCompiler/issues/8722)
header [#8722](https://github.com/microsoft/DirectXShaderCompiler/issues/8722).
- Removed work graph support from Shader Model 6.10, and DXIL 1.10 [microsoft/hlsl-specs#915](https://github.com/microsoft/hlsl-specs/issues/915)
Copilot AI review requested due to automatic review settings August 31, 2026 19:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comment thread utils/hct/hctdb.py
Comment on lines +1041 to +1044
for i in (
"AllocateNodeOutputRecords,GetNodeRecordPtr,IncrementOutputCount,OutputComplete,GetInputRecordCount,FinishedCrossGroupSharing,BarrierByNodeRecordHandle,CreateNodeOutputHandle,IndexNodeHandle,AnnotateNodeHandle,CreateNodeInputRecordHandle,AnnotateNodeRecordHandle,NodeOutputIsValid,GetRemainingRecursionLevels"
).split(","):
self.name_idx[i].shader_model_max = 6, 9
Copilot AI review requested due to automatic review settings September 1, 2026 14:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

4 participants