[Mesa-dev] [PATCH 38/45] i965/disasm: Show half-precision data_format on rt_writes

Alejandro PiƱeiro apinheiro at igalia.com
Thu Jul 13 14:35:42 UTC 2017


From: Jose Maria Casanova Crespo <jmcasanova at igalia.com>

---
 src/intel/compiler/brw_disasm.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/intel/compiler/brw_disasm.c b/src/intel/compiler/brw_disasm.c
index ad41e35..b269a5c 100644
--- a/src/intel/compiler/brw_disasm.c
+++ b/src/intel/compiler/brw_disasm.c
@@ -1446,6 +1446,10 @@ brw_disassemble_inst(FILE *file, const struct gen_device_info *devinfo,
                               brw_inst_rt_message_type(devinfo, inst), &space);
                if (devinfo->gen >= 6 && brw_inst_rt_slot_group(devinfo, inst))
                   string(file, " Hi");
+               if ((devinfo->gen >= 9 || devinfo->is_cherryview) &&
+                   brw_inst_data_format(devinfo, inst)) {
+                  string(file, " HP");
+               }
                if (brw_inst_rt_last(devinfo, inst))
                   string(file, " LastRT");
                if (devinfo->gen < 7 && brw_inst_dp_write_commit(devinfo, inst))
-- 
2.9.3



More information about the mesa-dev mailing list