skia2/resources/sksl/shared/ConstArray.sksl

6 lines
123 B
Plaintext
Raw Normal View History

const half test[4] = half[4](0, 1, 0, 1);
half4 main(float2 xy) {
return half4(test[0], test[1], test[2], test[3]);
}