Skip to content

Commit 95fe2b7

Browse files
committed
Fix of Fix :|
1 parent c288142 commit 95fe2b7

File tree

1 file changed

+3
-3
lines changed
  • include/nbl/builtin/glsl/ext/FFT

1 file changed

+3
-3
lines changed

include/nbl/builtin/glsl/ext/FFT/fft.glsl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
#include <nbl/builtin/glsl/workgroup/shared_arithmetic.glsl>
1212

1313

14-
// TODO: Investigate why +1 solves all glitches
15-
#ifndef _NBL_GLSL_EXT_FFT_MAX_DIM_SIZE_ + 1
14+
#ifndef _NBL_GLSL_EXT_FFT_MAX_DIM_SIZE_
1615
#error "_NBL_GLSL_EXT_FFT_MAX_DIM_SIZE_ should be defined."
1716
#endif
1817

@@ -21,7 +20,8 @@
2120
#endif
2221

2322

24-
#define _NBL_GLSL_EXT_FFT_SHARED_SIZE_NEEDED_ _NBL_GLSL_EXT_FFT_MAX_DIM_SIZE_
23+
// TODO: Investigate why +1 solves all glitches
24+
#define _NBL_GLSL_EXT_FFT_SHARED_SIZE_NEEDED_ _NBL_GLSL_EXT_FFT_MAX_DIM_SIZE_ + 1
2525

2626
#ifdef _NBL_GLSL_SCRATCH_SHARED_DEFINED_
2727
#if NBL_GLSL_LESS(_NBL_GLSL_SCRATCH_SHARED_SIZE_DEFINED_,_NBL_GLSL_EXT_FFT_SHARED_SIZE_NEEDED_)

0 commit comments

Comments
 (0)