yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

John KessenichMerge pull request #1118 from xorgy/only-swizzle-numbers-and-bools9cfc1551

main
222 B10 linesraw
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}