mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 11:30:06 +00:00
19 lines
242 B
GLSL
19 lines
242 B
GLSL
#version 450
|
|
|
|
flat in int i1;
|
|
flat in uint u1;
|
|
flat in ivec3 i3;
|
|
flat in uvec3 u3;
|
|
|
|
out ivec3 icolor;
|
|
out uvec3 ucolor;
|
|
|
|
void main()
|
|
{
|
|
icolor = i3 << u1;
|
|
icolor <<= 4u;
|
|
|
|
ucolor = u3 >> i1;
|
|
ucolor >>= 5;
|
|
}
|