Skip to content

PIX WG shader debugging support #4

Description

@Feirell

I really like your work graph playground tool. Thank you very much for providing it! Played around with it a little and am now using it as a blueprint to implement my own little application.
One thing I can't seem to get to work (for my own application) is PIX debugging.

I might be really wrong about this, since I am very new to C++, DirectX 12 and Work Graphs, but I was hoping to get a better understanding of the inner workings for my work graph (what records are available, what the nodes are doing, etc.).

Since I use mesh nodes in my work graph I used the PIX version 2407.17-preview.

My problem is that, PIX can't seem to find the PDB files for the shader.

I tried to adapt the example code from DXC wiki page about debugging and PIX guide for automatic resolution but PIX can't seem to identify the PDBs for the shader regardless of how I configure that PDB export.
This is probably an error on my part and easy to fix for someone with more experience in this field, but sadly I can't seem to find a reference that works. So maybe you could add a flag to enable PDB output and a short setup guide in the README how to configure PIX so one can debug their shader.

The reason I ask this here, is that this may be something useful for other people wanting to try out work graphs and mesh shader nodes and want to debug / understand them further.
Additionally, an implementation here may be useful as a reference point for people like me who are new to all those technologies.

In any case, thank you for your time and effort!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions