i965: Use miptree to decide format on multi-plane images for gen < 7
authorJordan Justen <jordan.l.justen@intel.com>
Sun, 12 Jun 2016 01:16:47 +0000 (18:16 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Sun, 26 Jun 2016 17:49:34 +0000 (10:49 -0700)
commit367cf3a2e3e51466429a6446ef14ed398a5fb948
tree330635187f45b7e7e47af40af50b17d0831c9821
parent1f5f64b91f23a311043a15f898db19ed0711f37c
i965: Use miptree to decide format on multi-plane images for gen < 7

This wasn't handled correctly for multi-plane images on gen < 7 in
727a9b24933d384f5440ed4318fb720ed11d6dd1.

Reported-by: Mark Janes <mark.a.janes@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96674
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c