diff options
author | Roland Scheidegger <[email protected]> | 2014-08-01 23:50:35 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2014-08-05 04:13:17 +0200 |
commit | ea05cfaacac29d15c9c3d939e12546eba95f05d0 (patch) | |
tree | 64354a966d328b70cf08787598698c5f47a07271 /src/gallium/drivers/llvmpipe/lp_screen.c | |
parent | d308f57fe796a39d7d3f547aad62540cfd520675 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_screen.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_screen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index e25d14e23c4..e10a7630ed8 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -347,7 +347,8 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen, target == PIPE_TEXTURE_2D_ARRAY || target == PIPE_TEXTURE_RECT || target == PIPE_TEXTURE_3D || - target == PIPE_TEXTURE_CUBE); + target == PIPE_TEXTURE_CUBE || + target == PIPE_TEXTURE_CUBE_ARRAY); if (sample_count > 1) return FALSE; |