summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-01-04 01:52:12 +0100
committerChristoph Bumiller <[email protected]>2011-01-04 16:14:58 +0100
commit2f08d872b212fc294d354ec34eb9184ae2c2bcc3 (patch)
tree8c81096f97d5e6bf5c809ae0fc4484bb7cf51acc /src/gallium/drivers/nvc0
parent6de94e1012498b6859d9796f2836a162bb0ca4bc (diff)
nvc0: set the correct FP header bit for multiple colour outputs
Diffstat (limited to 'src/gallium/drivers/nvc0')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_program.c2
1 files changed, 1 insertions, 1 deletions
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) {