i965: Skip update_texture_surface when the plane doesn't exist
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 18 Jul 2016 16:13:01 +0000 (09:13 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 18 Jul 2016 23:44:29 +0000 (16:44 -0700)
commit905d7dc4d164b7ccc287b390a5b2492da3e0fd8b
tree61a57c1e823b05e4c2323aa5c1a85f929be63e61
parentcd5cbf0f6b69557ef0c6123c11f9732d43490f4f
i965: Skip update_texture_surface when the plane doesn't exist

Thanks to rebase fail, recent surface state changes (commits 7e951cd56,
8521ce1a7, and 69c0dc5c53) effectively reverted 727a9b24933 and 367cf3a2e3e
which was unintentional.  This should bring it back.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c