Skip to content

Shader Execution Reordering (SER) proposal#277

Merged
damyanp merged 27 commits into
microsoft:mainfrom
rasmusnv:ser_proposal
Jan 31, 2025
Merged

Shader Execution Reordering (SER) proposal#277
damyanp merged 27 commits into
microsoft:mainfrom
rasmusnv:ser_proposal

Conversation

@rasmusnv
Copy link
Copy Markdown
Contributor

Add Shader Execution Reordering (SER) proposal for consideration.

Copy link
Copy Markdown
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.

Looks ready to take into the repo for further review. Before completing the PR, please pick the next free proposal number (at time of writing this comment, that would be 0021) and rename the file and the reference to it on line 4 appropriately.

Comment thread proposals/NNNN-shader-execution-reordering.md
Comment thread proposals/NNNN-shader-execution-reordering.md Outdated
Comment thread proposals/NNNN-shader-execution-reordering.md Outdated
Comment thread proposals/NNNN-shader-execution-reordering.md Outdated
Comment thread proposals/NNNN-shader-execution-reordering.md Outdated
Comment thread proposals/NNNN-shader-execution-reordering.md
Comment thread proposals/NNNN-shader-execution-reordering.md
Copy link
Copy Markdown
Contributor

@pow2clk pow2clk left a comment

Choose a reason for hiding this comment

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

I'll disclose that I'm not a DXR expert. A lot of my feedback is copy editing, trying to make the document easier to read. I feel a bit stronger about my thoughts on testability and DXIL op feedback.

Comment thread proposals/NNNN-shader-execution-reordering.md Outdated
Comment thread proposals/NNNN-shader-execution-reordering.md Outdated
Comment thread proposals/NNNN-shader-execution-reordering.md Outdated
Comment thread proposals/NNNN-shader-execution-reordering.md Outdated
Comment thread proposals/NNNN-shader-execution-reordering.md Outdated
Comment thread proposals/NNNN-shader-execution-reordering.md
Comment thread proposals/NNNN-shader-execution-reordering.md
Comment thread proposals/NNNN-shader-execution-reordering.md
Comment thread proposals/NNNN-shader-execution-reordering.md Outdated
Comment thread proposals/NNNN-shader-execution-reordering.md Outdated
Comment thread proposals/NNNN-shader-execution-reordering.md
@rasmusnv
Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree company="NVIDIA"

Copy link
Copy Markdown
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.

It looks like there's a large number of unresolved conversations on this PR - these either need to be moved into issues or addressed in the spec before we can merge it.

Co-authored-by: Greg Roth <grroth@microsoft.com>
@damyanp damyanp added this to the Shader Model 6.9 milestone Oct 16, 2024
simoll added a commit to simoll/DirectXShaderCompiler that referenced this pull request Jan 29, 2025
Reduction of the complete SER implementation to just the HitObject type
and its default constructor.

Specification PR: microsoft/hlsl-specs#277
@Flakebi
Copy link
Copy Markdown

Flakebi commented Jan 29, 2025

There are two comment threads above (one and two) about clarifications in the wording.
The threads were marked as resolved, but it would still be nice if the formulations can be clarified before this is merged.

@rasmusnv
Copy link
Copy Markdown
Contributor Author

There are two comment threads above (one and two) about clarifications in the wording. The threads were marked as resolved, but it would still be nice if the formulations can be clarified before this is merged.

Please see the latest commit for clarifications.

@rasmusnv rasmusnv closed this Jan 31, 2025
@rasmusnv rasmusnv reopened this Jan 31, 2025
@Flakebi
Copy link
Copy Markdown

Flakebi commented Jan 31, 2025

Thanks for update, looks good to me now :)

@rasmusnv
Copy link
Copy Markdown
Contributor Author

I think the PR is ready for merge. I resolved the remaining conversations as it looked like no changes were required at this point. For further changes we can open focused issues. I also picked up the next available number, 27. (Please ignore the close and re-open, that was a mistake).

@damyanp
Copy link
Copy Markdown
Member

damyanp commented Jan 31, 2025

Thank you everyone! I'm going to go ahead an merge this PR. Options for further discussion:

  • open an issue in this repo against this proposal
  • submit a PR with a proposed change to the proposal
  • reach out directly to us if the above options are not possible

@damyanp
Copy link
Copy Markdown
Member

damyanp commented Jan 31, 2025

If reordering is optional, I would suggest renaming the call to MaybeReorderThread so that it's clear to the caller that implementations are free to do this, or not.

#378

llvm-beanz pushed a commit to llvm-beanz/hlsl-specs that referenced this pull request Feb 9, 2025

Co-authored-by: Greg Roth <grroth@microsoft.com>
Co-authored-by: Tex Riddell <texr@microsoft.com>
Co-authored-by: Radek Drabinski <radoslaw.drabinski@intel.com>
simoll added a commit to simoll/DirectXShaderCompiler that referenced this pull request Feb 18, 2025
Reduction of the complete SER implementation to just the HitObject type
and its default constructor.

Specification PR: microsoft/hlsl-specs#277
simoll added a commit to simoll/DirectXShaderCompiler that referenced this pull request Feb 19, 2025
Reduction of the complete SER implementation to just the HitObject type
and its default constructor.

Specification PR: microsoft/hlsl-specs#277
simoll added a commit to simoll/DirectXShaderCompiler that referenced this pull request Feb 25, 2025
Reduction of the complete SER implementation to just the HitObject type
and its default constructor.

Specification PR: microsoft/hlsl-specs#277
simoll added a commit to simoll/DirectXShaderCompiler that referenced this pull request Feb 25, 2025
Reduction of the complete SER implementation to just the HitObject type
and its default constructor.

Specification PR: microsoft/hlsl-specs#277
simoll added a commit to simoll/DirectXShaderCompiler that referenced this pull request Feb 26, 2025
Reduction of the complete SER implementation to just the HitObject type
and its default constructor.

Specification PR: microsoft/hlsl-specs#277
simoll added a commit to simoll/DirectXShaderCompiler that referenced this pull request Mar 10, 2025
Reduction of the complete SER implementation to just the HitObject type
and its default constructor.

Specification PR: microsoft/hlsl-specs#277
simoll added a commit to simoll/DirectXShaderCompiler that referenced this pull request Mar 13, 2025
Reduction of the complete SER implementation to just the HitObject type
and its default constructor.

Specification PR: microsoft/hlsl-specs#277
simoll added a commit to simoll/DirectXShaderCompiler that referenced this pull request Mar 17, 2025
Reduction of the complete SER implementation to just the HitObject type
and its default constructor.

Specification PR: microsoft/hlsl-specs#277
simoll added a commit to simoll/DirectXShaderCompiler that referenced this pull request Mar 19, 2025
Reduction of the complete SER implementation to just the HitObject type
and its default constructor.

Specification PR: microsoft/hlsl-specs#277
simoll added a commit to simoll/DirectXShaderCompiler that referenced this pull request Mar 20, 2025
Reduction of the complete SER implementation to just the HitObject type
and its default constructor.

Specification PR: microsoft/hlsl-specs#277
tex3d pushed a commit to microsoft/DirectXShaderCompiler that referenced this pull request Mar 25, 2025
Reduction of the complete SER implementation to just the HitObject type
and its default constructor.

This has most of the infrastructure changes in DXC to support SER, eg
static member functions for builtins, HitObject scalar type.

Specification PR: microsoft/hlsl-specs#277
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Design Meeting Agenda item for the design meeting

Projects

Status: Accepted
Status: Triaged

Development

Successfully merging this pull request may close these issues.