radv/debug: Canonicalize shader addr

The most significant bits of the PC are cleared.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28759>
This commit is contained in:
Konstantin Seurer 2024-04-15 10:58:44 +02:00 committed by Marge Bot
parent 9778e1b9a0
commit 48b79a18c5
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ radv_dump_annotated_shader(const struct radv_shader *shader, gl_shader_stage sta
if (!shader)
return;
start_addr = radv_shader_get_va(shader);
start_addr = radv_shader_get_va(shader) & ((1ull << 48) - 1);
end_addr = start_addr + shader->code_size;
/* See if any wave executes the shader. */