Skip to content

PIX: CP NURI pass, multi-UAV bugfix#7323

Merged
jeffnn merged 3 commits intomicrosoft:release-1.8.2502from
jeffnn:PIX_CP_NURInDblUav2
Apr 8, 2025
Merged

PIX: CP NURI pass, multi-UAV bugfix#7323
jeffnn merged 3 commits intomicrosoft:release-1.8.2502from
jeffnn:PIX_CP_NURInDblUav2

Conversation

@jeffnn
Copy link
Copy Markdown
Collaborator

@jeffnn jeffnn commented Apr 8, 2025

Brings in these PRs:

#7272 [PIX] Add a pass for PIX to log missing NonUniformResourceIndex usage into a UAV.
#7238 [PIX: Check for existing PIX UAV in roots sigs before adding it again.

jeffnn and others added 2 commits April 7, 2025 17:06
…icrosoft#7238)

The DXR invocation counting pass calls a function to add an output UAV
twice. As part of adding the UAV, any DXIL-defined rootsigs will be
extended to include this new UAV. If the UAV already exists in the
rootsig, we should not add it again. (Doing so results in root sig that
will fail validation.)

Note: the test is not a file-check style because dxil-defined subobjects
don't get rehydrated into the DxilModule when the output of dxc.exe is
piped into the input of opt.exe, meaning that the broken case can't be
exercised.

(cherry picked from commit a13938d)
… into a UAV (microsoft#7272)

This is a pass to add instructions to determine missing usage of the
NonUniformResourceIndex qualifier when dynamically indexing resources.
The instruction numbers will be written out to a UAV for later ingestion
by PIX to present a view of the output.

(cherry picked from commit dc4a2b6)
@jeffnn jeffnn requested a review from a team as a code owner April 8, 2025 00:11
Hopefully this works and gets us able to build with CMake 4+.

(cherry picked from commit 3035d31)
@jeffnn jeffnn merged commit a031dc1 into microsoft:release-1.8.2502 Apr 8, 2025
13 checks passed
@github-project-automation github-project-automation Bot moved this from New to Done in HLSL Roadmap Apr 8, 2025
madebr pushed a commit to libsdl-org/DirectXShaderCompiler that referenced this pull request Dec 3, 2025
Brings in these PRs:

microsoft#7272 [PIX] Add a pass for PIX to log missing NonUniformResourceIndex
usage into a UAV.
microsoft#7238 [PIX: Check for existing PIX UAV in roots sigs before adding it
again.

---------

Co-authored-by: nopandbrk <[email protected]>
Co-authored-by: Chris B <[email protected]>
(cherry picked from commit a031dc1)
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