intel: Simplify and touch up the FBO completeness test.
authorEric Anholt <eric@anholt.net>
Thu, 8 Dec 2011 01:51:14 +0000 (17:51 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 14 Dec 2011 21:18:48 +0000 (13:18 -0800)
commit7eb0aa398b9c0f7d8a224f2a4952f7875067e917
treee798ca6495ebb44e272123536461fb9255c5477d
parent950310e7a363413bd87ce6e670a7b913fbddfbff
intel: Simplify and touch up the FBO completeness test.

Now that we have miptrees for everything, we can more easily test for
!has_separate_stencil completeness.  Also, test for whether the
stencil rb is the wrong kind of format for separate stencil, or if we
are trying to do packed to different images of a single miptree.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_fbo.c