freedreno: don't advertise texture arrays for now
authorRob Clark <robclark@freedesktop.org>
Tue, 20 May 2014 14:52:56 +0000 (10:52 -0400)
committerRob Clark <robclark@freedesktop.org>
Tue, 20 May 2014 14:52:56 +0000 (10:52 -0400)
I think a3xx and later should support (it is part of GLES3), but this
isn't needed for the time being and still needs to be reversed.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_screen.c

index 98509a08f5f5131f2a96907b26227b52e682ae54..6b6ecdeafcee0b209ae8d93d09c8eec9ae3e4f65 100644 (file)
@@ -234,7 +234,7 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
        case PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS:
                return MAX_MIP_LEVELS;
        case PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS:
-               return 9192;
+               return 0;  /* TODO: a3xx+ should support (required in gles3) */
 
        /* Render targets. */
        case PIPE_CAP_MAX_RENDER_TARGETS: