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

Alejandro PiƱeiro apinheiro at igalia.com
Thu Aug 24 13:54:51 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 3a33614523c..689b2699942 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.11.0



More information about the mesa-dev mailing list