From 042d0bb5c3b457e92f8de2427ee258778b51aef4 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sat, 20 Apr 2019 23:37:14 +0000 Subject: [PATCH] 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 --- src/gallium/drivers/panfrost/midgard/disassemble.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2