When flattening array of resources, the newly generated objects currently don't have a name. This causes a crash when reflection is done in DXC (microsoft/DirectXShaderCompiler#2413).
The naming convention used in FXC is by appending [x] to the array name. e.g.
Texture2D<float> Tex[4] : register(t0);
compiled to:
// Name Type Format Dim HLSL Bind Count
// ------------------------------ ---------- ------- ----------- -------------- ------
// Tex[0] texture float 2d t0 1
// Tex[1] texture float 2d t1 1
// Tex[2] texture float 2d t2 1
// Tex[3] texture float 2d t3 1