freedreno: dual-source render targets are not supported
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 1 Oct 2014 04:26:03 +0000 (00:26 -0400)
committerRob Clark <robclark@freedesktop.org>
Thu, 2 Oct 2014 17:57:07 +0000 (13:57 -0400)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_screen.c

index 0f0a74729200e211008e5387f51c699afef052aa..1c43ea6b615c68c654c7953b0436b4553eccf48f 100644 (file)
@@ -171,7 +171,6 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
        case PIPE_CAP_VERTEX_ELEMENT_SRC_OFFSET_4BYTE_ALIGNED_ONLY:
        case PIPE_CAP_COMPUTE:
        case PIPE_CAP_START_INSTANCE:
-       case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS:
        case PIPE_CAP_USER_CONSTANT_BUFFERS:
        case PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT:
                return 1;
@@ -188,6 +187,7 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
        case PIPE_CAP_TEXTURE_BUFFER_OBJECTS:
        case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT:
        case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE:
+       case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS:
                return 0;
 
        case PIPE_CAP_PRIMITIVE_RESTART: