|
Space Sim
|
Reverses the bits before performing the FFT. More...
Go to the source code of this file.
Macros | |
| #define | N 128 |
Functions | |
| layout (local_size_x=16, local_size_y=16, local_size_z=1) in | |
| layout (rgba32f, binding=0) readonly uniform image2D inIMG | |
| uint | reverseBits (uint x, uint log2N) |
| void | main () |
Variables | |
| uniform int | log2N |
Reverses the bits before performing the FFT.
Definition in file bit_reversal.comp.
| #define N 128 |
Definition at line 13 of file bit_reversal.comp.
Referenced by init_water_grid(), and main().
| layout | ( | local_size_x | = 16, |
| local_size_y | = 16, | ||
| local_size_z | = 1 ) |
| layout | ( | rgba32f | , |
| binding | = 0 ) |
References layout().
| uint reverseBits | ( | uint | x, |
| uint | log2N ) |
Definition at line 15 of file bit_reversal.comp.
References log2N, and reverseBits().
Referenced by main(), and reverseBits().
| void main | ( | ) |
Definition at line 26 of file bit_reversal.comp.
References log2N, main(), N, and reverseBits().
| uniform int log2N |
Definition at line 25 of file bit_reversal.comp.
Referenced by main(), and reverseBits().