commit | c0e343f995c1af592eacd2709aa9a4d585a35e68 | [log] [tgz] |
---|---|---|
author | Michal Srb <msrb@suse.com> | Tue Mar 28 23:39:28 2017 +0300 |
committer | Emil Velikov <emil.l.velikov@gmail.com> | Wed Apr 12 11:32:27 2017 +0100 |
tree | ed6a1c46bf0dea92c4e80aa8889ca16a80ed6621 | |
parent | 79d97bcf668172078c88cece3509ac7007e23248 [diff] |
st: Add cubeMapFace parameter to st_finalize_texture. st_finalize_texture always accesses image at face 0, but it may not be set if we are working with cubemap that had other face set. This fixes crash in piglit same-attachment-glFramebufferTexture2D-GL_DEPTH_STENCIL_ATTACHMENT. Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> (cherry picked from commit 52f9ccefcb75a9d42307890d7714b1cd92e864cb)