From: Dave Airlie Date: Sat, 21 Apr 2012 16:46:35 +0000 (+0100) Subject: r600g: enable dual src blending on r600 cards X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=47d22e56de4738f792bb9a86da23435744d53f00;p=mesa.git 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 --- 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; }