Re: [PATCH v4 5/7] wined3d: Implement readback from 2D array textures using glGet[Compressed]TexImage().
22 Apr
2016
22 Apr
'16
12:17 p.m.
On 22 April 2016 at 11:18, Józef Kucia <jkucia(a)codeweavers.com> wrote:
+ if (surface->texture_target == GL_TEXTURE_2D_ARRAY) + { + /* We don't expect to ever need to emulate NP2 textures when we have EXT_texture_array. */ + if (texture->flags & WINED3D_TEXTURE_COND_NP2_EMULATED) + { + FIXME("Cannot download surface %p, level %u, layer %u.\n", + surface, surface->texture_level, surface->texture_layer); + return; + } Note that you can enforce that in texture_init(). It currently checks for WINED3DUSAGE_LEGACY_CUBEMAP, but it would be easy to check the layer count instead.
3523
Age (days ago)
3523
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet