Rex Xu | e723b45 | 2015-12-07 19:07:17 +0800 | [diff] [blame] | 1 | #version 450 |
2 | |||||
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame^] | 3 | flat in int i1; |
4 | flat in uint u1; | ||||
5 | flat in ivec3 i3; | ||||
6 | flat in uvec3 u3; | ||||
Rex Xu | e723b45 | 2015-12-07 19:07:17 +0800 | [diff] [blame] | 7 | |
8 | out ivec3 icolor; | ||||
9 | out uvec3 ucolor; | ||||
10 | |||||
11 | void main() | ||||
12 | { | ||||
13 | icolor = i3 << u1; | ||||
14 | icolor <<= 4u; | ||||
15 | |||||
16 | ucolor = u3 >> i1; | ||||
17 | ucolor >>= 5; | ||||
18 | } |