r600g: handle PIPE_CAP_FRAGMENT_COLOR_CLAMP_CONTROL in get_param
authorMarek Olšák <maraeo@gmail.com>
Mon, 11 Apr 2011 12:37:58 +0000 (14:37 +0200)
committerMarek Olšák <maraeo@gmail.com>
Mon, 11 Apr 2011 12:38:32 +0000 (14:38 +0200)
src/gallium/drivers/r600/r600_pipe.c

index 2c2245b67a8da907e577de999f8c085ecfb94b55..5f95540a4795f3f7e1fa89274ddadae3611f69e9 100644 (file)
@@ -385,6 +385,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
        case PIPE_CAP_STREAM_OUTPUT:
        case PIPE_CAP_PRIMITIVE_RESTART:
        case PIPE_CAP_INDEP_BLEND_FUNC: /* FIXME allow this */
+       case PIPE_CAP_FRAGMENT_COLOR_CLAMP_CONTROL:
                /* R600 doesn't support per-MRT blends */
                if (family == CHIP_R600)
                        return 0;