summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>2010-08-28 17:05:11 +0200
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>2010-09-01 18:02:50 +0200
commit3844c365947082550565accefd996c10fbb15cc4 (patch)
tree586b8042a7c800128d598410ef4d1f7f0ed8fe21 /src
parentdb1874272c325e3e19fb7f386ec82f36e7a24496 (diff)
nv50: set the FragDepth output index
Diffstat (limited to 'src')
-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 d47941d3b1..d4a75dc64a 100644
--- a/src/gallium/drivers/nv50/nv50_program.c
+++ b/src/gallium/drivers/nv50/nv50_program.c
@@ -461,7 +461,7 @@ nv50_fragprog_prepare(struct nv50_translation_info *ti)
}
if (depr < p->out_nr) {
p->out[depr].mask = 0x4;
- p->out[depr].hw = p->max_out++;
+ p->out[depr].hw = ti->output_map[depr][2] = p->max_out++;
}
return 0;