From: Christoph Bumiller Date: Sat, 28 Aug 2010 15:05:11 +0000 (+0200) Subject: nv50: set the FragDepth output index X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3844c365947082550565accefd996c10fbb15cc4;p=mesa.git nv50: set the FragDepth output index --- diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c index d47941d3b15..d4a75dc64af 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;