From: Christoph Bumiller Date: Tue, 4 Jan 2011 00:52:12 +0000 (+0100) Subject: nvc0: set the correct FP header bit for multiple colour outputs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2f08d872b212fc294d354ec34eb9184ae2c2bcc3;p=mesa.git nvc0: set the correct FP header bit for multiple colour outputs --- diff --git a/src/gallium/drivers/nvc0/nvc0_program.c b/src/gallium/drivers/nvc0/nvc0_program.c index b5e02f1ba10..3e7fc4d350e 100644 --- a/src/gallium/drivers/nvc0/nvc0_program.c +++ b/src/gallium/drivers/nvc0/nvc0_program.c @@ -499,7 +499,7 @@ nvc0_fp_gen_header(struct nvc0_program *fp, struct nvc0_translation_info *ti) fp->hdr[0] |= 0x4000; /* FP_MULTIPLE_COLOR_OUTPUTS */ } else { if (ti->scan.num_outputs > 1) - fp->hdr[0] |= 0x8000; /* FP_MULTIPLE_COLOR_OUTPUTS */ + fp->hdr[0] |= 0x4000; /* FP_MULTIPLE_COLOR_OUTPUTS */ } for (i = 0; i <= ti->scan.file_max[TGSI_FILE_INPUT]; ++i) {