From 0884ce8f42d0e04e889c6d0e4dde91f9aa58e85e Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 13 Mar 2014 11:22:08 -0700 Subject: [PATCH] i965/vec4: Print the predicate in dump_instructions(). Reviewed-by: Eric Anholt --- src/mesa/drivers/dri/i965/brw_vec4.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp index 0245f40330c..702b182c579 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp @@ -1122,6 +1122,11 @@ vec4_visitor::dump_instruction(backend_instruction *be_inst) { vec4_instruction *inst = (vec4_instruction *)be_inst; + if (inst->predicate) { + fprintf(stderr, "(%cf0) ", + inst->predicate_inverse ? '-' : '+'); + } + fprintf(stderr, "%s", brw_instruction_name(inst->opcode)); if (inst->conditional_mod) { fprintf(stderr, "%s", conditional_modifier[inst->conditional_mod]); -- 2.30.2