i965/gen7,8: Set SURFACE_IS_ARRAY for all non-3D texture types
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 11 Jun 2016 14:51:30 +0000 (07:51 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 22 Jun 2016 19:26:43 +0000 (12:26 -0700)
commit664dc89a1baede86da193a24d27d6314fa0f662e
treef1fff379fe5e2e8aec43f42d65384ea3ed0dbd75
parent2a1cc94d27c80929d91e38b4843333a5408d563e
i965/gen7,8: Set SURFACE_IS_ARRAY for all non-3D texture types

There's no real reason why we shouldn't set this bit.  It does affect how
the sampler operates a bit but since you can have a 2D non-array view of a
2D_ARRAY texture that distinction is very weak.  Also, this is what ISL
will do and we would like this change to be isolated from using ISL.

Reviewed-by: Chad Versace <chad.versace@intel.com>
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c
src/mesa/drivers/dri/i965/gen8_surface_state.c