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

Jose Maria Casanova Crespo jmcasanova at igalia.com
Thu Nov 30 02:57:18 UTC 2017


---
 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 1a94ed3954..c752e15331 100644
--- a/src/intel/compiler/brw_disasm.c
+++ b/src/intel/compiler/brw_disasm.c
@@ -1676,6 +1676,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.14.3



More information about the mesa-dev mailing list