blob: 7fb937f43008ad595c3958a129eea37171c16fdc [file] [log] [blame]
Rex Xue723b452015-12-07 19:07:17 +08001#version 450
2
John Kessenich6c292d32016-02-15 20:58:50 -07003flat in int i1;
4flat in uint u1;
5flat in ivec3 i3;
6flat in uvec3 u3;
Rex Xue723b452015-12-07 19:07:17 +08007
8out ivec3 icolor;
9out uvec3 ucolor;
10
11void main()
12{
13 icolor = i3 << u1;
14 icolor <<= 4u;
15
16 ucolor = u3 >> i1;
17 ucolor >>= 5;
18}