Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide source mapping for ISA output #125

Open
Trass3r opened this issue Jan 24, 2025 · 1 comment
Open

provide source mapping for ISA output #125

Trass3r opened this issue Jan 24, 2025 · 1 comment

Comments

@Trass3r
Copy link

Trass3r commented Jan 24, 2025

See

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.

@AmitBM
Copy link
Contributor

AmitBM commented Jan 24, 2025

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.

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

No branches or pull requests

2 participants