I just want to store an array of weights that needs to every fragment calculation.
This:
float weights[5] = float[5](3.4, 4.2, 5.0, 5.2, 1.1);
Just throws this:
ERROR: 0:30: ']' : syntax error syntax error
ERROR: 0:30: ';' : syntax error syntax error
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…