Mesa (nvc0): nvc0: set the correct FP header bit for multiple colour outputs
Christoph Bumiller
chrisbmr at kemper.freedesktop.org
Tue Jan 4 15:19:46 UTC 2011
Module: Mesa
Branch: nvc0
Commit: 2f08d872b212fc294d354ec34eb9184ae2c2bcc3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f08d872b212fc294d354ec34eb9184ae2c2bcc3
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Tue Jan 4 01:52:12 2011 +0100
nvc0: set the correct FP header bit for multiple colour outputs
---
src/gallium/drivers/nvc0/nvc0_program.c | 2 +-
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 b5e02f1..3e7fc4d 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) {
More information about the mesa-commit
mailing list