I am a beginner with hlsl and I'd like to know if you actually can do something like this, which is setting a global variable's index with another global scalar variable:
int t = 5;
float g[t];
If you can't do something like this in hlsl, then can you change the array to a greater or lower number through xna?
Thank you
Thecheeselover