xref: /third_party/skia/resources/sksl/shared/SwizzleScalarInt.sksl
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/skia/resources/sksl/shared/
1cb93a386Sopenharmony_ciuniform half unknownInput; // 1
2cb93a386Sopenharmony_ci
3cb93a386Sopenharmony_cihalf4 main(float2 coords) {
4cb93a386Sopenharmony_ci    int i = int(unknownInput);
5cb93a386Sopenharmony_ci    int4 i4 = i.xxxx;
6cb93a386Sopenharmony_ci    i4 = i.xx01;
7cb93a386Sopenharmony_ci    i4 = i.0x10;
8cb93a386Sopenharmony_ci    i4 = i.0x0x;
9cb93a386Sopenharmony_ci
10cb93a386Sopenharmony_ci    return half4(i4);
11cb93a386Sopenharmony_ci}
12

Indexes created Thu Nov 07 10:32:03 CST 2024