Mesa (master): i965/fs: Print mlen in dump_instructions() output.

Kenneth Graunke kwg at kemper.freedesktop.org
Thu Jun 4 22:44:42 UTC 2015


Module: Mesa
Branch: master
Commit: c820407ef0aac87546d1a778e169cfa1a915a219
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c820407ef0aac87546d1a778e169cfa1a915a219

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Jun  2 20:40:54 2015 -0700

i965/fs: Print mlen in dump_instructions() output.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Matt Turner <mattst88 at gmail.com>

---

 src/mesa/drivers/dri/i965/brw_fs.cpp |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 28a19bd..902f239 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -3650,6 +3650,9 @@ fs_visitor::dump_instruction(backend_instruction *be_inst, FILE *file)
    }
    fprintf(file, "(%d) ", inst->exec_size);
 
+   if (inst->mlen) {
+      fprintf(file, "(mlen: %d) ", inst->mlen);
+   }
 
    switch (inst->dst.file) {
    case GRF:




More information about the mesa-commit mailing list