We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c288142 commit 95fe2b7Copy full SHA for 95fe2b7
include/nbl/builtin/glsl/ext/FFT/fft.glsl
@@ -11,8 +11,7 @@
11
#include <nbl/builtin/glsl/workgroup/shared_arithmetic.glsl>
12
13
14
-// TODO: Investigate why +1 solves all glitches
15
-#ifndef _NBL_GLSL_EXT_FFT_MAX_DIM_SIZE_ + 1
+#ifndef _NBL_GLSL_EXT_FFT_MAX_DIM_SIZE_
16
#error "_NBL_GLSL_EXT_FFT_MAX_DIM_SIZE_ should be defined."
17
#endif
18
@@ -21,7 +20,8 @@
21
20
22
23
24
-#define _NBL_GLSL_EXT_FFT_SHARED_SIZE_NEEDED_ _NBL_GLSL_EXT_FFT_MAX_DIM_SIZE_
+// TODO: Investigate why +1 solves all glitches
+#define _NBL_GLSL_EXT_FFT_SHARED_SIZE_NEEDED_ _NBL_GLSL_EXT_FFT_MAX_DIM_SIZE_ + 1
25
26
#ifdef _NBL_GLSL_SCRATCH_SHARED_DEFINED_
27
#if NBL_GLSL_LESS(_NBL_GLSL_SCRATCH_SHARED_SIZE_DEFINED_,_NBL_GLSL_EXT_FFT_SHARED_SIZE_NEEDED_)
0 commit comments