Mesa (master): i965: Print EOT in fs_visitor::dump_instruction().

Kenneth Graunke kwg at kemper.freedesktop.org
Tue Jun 28 00:25:09 UTC 2016


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

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sun Jun 26 00:39:32 2016 -0700

i965: Print EOT in fs_visitor::dump_instruction().

This was useful when debugging the previous commit's issue.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>

---

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

diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index a929a20..2f473cc 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -5324,6 +5324,10 @@ fs_visitor::dump_instruction(backend_instruction *be_inst, FILE *file)
       fprintf(file, "(mlen: %d) ", inst->mlen);
    }
 
+   if (inst->eot) {
+      fprintf(file, "(EOT) ");
+   }
+
    switch (inst->dst.file) {
    case VGRF:
       fprintf(file, "vgrf%d", inst->dst.nr);




More information about the mesa-commit mailing list