i965: refactor format selection for unsupported ETC* formats
authorChris Forbes <chrisf@ijw.co.nz>
Fri, 21 Feb 2014 20:06:57 +0000 (09:06 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Thu, 10 Apr 2014 06:27:40 +0000 (18:27 +1200)
commita98b675945bc7920ab7d2bbbf0b9641693a8de5d
tree5e117eb62e42101d7e6d2929b88cdffa2068b88c
parent14c116433dd7e5a474c394283be682684bc8d3af
i965: refactor format selection for unsupported ETC* formats

We will need to call this to munge view formats.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.h