Passing an array of Texture2D to a HLSL shader

Instead of passing an array of textures, you need to pass a single texture, that contains the array.