mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
intel/compiler: Fix INTEL_DEBUG=hex
With the missing else, this prints the compacted hex followed by hex
for an uncompacted version of the compacted instruction. It also
doesn't print hex for instructions that are not compacted.
Fixes: bc4a127d6e ("intel/disasm: Label support in shader disassembly for UIP/JIP")
Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4245
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10535>
This commit is contained in:
parent
ab1d66a111
commit
3f04383521
1 changed files with 1 additions and 0 deletions
|
|
@ -566,6 +566,7 @@ brw_disassemble(const struct intel_device_info *devinfo,
|
|||
|
||||
brw_uncompact_instruction(devinfo, &uncompacted, compacted);
|
||||
insn = &uncompacted;
|
||||
} else {
|
||||
if (dump_hex) {
|
||||
unsigned char * insn_ptr = ((unsigned char *)&insn[0]);
|
||||
for (int i = 0 ; i < 16; i = i + 4) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue