skia2/resources/sksl/shared/ConstArray.sksl

6 lines
121 B
Plaintext
Raw Normal View History

const half test[4] = half[4](1, 2, 3, 4);
void main() {
sk_FragColor = half4(test[0], test[1], test[2], test[3]);
}