Mesa (master): r600g: enable dual src blending on r600 cards

Dave Airlie airlied at kemper.freedesktop.org
Sat Apr 21 09:47:10 PDT 2012


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Apr 21 17:46:35 2012 +0100

r600g: enable dual src blending on r600 cards

tested on my rv610 and it passes the tests with no hangs.

Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/gallium/drivers/r600/r600_pipe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index c212f00..1f4268b 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -466,7 +466,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
 		return 7;
 
 	case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS:
-		return 0;
+		return (family < CHIP_RV770) ?  1 : 0;
 	}
 	return 0;
 }



More information about the mesa-commit mailing list