bgfx/3rdparty/glslang/Test/spv.shiftOps.frag
Branimir Karadžić f46d6a5803 Added glslang.
2016-12-15 14:19:54 -08:00

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;
}