i965: Make sure we always mark array surfaces as such
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 3 Feb 2015 11:34:29 +0000 (12:34 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 6 Apr 2015 06:07:42 +0000 (08:07 +0200)
commit47597f8f5cfe950093110d2b777923ef85c5d24f
tree1752552d774dbb569f2b861bd31a1e0b8b4c6f15
parent8b0b81339b9c3806981ee2ec7c08501bbd8bb7a3
i965: Make sure we always mark array surfaces as such

Even if they only have one slice, otherwise textureSize() won't
produce correct results for the depth value.

Fixes 10 dEQP tests in this category:
dEQP-GLES3.functional.shaders.texture_functions.texturesize.sampler2darray*

Reviewed-by: Mark Janes <mark.a.janes at intel.com>
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c
src/mesa/drivers/dri/i965/gen8_surface_state.c