radeon_gpu_analyzer
radeon_gpu_analyzer copied to clipboard
provide source mapping for ISA output
See
- https://github.com/AlexSabourinDev/cranberry_blog/blob/master/ShaderDisassemblySourceInformation.md
- https://github.com/compiler-explorer/compiler-explorer/issues/7297
In the SPIR-V mode there is a workaround by calling the low-level tools manually, passing -trim-debug-info=false to amdllpc and using llvm-objdump instead of amdgpu-dis.
In DX12 mode there doesn't seem to be any workaround.
Hi @Trass3r,
The limitation comes from AMD's shader compiler for DX12 which does not support debug info yet.
Once it does, RGA will be updated to leverage that capability in order to provide line correlation for DX12 shaders.
For Vulkan, there is a plan to add source to ISA line correlation support in a future release.
Thanks for reporting this request.