John Kessenich | 647fcca | 2018-03-15 21:07:35 -0600 | [diff] [blame] | 1 | #version 450 |
2 | #extension GL_ARB_gpu_shader_int64 : require | ||||
3 | |||||
4 | layout(local_size_x = 54) in; | ||||
5 | |||||
6 | layout(location=4) uniform int64_t arg0; | ||||
7 | layout(location=5) uniform uint arg1; | ||||
8 | |||||
9 | void main() | ||||
10 | { | ||||
11 | uint64_t result = arg0 << arg1; | ||||
12 | result = arg0 >> arg1; | ||||
13 | result <<= arg1; | ||||
14 | result >>= arg1; | ||||
15 | } |