i965: Emit surface states for extra planes prior to gen8
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 9 Jun 2016 02:56:46 +0000 (19:56 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 9 Jun 2016 04:57:57 +0000 (21:57 -0700)
commit037ce5d7343829a69ec9c7361a0964bc1366b019
tree1363226b7b6888c47cac918a5547e1a408ee73ef
parentdc81b3ad43dde0815baf957e7cf4c633d6f350f8
i965: Emit surface states for extra planes prior to gen8

When Kristian implemented GL_TEXTURE_EXTERNAL_OES, he hooked it up for gen8
but not for gen7 or earlier.  It all works, we just need to emit the states
for the extra planes.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c