Module: Mesa Branch: master Commit: 0884ce8f42d0e04e889c6d0e4dde91f9aa58e85e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0884ce8f42d0e04e889c6d0e4dde91f9aa58e85e
Author: Matt Turner <[email protected]> Date: Thu Mar 13 11:22:08 2014 -0700 i965/vec4: Print the predicate in dump_instructions(). Reviewed-by: Eric Anholt <[email protected]> --- 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 0245f40..702b182 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]); _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
