skia2/resources/sksl/shared/SwizzleScalar.sksl

13 lines
209 B
Plaintext
Raw Normal View History

uniform half unknownInput; // 1
half4 main(float2 coords) {
half x = unknownInput;
half4 v = x.xx01;
v = unknownInput.xx01;
v = unknownInput.0x10;
v = unknownInput.0x0x;
return v;
}