intel: Implement Gen12 workaround for array textures of size 1
Gen12 does not support RENDER_SURFACE_STATE::SurfaceArray = true && RENDER_SURFACE_STATE::Depth = 0. SurfaceArray can only be set to true if Depth >= 1.
We workaround this limitation by adding the max(value, 1) snippet in the shaders on the 3 components for texture array sizes.
Tested on Gen9 with the following Vulkan CTS tests : dEQP-VK.image.image_size.2d_array.*
Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com