1#version 450 2layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; 3 4layout(binding = 0, std430) buffer SSBO 5{ 6 ivec4 ints; 7 uvec4 uints; 8} _3; 9 10void main() 11{ 12 ivec4 _19 = _3.ints; 13 uvec4 _20 = _3.uints; 14 _3.ints = bitCount(_19); 15 _3.uints = uvec4(bitCount(_19)); 16 _3.ints = bitCount(_20); 17 _3.uints = uvec4(bitCount(_20)); 18 _3.ints = bitfieldReverse(_19); 19 _3.uints = bitfieldReverse(_20); 20 _3.ints = bitfieldExtract(_19, 1, int(11u)); 21 _3.uints = uvec4(bitfieldExtract(ivec4(_20), int(11u), 1)); 22 _3.ints = ivec4(bitfieldExtract(uvec4(_19), 1, int(11u))); 23 _3.uints = bitfieldExtract(_20, int(11u), 1); 24 _3.ints = bitfieldInsert(_19, _19.wzyx, 1, int(11u)); 25 _3.uints = bitfieldInsert(_20, _20.wzyx, int(11u), 1); 26} 27 28