aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp2
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4.cpp6
2 files changed, 6 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index f10f5c0de18..f3b121acfc3 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -2831,7 +2831,7 @@ fs_visitor::dump_instruction(backend_instruction *be_inst)
if (inst->saturate)
printf(".sat");
if (inst->conditional_mod) {
- printf(".cmod");
+ printf("%s", conditional_modifier[inst->conditional_mod]);
if (!inst->predicate &&
(brw->gen < 5 || (inst->opcode != BRW_OPCODE_SEL &&
inst->opcode != BRW_OPCODE_IF &&
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: