diff options
author | Matt Turner <[email protected]> | 2014-05-01 11:20:25 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-05-15 15:45:40 -0700 |
commit | e00fe451b8bac0aa4f03e07fddee08a870f79bb0 (patch) | |
tree | ffc4f5638e34b959c5c11115d413a4fdd118d9b0 /src/mesa/drivers/dri/i965/brw_eu_compact.c | |
parent | 58bcf5996dc60043eee5946a6f2f96256768fc9f (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/brw_eu_compact.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_eu_compact.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu_compact.c b/src/mesa/drivers/dri/i965/brw_eu_compact.c index fbee942aa31..54b29fdcd16 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_compact.c +++ b/src/mesa/drivers/dri/i965/brw_eu_compact.c @@ -585,10 +585,10 @@ void brw_debug_compact_uncompact(struct brw_context *brw, brw->gen); fprintf(stderr, " before: "); - brw_disasm(stderr, orig, brw->gen); + brw_disasm(stderr, orig, brw->gen, true); fprintf(stderr, " after: "); - brw_disasm(stderr, uncompacted, brw->gen); + brw_disasm(stderr, uncompacted, brw->gen, false); uint32_t *before_bits = (uint32_t *)orig; uint32_t *after_bits = (uint32_t *)uncompacted; |