diff options
author | Matt Turner <[email protected]> | 2014-03-13 11:22:08 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-03-24 11:06:25 -0700 |
commit | 0884ce8f42d0e04e889c6d0e4dde91f9aa58e85e (patch) | |
tree | 162064a6cba76cface079d361ec7a807cb676e4a /src | |
parent | a6367dfc157ecc71a686955323526ac4de3652f6 (diff) |
i965/vec4: Print the predicate in dump_instructions().
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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]); |