[Mesa-dev] [PATCH 39/95] i965/vec4: dump the instruction execution size

Iago Toral Quiroga itoral at igalia.com
Tue Jul 19 10:40:36 UTC 2016


---
 src/mesa/drivers/dri/i965/brw_vec4.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index c55d594..8316691 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
@@ -1410,7 +1410,8 @@ vec4_visitor::dump_instruction(backend_instruction *be_inst, FILE *file)
               pred_ctrl_align16[inst->predicate]);
    }
 
-   fprintf(file, "%s", brw_instruction_name(devinfo, inst->opcode));
+   fprintf(file, "%s(%d)", brw_instruction_name(devinfo, inst->opcode),
+           inst->exec_size);
    if (inst->saturate)
       fprintf(file, ".sat");
    if (inst->conditional_mod) {
-- 
2.7.4



More information about the mesa-dev mailing list