aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/test_eu_compact.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-05-01 11:20:25 -0700
committerMatt Turner <[email protected]>2014-05-15 15:45:40 -0700
commite00fe451b8bac0aa4f03e07fddee08a870f79bb0 (patch)
treeffc4f5638e34b959c5c11115d413a4fdd118d9b0 /src/mesa/drivers/dri/i965/test_eu_compact.c
parent58bcf5996dc60043eee5946a6f2f96256768fc9f (diff)
i965/disasm: Disassemble the compaction control bit.
brw_disasm doesn't disassemble compacted instructions, so we uncompact before disassembling them which would unset the compaction control bit. Instead pass it as a separate argument. Acked-by: Eric Anholt <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/test_eu_compact.c')
-rw-r--r--src/mesa/drivers/dri/i965/test_eu_compact.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/test_eu_compact.c b/src/mesa/drivers/dri/i965/test_eu_compact.c
index 26bf77bf2cd..8713918f81f 100644
--- a/src/mesa/drivers/dri/i965/test_eu_compact.c
+++ b/src/mesa/drivers/dri/i965/test_eu_compact.c
@@ -51,7 +51,7 @@ test_compact_instruction(struct brw_compile *p, struct brw_instruction src)
if (memcmp(&unchanged, &dst, sizeof(dst))) {
fprintf(stderr, "Failed to compact, but dst changed\n");
fprintf(stderr, " Instruction: ");
- brw_disasm(stderr, &src, brw->gen);
+ brw_disasm(stderr, &src, brw->gen, false);
return false;
}
}