Skip to content

PIX passes: Centralize handle-generation code and update for 6.6#3628

Merged
jeffnn merged 3 commits intomicrosoft:masterfrom
jeffnn:PIX_SM66_Handles
Mar 26, 2021
Merged

PIX passes: Centralize handle-generation code and update for 6.6#3628
jeffnn merged 3 commits intomicrosoft:masterfrom
jeffnn:PIX_SM66_Handles

Conversation

@jeffnn
Copy link
Copy Markdown
Collaborator

@jeffnn jeffnn commented Mar 25, 2021

This is little more than a move of the "create-uav" code in lib/DxilPIXPasses/DxilShaderAccessTracking.cpp to PixPassHelpers.cpp, followed by a factoring-out of the parts that create a handle (either pre-SM6.6 fashion, or with the newer create-from-binding etc.).
All the other passes' near-identical code was then deleted and made to call the centralized function.

@jeffnn jeffnn requested a review from pow2clk March 25, 2021 23:50
@jeffnn jeffnn self-assigned this Mar 25, 2021
@jeffnn
Copy link
Copy Markdown
Collaborator Author

jeffnn commented Mar 25, 2021

@pow2clk: I have committed the faux-pas that you asked me not to here, by moving code and then modifying it. However, it has moved across files, so I don't think I could have made the diffs any easier...

@AppVeyorBot
Copy link
Copy Markdown

Copy link
Copy Markdown
Collaborator

@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.

Slight comment/varname suggestion, but not crucial

Comment thread lib/DxilPIXPasses/PixPassHelpers.cpp Outdated
Comment thread lib/DxilPIXPasses/PixPassHelpers.cpp Outdated
@AppVeyorBot
Copy link
Copy Markdown

@jeffnn jeffnn merged commit ea1efe9 into microsoft:master Mar 26, 2021
@jeffnn jeffnn deleted the PIX_SM66_Handles branch March 26, 2021 19:55
tex3d pushed a commit to tex3d/DirectXShaderCompiler that referenced this pull request Mar 26, 2021
…rosoft#3628)

This is little more than a move of the "create-uav" code in lib/DxilPIXPasses/DxilShaderAccessTracking.cpp to PixPassHelpers.cpp, followed by a factoring-out of the parts that create a handle (either pre-SM6.6 fashion, or with the newer create-from-binding etc.).
All the other passes' near-identical code was then deleted and made to call the centralized function.

(cherry picked from commit ea1efe9)
tex3d added a commit that referenced this pull request Mar 29, 2021
…) (#3638)

This is little more than a move of the "create-uav" code in lib/DxilPIXPasses/DxilShaderAccessTracking.cpp to PixPassHelpers.cpp, followed by a factoring-out of the parts that create a handle (either pre-SM6.6 fashion, or with the newer create-from-binding etc.).
All the other passes' near-identical code was then deleted and made to call the centralized function.

(cherry picked from commit ea1efe9)

Co-authored-by: Jeff Noyle <jeffno@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants