intel: Reuse intel_miptree_match_image().
authorEric Anholt <eric@anholt.net>
Thu, 15 Dec 2011 04:43:06 +0000 (20:43 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 19 Dec 2011 21:20:11 +0000 (13:20 -0800)
commit7978fb4d9fd9c3e07aa1c09eba5571ec8a437d9c
tree4b1144cb55e4e88f46d7ffd6b067a62ca596fb00
parent0b8b6c7e974930daf12e97fb8f0b2a2cc29396d9
intel: Reuse intel_miptree_match_image().

This little bit of logic was duplicated, which isn't much, but I was
going to need to duplicate a bit of additional logic in the next
commit.

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