[PATCH v11 10/11] vkd3d-shader/hlsl: Support resource arrays when writting SM4.