Skip to content

Conversation

@simoll
Copy link
Collaborator

@simoll simoll commented Mar 24, 2025

Specification: https://github.com/microsoft/hlsl-specs/blob/main/proposals/0027-shader-execution-reordering.md

'reordercoherent' encoding hlsl-specs PR: microsoft/hlsl-specs#453

DXC SER implementation tracker: #7214

@simoll simoll requested a review from a team as a code owner March 24, 2025 10:54
@simoll simoll mentioned this pull request Mar 24, 2025
41 tasks
@simoll simoll force-pushed the ser_reordercoherent_patch branch from c34e1e1 to f7ac9b8 Compare March 25, 2025 19:07
@damyanp damyanp added this to the Next Release milestone Mar 28, 2025
Copy link
Contributor

@tex3d tex3d left a comment

Choose a reason for hiding this comment

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

Looking good; some minor comments.

@simoll simoll force-pushed the ser_reordercoherent_patch branch 2 times, most recently from 4db620d to d7d30ad Compare April 3, 2025 11:08
@simoll simoll requested a review from tex3d April 3, 2025 11:09
@simoll
Copy link
Collaborator Author

simoll commented Apr 3, 2025

There was a comment requesting a test for invalid dxil. Not adding that test here but tracking this under #7214 (as we do for the other 'check-fail' tests)

tex3d
tex3d previously approved these changes Apr 4, 2025
Copy link
Contributor

@tex3d tex3d left a comment

Choose a reason for hiding this comment

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

Looks good.

Only one minor thing I noticed, where the dxcdisassembler.cpp should probably be updated to print the new attribute.

@simoll simoll force-pushed the ser_reordercoherent_patch branch from d7d30ad to d343b2d Compare April 4, 2025 05:41
@simoll
Copy link
Collaborator Author

simoll commented Apr 4, 2025

I've addressed all the remaining minor requests. This is ready to merge from my end.

@simoll simoll requested a review from tex3d April 4, 2025 07:32
damyanp
damyanp previously approved these changes Apr 4, 2025
Copy link
Member

@damyanp damyanp left a comment

Choose a reason for hiding this comment

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

LGTM.

@tex3d - you'll need to submit a new as changes were pushed since your last review.

tex3d
tex3d previously approved these changes Apr 4, 2025
Copy link
Contributor

@tex3d tex3d left a comment

Choose a reason for hiding this comment

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

Looks good!

@github-actions
Copy link
Contributor

github-actions bot commented Apr 7, 2025

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

@simoll simoll requested review from llvm-beanz and tex3d April 7, 2025 07:09
tex3d
tex3d previously approved these changes Apr 7, 2025
Copy link
Collaborator

@llvm-beanz llvm-beanz left a comment

Choose a reason for hiding this comment

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

One small request with a suggestion to apply.

llvm-beanz
llvm-beanz previously approved these changes Apr 8, 2025
@simoll
Copy link
Collaborator Author

simoll commented Apr 8, 2025

@tex3d @llvm-beanz . please re-review. I've updated the test, this is ready to merge from my end

@tex3d tex3d merged commit 90bfb66 into microsoft:main Apr 10, 2025
12 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in HLSL Roadmap Apr 10, 2025
@simoll simoll deleted the ser_reordercoherent_patch branch April 11, 2025 09:28
@damyanp damyanp moved this to Closed in HLSL Support Apr 25, 2025
simoll added a commit to simoll/DirectXShaderCompiler that referenced this pull request 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-microsoft#7250). The validator now rejects 'reordercoherent' in DXIL 1.3 and accepts from DXIL 1.9+.

SER implementation tracker: microsoft#7214
damyanp pushed a commit that referenced this pull request May 9, 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

---------

Co-authored-by: Tex Riddell <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@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.

4 participants