From 379429137238e79296b8222c0e13d7d961910633 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 5 Sep 2011 22:52:21 +0200 Subject: gallium: add PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS v2: remove PIPE_CAP_ARRAY_TEXTURES in favor of the new CAP. --- src/gallium/drivers/r600/r600_pipe.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/gallium/drivers/r600') diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index e02da6e4d98..cfbeae5a4fa 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -380,9 +380,8 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER: return 0; - case PIPE_CAP_ARRAY_TEXTURES: - /* fix once the CS checker upstream is fixed */ - return debug_get_bool_option("R600_ARRAY_TEXTURE", FALSE); + case PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS: + return 0; /* will be re-enabled in the following commits. */ /* Texturing. */ case PIPE_CAP_MAX_TEXTURE_2D_LEVELS: -- cgit v1.2.3