From: Christoph Bumiller Date: Tue, 20 Apr 2010 19:20:55 +0000 (+0200) Subject: nv50: fix FP result counting for depth output X-Git-Tag: mesa-7.9-rc1~3621 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03e97e7f8d87f500c008cadd4982537adcfa4969;p=platform%2Fupstream%2Fmesa.git nv50: fix FP result counting for depth output --- diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c index 89ab25e..b8b6b12 100644 --- a/src/gallium/drivers/nv50/nv50_program.c +++ b/src/gallium/drivers/nv50/nv50_program.c @@ -3822,7 +3822,7 @@ nv50_program_tx_prep(struct nv50_pc *pc) for (rid = 0; i < pc->result_nr * 4; i++) pc->result[i].rhw = rid++; if (p->info.writes_z) - pc->result[2].rhw = rid; + pc->result[2].rhw = rid++; p->cfg.high_result = rid;