From ea05cfaacac29d15c9c3d939e12546eba95f05d0 Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Fri, 1 Aug 2014 23:50:35 +0200 Subject: llvmpipe: implement support for cube map arrays This just covers the resource side of things, not the actual sampling. Here things are trivial as cube map arrays are identical to 2d arrays in all respects. Reviewed-by: Brian Paul --- src/gallium/drivers/llvmpipe/lp_texture.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/llvmpipe/lp_texture.h') diff --git a/src/gallium/drivers/llvmpipe/lp_texture.h b/src/gallium/drivers/llvmpipe/lp_texture.h index aa624b05ea4..9fbd3a21648 100644 --- a/src/gallium/drivers/llvmpipe/lp_texture.h +++ b/src/gallium/drivers/llvmpipe/lp_texture.h @@ -144,6 +144,7 @@ llvmpipe_resource_is_texture(const struct pipe_resource *resource) case PIPE_TEXTURE_RECT: case PIPE_TEXTURE_3D: case PIPE_TEXTURE_CUBE: + case PIPE_TEXTURE_CUBE_ARRAY: return TRUE; default: assert(0); @@ -165,6 +166,7 @@ llvmpipe_resource_is_1d(const struct pipe_resource *resource) case PIPE_TEXTURE_RECT: case PIPE_TEXTURE_3D: case PIPE_TEXTURE_CUBE: + case PIPE_TEXTURE_CUBE_ARRAY: return FALSE; default: assert(0); -- cgit v1.2.3