r600g: enable dual src blending on r600 cards
authorDave Airlie <airlied@redhat.com>
Sat, 21 Apr 2012 16:46:35 +0000 (17:46 +0100)
committerDave Airlie <airlied@redhat.com>
Sat, 21 Apr 2012 16:46:35 +0000 (17:46 +0100)
tested on my rv610 and it passes the tests with no hangs.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_pipe.c

index c212f007034fd44e1ad642a948ae19e07abf23b4..1f4268ba57792218abae28c85209a134b1e2d0e2 100644 (file)
@@ -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;
 }