i965/miptree: Take an isl_format in prepare_texture
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 22 Jun 2017 04:10:53 +0000 (21:10 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sun, 23 Jul 2017 03:59:22 +0000 (20:59 -0700)
commitfe38d3e3a4faca7461e9a70fc6a8940c2039bb6f
tree00519e0850ff6da71fa4dc6d7c353566ec51b2d3
parent2ccfc0ffddd4645a6b5c7bf0c58e0570c8b4aaea
i965/miptree: Take an isl_format in prepare_texture

This will be a bit more convenient momentarily.  It's also more correct
because it makes prepare_texture take sRGB into account.
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.h