diff options
author | Matt Turner <[email protected]> | 2013-10-20 15:48:14 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-12-04 20:05:43 -0800 |
commit | 8814806c97ed60c5bb4d6cb1927cd05445864388 (patch) | |
tree | 3db2db374ee0acdc4efa5d9553a4ebee3b4cf3d7 /src/mesa/drivers/dri/i965/brw_vec4.cpp | |
parent | b9af66528e5b7bd5608086557c44e6b9eb2f2d9d (diff) |
i965: Print conditional mod in dump_instruction().
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp index 06ae0524c41..962b4cf08a4 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp @@ -1109,7 +1109,11 @@ vec4_visitor::dump_instruction(backend_instruction *be_inst) { vec4_instruction *inst = (vec4_instruction *)be_inst; - printf("%s ", brw_instruction_name(inst->opcode)); + printf("%s", brw_instruction_name(inst->opcode)); + if (inst->conditional_mod) { + printf("%s", conditional_modifier[inst->conditional_mod]); + } + printf(" "); switch (inst->dst.file) { case GRF: |