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