OSDN Git Service

nv50: make MRTs work
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sat, 31 Oct 2009 10:25:48 +0000 (11:25 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sat, 31 Oct 2009 12:40:33 +0000 (13:40 +0100)
commit525f529d138168386224136dc45abb858677bac7
treef6a9135390ff3d87090d1eba173a3b27b661b287
parent73b45b06690c95cf24cb6f9a81d61269ad51f9dd
nv50: make MRTs work

We have to indicate to the hw whether the FP exports
multiple colour results.
Method 0x121c is used to specify the number of RTs.
Also deactivate zeta explicitly if there's no zsbuf.
src/gallium/drivers/nv50/nv50_program.c
src/gallium/drivers/nv50/nv50_state_validate.c