glslang/Test/invalidSwizzle.vert
2017-10-17 09:04:38 +00:00

8 lines
145 B
GLSL

#version 420
void f();
void main() {
f().xx; // Scalar swizzle does not apply to void
f().xy; // Vector swizzle does not apply either
}