i965: Simplify separate stencil check
authorPaul Berry <stereotype441@gmail.com>
Wed, 13 Mar 2013 20:48:13 +0000 (13:48 -0700)
committerPaul Berry <stereotype441@gmail.com>
Sat, 16 Mar 2013 17:15:51 +0000 (10:15 -0700)
commit346a1b9bb927625ae5d315bfa1655be734be69de
tree49915ae3dd8d46b2e2948aabdedb0cad0b393e64
parentf70c3853513637fa6ed38e75f73d472a9fa61213
i965: Simplify separate stencil check

The only format returned by _mesa_get_format_base_format() that
satisfies _mesa_is_depthstencil_format() is GL_DEPTH_STENCIL, so we
can simplify the check.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/intel/intel_mipmap_tree.c