intel: Change supported texture formats for separate stencil
authorChad Versace <chad@chad-versace.us>
Mon, 23 May 2011 20:47:27 +0000 (13:47 -0700)
committerChad Versace <chad@chad-versace.us>
Wed, 25 May 2011 14:41:31 +0000 (07:41 -0700)
commitb5c847c7ca06823af3b72324056a2e478caca70b
treeb166146d2e3e1bad0569e57867210b2f2bccebcb
parent4e0654ec2924c941fe03f57665fbf44e1b600db8
intel: Change supported texture formats for separate stencil

When hardware supports separate stencil, enable support for separate
depth/stencil texture formats in the table
intel_context.ctx.TextureFormatsSupported. If the hardware must use
separate stencil, then disable support for combined depth/stencil formats.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Chad Versace <chad@chad-versace.us>
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_tex_format.c