texturing: add full "round trip" test of array depth textures.
This test provokes a bug in Mesa as of 8/23/12 (commit 1cb07bd): when fast depth clears are performed on multiple layers of a multilayer depth texture (such as a 2D array or a cubemap texture), the implementation doesn't properly track the need for depth resolves, resulting in incorrect data when the texture is later used for texturing. See https://bugs.freedesktop.org/show_bug.cgi?id=50270. Although the bug was initially discovered using cubemap textures, this test provokes it using a 2D array texture, so that we don't have to reason about the coordinate transformations involved in cube map texture lookup. Reviewed-by: Chad Versace <email@example.com> Reviewed-by: Ian Romanick <firstname.lastname@example.org>
Showing with 205 additions and 0 deletions