From: Rob Clark Date: Tue, 20 May 2014 14:52:56 +0000 (-0400) Subject: freedreno: don't advertise texture arrays for now X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57e68a91f5f974d0d448a2788a9a9f39c77636e9;p=mesa.git 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 --- 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: