From: Eric Anholt Date: Mon, 4 Oct 2010 22:03:32 +0000 (-0700) Subject: i965: In disasm, gen6 fb writes don't put msg reg # in destreg_conditionalmod. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=739aec39bd25e79adce306d6cf48296b7c9e4fc0;p=mesa.git i965: In disasm, gen6 fb writes don't put msg reg # in destreg_conditionalmod. It instead sensibly appears in the src0 slot. --- diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c index 90520824f60..3a93b253777 100644 --- a/src/mesa/drivers/dri/i965/brw_disasm.c +++ b/src/mesa/drivers/dri/i965/brw_disasm.c @@ -886,7 +886,7 @@ int brw_disasm (FILE *file, struct brw_instruction *inst, int gen) string (file, ")"); } - if (inst->header.opcode == BRW_OPCODE_SEND) + if (inst->header.opcode == BRW_OPCODE_SEND && gen < 6) format (file, " %d", inst->header.destreg__conditionalmod); if (opcode[inst->header.opcode].ndst > 0) {