bgfx/3rdparty/glslang/Test/spv.shiftOps.frag

19 lines
242 B
GLSL
Raw Normal View History

2016-12-16 01:19:54 +03:00
#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;
}