i965: Skip update_texture_surface when the plane doesn't exist
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>
Sat, 25 Jun 2016 01:13:18 +0000 (18:13 -0700)
commit727a9b24933d384f5440ed4318fb720ed11d6dd1
treeed6e4f3bb50799108e3df91b29be2829529e1782
parentc4a6b0d2d222667944f78a7688936534b2be0e96
i965: Skip update_texture_surface when the plane doesn't exist

Reported-by: Grazvydas Ignotas <notasas@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96607
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Cc: Kristian Høgsberg <krh@bitplanet.net>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Chad Versace <chad.versace@intel.com>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c
src/mesa/drivers/dri/i965/gen8_surface_state.c