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