| 1 |
RWByteAddressBuffer _4 : register(u0); |
| 2 |
|
| 3 |
void comp_main() |
| 4 |
{ |
| 5 |
int4 _19 = int4(_4.Load4(0)); |
| 6 |
uint4 _20 = _4.Load4(16); |
| 7 |
_4.Store4(0, uint4(abs(_19))); |
| 8 |
_4.Store4(16, uint4(abs(_19))); |
| 9 |
_4.Store4(0, uint4(abs(int4(_20)))); |
| 10 |
_4.Store4(16, uint4(abs(int4(_20)))); |
| 11 |
_4.Store4(0, uint4(sign(_19))); |
| 12 |
_4.Store4(16, uint4(sign(_19))); |
| 13 |
_4.Store4(0, uint4(sign(int4(_20)))); |
| 14 |
_4.Store4(16, uint4(sign(int4(_20)))); |
| 15 |
_4.Store4(0, uint4(firstbithigh(int4(_20)))); |
| 16 |
_4.Store4(16, uint4(firstbithigh(int4(_20)))); |
| 17 |
_4.Store4(0, uint4(int4(firstbithigh(uint4(_19))))); |
| 18 |
_4.Store4(16, firstbithigh(uint4(_19))); |
| 19 |
_4.Store4(0, uint4(min(_19, _19))); |
| 20 |
_4.Store4(16, uint4(min(_19, int4(_20)))); |
| 21 |
_4.Store4(0, uint4(min(int4(_20), int4(_20)))); |
| 22 |
_4.Store4(16, uint4(min(int4(_20), _19))); |
| 23 |
_4.Store4(0, uint4(int4(min(uint4(_19), _20)))); |
| 24 |
_4.Store4(16, min(uint4(_19), _20)); |
| 25 |
_4.Store4(0, uint4(int4(min(_20, uint4(_19))))); |
| 26 |
_4.Store4(16, min(_20, uint4(_19))); |
| 27 |
_4.Store4(0, uint4(max(_19, _19))); |
| 28 |
_4.Store4(16, uint4(max(_19, _19))); |
| 29 |
_4.Store4(0, uint4(max(int4(_20), _19))); |
| 30 |
_4.Store4(16, uint4(max(int4(_20), _19))); |
| 31 |
_4.Store4(0, uint4(int4(max(uint4(_19), _20)))); |
| 32 |
_4.Store4(16, max(uint4(_19), uint4(_19))); |
| 33 |
_4.Store4(0, uint4(int4(max(_20, uint4(_19))))); |
| 34 |
_4.Store4(16, max(_20, uint4(_19))); |
| 35 |
_4.Store4(0, uint4(clamp(int4(_20), int4(_20), int4(_20)))); |
| 36 |
_4.Store4(16, uint4(clamp(int4(_20), int4(_20), int4(_20)))); |
| 37 |
_4.Store4(0, uint4(int4(clamp(uint4(_19), uint4(_19), uint4(_19))))); |
| 38 |
_4.Store4(16, clamp(uint4(_19), uint4(_19), uint4(_19))); |
| 39 |
} |
| 40 |
|
| 41 |
[numthreads(1, 1, 1)] |
| 42 |
void main() |
| 43 |
{ |
| 44 |
comp_main(); |
| 45 |
} |