intel/gen6: Some framebuffers having separate depthstencil should be unsupported
authorChad Versace <chad.versace@linux.intel.com>
Thu, 19 Jan 2012 21:08:48 +0000 (13:08 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Fri, 20 Jan 2012 18:37:19 +0000 (10:37 -0800)
commitba5252e590782a77b8a46d9c0ec4691cf8da6298
treee6f94bed11042fceef21cea3053cd5980c57e8d2
parentf74d8aacbf2f6d140381e272d17c31162a3481b3
intel/gen6: Some framebuffers having separate depthstencil should be unsupported

When the framebuffer has separate depth and stencil buffers, and HiZ is
not enabled on the depth buffer, mark the framebuffer as unsupported. This
happens when trying to create a framebuffer with Z16/S8 because we haven't
enabled HiZ on Z16 yet.

Fixes gles2conform test stencil8.

Note: This is a candiate for the 8.0 branch.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44948
Reviewed-and-tested-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed--by: Eric Anholt <eric@anholt.net>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/intel/intel_fbo.c