Skip to content
Commit 510f4f33 authored by Henri Verbeet's avatar Henri Verbeet Committed by Juan A. Suarez Romero
Browse files

mesa: Inherit texture view multi-sample information from the original texture images.



Found running "The Witness" in Wine. Without this patch, texture views created
on multi-sample textures would have a GL_TEXTURE_SAMPLES of 0. All things
considered such views actually work surprisingly well, but when combined with
(plain) multi-sample textures in a framebuffer object, the resulting FBO is
incomplete because the sample counts don't match.

CC: <mesa-stable@lists.freedesktop.org>
Signed-off-by: default avatarHenri Verbeet <hverbeet@gmail.com>
Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
(cherry picked from commit 0b73c86b)
parent 51265b84
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment