From 57e68a91f5f974d0d448a2788a9a9f39c77636e9 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Tue, 20 May 2014 10:52:56 -0400 Subject: [PATCH] freedreno: don't advertise texture arrays for now 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 --- src/gallium/drivers/freedreno/freedreno_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 98509a08f5f..6b6ecdeafce 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -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: -- 2.30.2