xref: /third_party/skia/resources/sksl/shared/Discard.sksl (revision cb93a386)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/skia/resources/sksl/shared/
1cb93a386Sopenharmony_civoid main() {
2cb93a386Sopenharmony_ci    half x;
3cb93a386Sopenharmony_ci    switch (1) {
4cb93a386Sopenharmony_ci       case 0: x = 0; break;
5cb93a386Sopenharmony_ci       default: x = 1; discard;
6cb93a386Sopenharmony_ci    }
7cb93a386Sopenharmony_ci    sk_FragColor = half4(x);
8cb93a386Sopenharmony_ci}
9

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