float myArray[5] = { 0, 0, 0, 0, 0 }; myArray = { 1, 2, 3, 4, 5 };
Why is this not possible to do in HLSL? Is it some kind of memory issue?