From 47d22e56de4738f792bb9a86da23435744d53f00 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 21 Apr 2012 17:46:35 +0100 Subject: [PATCH] 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 --- src/gallium/drivers/r600/r600_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index c212f007034..1f4268ba577 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; } -- 2.30.2