mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
svga: add support for rendering to cubemap array
Fixes piglit test arb_texture_cube_map_array-fbo-cubemap-array Reviewed-by: Neha Bhende <bhenden@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
1df17fc697
commit
f929247d24
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue