Skip to content

PIX value-to-declare pass: subprogram type members#3140

Merged
jeffnn merged 6 commits intomicrosoft:masterfrom
jeffnn:PIX_SubprogramTypeMembers
Sep 17, 2020
Merged

PIX value-to-declare pass: subprogram type members#3140
jeffnn merged 6 commits intomicrosoft:masterfrom
jeffnn:PIX_SubprogramTypeMembers

Conversation

@jeffnn
Copy link
Copy Markdown
Collaborator

@jeffnn jeffnn commented Sep 17, 2020

This change was prompted by a couple of PIX users who were trying to debug shaders containing HLSL structs with member methods. The gist of the change is just to ignore DISubProgram members.
Also added a crash-only unit test that echoes one of the original PIX user's cases.

(Oh and dxil_dia::DataSource::openSession wasn't setting up the file system, which would cause an assert in the new test case)

@jeffnn jeffnn self-assigned this Sep 17, 2020
@AppVeyorBot
Copy link
Copy Markdown

@jeffnn jeffnn merged commit 7e92bbc into microsoft:master Sep 17, 2020
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