intel/disasm: Label support in shader disassembly for UIP/JIP
Shader instructions which use UIP/JIP now get formatted with a label in addition with immediate value, labels have "LABEL%d" format. v2: - Consider brw_jump_scale when calculating label's offset From: "Lonnberg, Toni" <toni.lonnberg@intel.com> Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com> Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4245>
This commit is contained in:
committed by
Marge Bot
parent
6cbd4764cd
commit
bc4a127d6e
@@ -110,7 +110,7 @@ validate(struct brw_codegen *p)
|
||||
p->next_insn_offset, disasm);
|
||||
|
||||
if (print) {
|
||||
dump_assembly(p->store, disasm, NULL);
|
||||
dump_assembly(p->store, 0, p->next_insn_offset, disasm, NULL);
|
||||
}
|
||||
ralloc_free(disasm);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user