nvc0: set the correct FP header bit for multiple colour outputs
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Tue, 4 Jan 2011 00:52:12 +0000 (01:52 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Tue, 4 Jan 2011 15:14:58 +0000 (16:14 +0100)
src/gallium/drivers/nvc0/nvc0_program.c

index b5e02f1..3e7fc4d 100644 (file)
@@ -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) {