Mesa (master): r300-gallium: Enable all four colorbuffer render targets.

Corbin Simpson csimpson at kemper.freedesktop.org
Sat Feb 14 11:12:24 UTC 2009


Module: Mesa
Branch: master
Commit: 9a20ef0a52f8c4efd7431ccd59e32efecdc33893
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a20ef0a52f8c4efd7431ccd59e32efecdc33893

Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Sat Feb 14 02:07:29 2009 -0800

r300-gallium: Enable all four colorbuffer render targets.

As far as I can tell all the state emission necessary has been set up.
Well, except for the fragment shader, but c'mon, gimme a break. :3

---

 src/gallium/drivers/r300/r300_screen.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index 8ed66a1..5088c13 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -100,8 +100,7 @@ static int r300_get_param(struct pipe_screen* pscreen, int param)
             /* IN THEORY */
             return 0;
         case PIPE_CAP_MAX_RENDER_TARGETS:
-            /* XXX 4 eventually */
-            return 1;
+            return 4;
         case PIPE_CAP_OCCLUSION_QUERY:
             /* IN THEORY */
             return 0;




More information about the mesa-commit mailing list