From: Alyssa Rosenzweig Date: Sat, 20 Apr 2019 23:37:14 +0000 (+0000) Subject: panfrost/mdg/disasm: Print raw varying_parameters X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=042d0bb5c3b457e92f8de2427ee258778b51aef4;p=mesa.git panfrost/mdg/disasm: Print raw varying_parameters The semantics of this field are not well understood; it is better to print it unconditionally along with the other unknown state, rather than silently eat the value. Without this change, some critical state was being lost in some shaders (notably, the offset for load/store scratchpad intructions found in shaders that spill registers.) Signed-off-by: Alyssa Rosenzweig --- diff --git a/src/gallium/drivers/panfrost/midgard/disassemble.c b/src/gallium/drivers/panfrost/midgard/disassemble.c index e9ff3808318..21a01aa9b0e 100644 --- a/src/gallium/drivers/panfrost/midgard/disassemble.c +++ b/src/gallium/drivers/panfrost/midgard/disassemble.c @@ -759,7 +759,7 @@ print_load_store_instr(uint64_t data, print_swizzle(word->swizzle); - printf(", 0x%X\n", word->unknown); + printf(", 0x%X /* %X */\n", word->unknown, word->varying_parameters); } static void