diff options
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler/radeon_program_print.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/radeon_program_print.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_program_print.c b/src/mesa/drivers/dri/r300/compiler/radeon_program_print.c index 01612195810..618ab5a099b 100644 --- a/src/mesa/drivers/dri/r300/compiler/radeon_program_print.c +++ b/src/mesa/drivers/dri/r300/compiler/radeon_program_print.c @@ -154,18 +154,18 @@ static void rc_print_presub_instruction(FILE * f, inst.SrcReg[0].Index,inst.SrcReg[0].RelAddr); break; case RC_PRESUB_SUB: - rc_print_register(f, inst.SrcReg[0].File, - inst.SrcReg[0].Index,inst.SrcReg[0].RelAddr); - fprintf(f, " - "); rc_print_register(f, inst.SrcReg[1].File, inst.SrcReg[1].Index,inst.SrcReg[1].RelAddr); - break; - case RC_PRESUB_ADD: + fprintf(f, " - "); rc_print_register(f, inst.SrcReg[0].File, inst.SrcReg[0].Index,inst.SrcReg[0].RelAddr); - fprintf(f, " + "); + break; + case RC_PRESUB_ADD: rc_print_register(f, inst.SrcReg[1].File, inst.SrcReg[1].Index,inst.SrcReg[1].RelAddr); + fprintf(f, " + "); + rc_print_register(f, inst.SrcReg[0].File, + inst.SrcReg[0].Index,inst.SrcReg[0].RelAddr); break; case RC_PRESUB_INV: fprintf(f, "1 - "); |