Skip to content

Shaders debug info generated with dxcompiler.dll are not found #7

@rbertin-aso

Description

@rbertin-aso

Hi !

I'm currently trying to use RGD to find a gpu crash. Our shader are compiled during runtime thanks to dxcompiler.dll and we output the pdb file (small or not) with GetOutput(DXC_OUT_PDB .... I checked the dxbc parser and the first thing it is trying to do is finding the pdb separate file path with FindDxbcFileByHash. This function check the digest by checking the dxbc header and magic number. However, all our pdb files (small or not) are in MSF format. The CheckDigest will then fail and shader debug infos can't be found.

I tried to always check for MSF format and then find the DXBC start like in ExtractDebugInfoFromSmallPdb but the header is the not good one and digest can not be found thus not finding the shader debug info.

Would you have any ideas on how to fix this ? Or is there something with our usage of dxcompiler that we need to change ?

Have a nice day,
Regards,
Robin.

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