Skip to content

fix copyteximage piglit failures

Italo Nicola requested to merge italove/virglrenderer:fix-copyteximage into master

For texture arrays, the layer is stored at blit.{src,dst}.box.z. In those cases, we need to go through the same path as we already do for GL_TEXTURE_CUBE_MAP.

Fixes piglit's spec@ext_texture_array@copyteximage {1d_array,2d_array}.

Tested on both GLES and GL backends.

Edited by Tomeu Vizoso

Merge request reports