From: Matt Turner Date: Thu, 13 Mar 2014 18:22:08 +0000 (-0700) Subject: i965/vec4: Print the predicate in dump_instructions(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0884ce8f42d0e04e889c6d0e4dde91f9aa58e85e;p=mesa.git i965/vec4: Print the predicate in dump_instructions(). Reviewed-by: Eric Anholt --- 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]);