freedreno: instanced drawing/compute not yet supported
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 2 Oct 2014 07:39:05 +0000 (03:39 -0400)
committerRob Clark <robclark@freedesktop.org>
Fri, 3 Oct 2014 01:05:50 +0000 (21:05 -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 1c43ea6b615c68c654c7953b0436b4553eccf48f..c74e3e8a02c81808e6b8f5be75bbd7208c0975d4 100644 (file)
@@ -165,12 +165,9 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
        case PIPE_CAP_SEAMLESS_CUBE_MAP:
        case PIPE_CAP_VERTEX_COLOR_UNCLAMPED:
        case PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION:
-       case PIPE_CAP_TGSI_INSTANCEID:
        case PIPE_CAP_VERTEX_BUFFER_OFFSET_4BYTE_ALIGNED_ONLY:
        case PIPE_CAP_VERTEX_BUFFER_STRIDE_4BYTE_ALIGNED_ONLY:
        case PIPE_CAP_VERTEX_ELEMENT_SRC_OFFSET_4BYTE_ALIGNED_ONLY:
-       case PIPE_CAP_COMPUTE:
-       case PIPE_CAP_START_INSTANCE:
        case PIPE_CAP_USER_CONSTANT_BUFFERS:
        case PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT:
                return 1;
@@ -188,6 +185,9 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
        case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT:
        case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE:
        case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS:
+       case PIPE_CAP_TGSI_INSTANCEID:
+       case PIPE_CAP_START_INSTANCE:
+       case PIPE_CAP_COMPUTE:
                return 0;
 
        case PIPE_CAP_PRIMITIVE_RESTART: