Can I declare a multi-dimension array in hlsl?

Hello,
I am wondering can I declaring a multi-dimension array in hlsl? It is constant and I don’t need to send data from c# to it. Just like:const uint test[5][20] = {...}

Or does hlsl only support one dimension array?

I haven’t tried this, but have it bookmarked to experiment on, you can do an array of arrays, just as you’re suggesting, like so:

https://stackoverflow.com/questions/16046293/do-directx-compute-shaders-support-2d-arrays-in-shared-memory

I’m not sure what kinds of GPUs and OS you need for this to work. It might be, I suspect, only DirectX.