diff options
author | Charmaine Lee <[email protected]> | 2017-05-05 14:32:45 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-09-10 13:07:30 -0600 |
commit | f929247d247874a7dcd9031c07279c8160766b5d (patch) | |
tree | 4364357a233e8d42b2ae8cbf8e7e0052a9d0f17a /src | |
parent | 1df17fc697246e487ca6b60200e178837be5ce7a (diff) |
svga: add support for rendering to cubemap array
Fixes piglit test arb_texture_cube_map_array-fbo-cubemap-array
Reviewed-by: Neha Bhende <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/svga/svga_surface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_surface.h b/src/gallium/drivers/svga/svga_surface.h index 6c1e0e72165..b1a7728084d 100644 --- a/src/gallium/drivers/svga/svga_surface.h +++ b/src/gallium/drivers/svga/svga_surface.h @@ -144,6 +144,7 @@ svga_resource_type(enum pipe_texture_target target) case PIPE_TEXTURE_2D: case PIPE_TEXTURE_2D_ARRAY: case PIPE_TEXTURE_CUBE: + case PIPE_TEXTURE_CUBE_ARRAY: /* drawing to cube map is treated as drawing to 2D array */ return SVGA3D_RESOURCE_TEXTURE2D; case PIPE_TEXTURE_3D: |