r600g: We don't support PIPE_CAP_PRIMITIVE_RESTART.
authorTilman Sauerbeck <tilman@code-monkey.de>
Sat, 30 Oct 2010 15:32:24 +0000 (17:32 +0200)
committerTilman Sauerbeck <tilman@code-monkey.de>
Tue, 2 Nov 2010 20:52:39 +0000 (21:52 +0100)
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
src/gallium/drivers/r600/r600_pipe.c

index 3564539843762037f05a8bcd7e9a94add86f460d..d25de5566440bb9e0e8616bda21caebd3621961e 100644 (file)
@@ -273,6 +273,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
        /* Unsupported features (boolean caps). */
        case PIPE_CAP_TIMER_QUERY:
        case PIPE_CAP_STREAM_OUTPUT:
+       case PIPE_CAP_PRIMITIVE_RESTART:
        case PIPE_CAP_INDEP_BLEND_FUNC: /* FIXME allow this */
                return 0;