summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_program.c
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2010-04-20 21:20:55 +0200
committerChristoph Bumiller <[email protected]>2010-04-20 22:08:04 +0200
commit03e97e7f8d87f500c008cadd4982537adcfa4969 (patch)
treea63d34cea8d54d1bfc2c12b9525438c3cd4a7f48 /src/gallium/drivers/nv50/nv50_program.c
parent3c9df0bda67cdcbc340a4f20997f7a3345cbe9cb (diff)
nv50: fix FP result counting for depth output
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_program.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index 89ab25eba04..b8b6b12120b 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;