[Mesa-dev] [PATCH 04/12] i965/vec4: Print the predicate in dump_instructions().
Matt Turner
mattst88 at gmail.com
Tue Mar 18 20:23:25 PDT 2014
---
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]);
--
1.8.3.2
More information about the mesa-dev
mailing list