• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 420
2
3void f();
4uniform sampler2D s;
5
6void main() {
7    vec2 v = s.rr; // Swizzles do not apply to samplers
8    f().xx; // Scalar swizzle does not apply to void
9    f().xy; // Vector swizzle does not apply either
10}