Skip to content

[SER] Validate 'reordercoherent' resource property#7429

Merged
damyanp merged 7 commits intomicrosoft:mainfrom
simoll:ser_dxvreordercoherent_patch
May 9, 2025
Merged

[SER] Validate 'reordercoherent' resource property#7429
damyanp merged 7 commits intomicrosoft:mainfrom
simoll:ser_dxvreordercoherent_patch

Conversation

@simoll
Copy link
Copy Markdown
Collaborator

@simoll simoll commented May 5, 2025

Validates:
All resources
All instructions using resources

Rules:
'reordercoherent' may only be used in SM6.9+ in resource handles and
resource declarations.
Increment/DecrementCounter unsupported on 'reordercoherent' resources.

Create a new DXIL 1.9 variant of the 'CompileWhenOkThenCheckRDAT' container test and restore the old one without 'reordercoherent' (pre-#7250). The validator now rejects 'reordercoherent' in DXIL 1.3 and accepts from DXIL 1.9+.

SER implementation tracker: #7214

Validates:
 All resources
 All instructions using resources

Rules:
 'reordercoherent' may only be used in SM6.9+ in resource handles and
 resource declarations.
 Increment/DecrementCounter unsupported on 'reordercoherent' resources.

Create a new DXIL 1.9 variant of the 'CompileWhenOkThenCheckRDAT'
container test and restore the old one without 'reordercoherent' (pre-microsoft#7250). The validator now rejects 'reordercoherent' in DXIL 1.3 and accepts from DXIL 1.9+.

SER implementation tracker: microsoft#7214
@simoll simoll mentioned this pull request May 5, 2025
41 tasks
@tex3d tex3d self-assigned this May 5, 2025
@tex3d tex3d moved this to Active in HLSL Support May 5, 2025
Comment thread utils/hct/hctdb.py Outdated
Comment thread lib/DxilValidation/DxilValidation.cpp Outdated
Comment thread tools/clang/test/LitDXILValidation/ser_reordercoherent_invalid_incdec.ll Outdated
Comment thread tools/clang/unittests/HLSL/DxilContainerTest.cpp
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

Comment thread utils/hct/hctdb.py Outdated
@damyanp damyanp merged commit 474f9d2 into microsoft:main May 9, 2025
12 checks passed
@github-project-automation github-project-automation Bot moved this from New to Done in HLSL Roadmap May 9, 2025
@github-project-automation github-project-automation Bot moved this from Active to Closed in HLSL Support May 9, 2025
@simoll simoll deleted the ser_dxvreordercoherent_patch branch May 9, 2025 16:46
@damyanp damyanp removed this from HLSL Support Jun 25, 2025
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