summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-04-20 23:37:14 +0000
committerAlyssa Rosenzweig <[email protected]>2019-04-24 02:22:31 +0000
commit042d0bb5c3b457e92f8de2427ee258778b51aef4 (patch)
tree98633f059751cc694290b59ef387c72da7fa7827
parent864873dea97bdc084ccca83849e02b8604a37a4f (diff)
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 <[email protected]>
-rw-r--r--src/gallium/drivers/panfrost/midgard/disassemble.c2
1 files changed, 1 insertions, 1 deletions
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