Skip to content

Commit 105bcdb

Browse files
authored
Merge pull request #184 from Devsh-Graphics-Programming/new_tgmath
New tgmath
2 parents ff95b3b + e2e8ed0 commit 105bcdb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

28_FFTBloom/app_resources/fft_convolve_ifft.hlsl

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ struct PreloadedSecondAxisAccessor : PreloadedAccessorMirrorTradeBase
130130
{
131131
if (glsl::gl_WorkGroupID().x)
132132
{
133-
const uint32_t y = bitReverseAs<uint32_t, NumWorkgroupsLog2>(glsl::gl_WorkGroupID().x);
133+
const uint32_t y = bitReverseAs<uint32_t>(glsl::gl_WorkGroupID().x, NumWorkgroupsLog2);
134134
uint32_t globalElementIndex = workgroup::SubgroupContiguousIndex();
135135
[unroll]
136136
for (uint32_t localElementIndex = 0; localElementIndex < ElementsPerInvocation; localElementIndex++)

28_FFTBloom/app_resources/kernel_fft_second_axis.hlsl

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ struct PreloadedSecondAxisAccessor : MultiChannelPreloadedAccessorMirrorTradeBas
132132
// the element in the DFT with `x = F(x')` and `y = bitreverse(y')`
133133
if (glsl::gl_WorkGroupID().x)
134134
{
135-
const uint32_t y = bitReverseAs<uint32_t, NumWorkgroupsLog2>(glsl::gl_WorkGroupID().x);
135+
const uint32_t y = bitReverseAs<uint32_t>(glsl::gl_WorkGroupID().x, NumWorkgroupsLog2);
136136
[unroll]
137137
for (uint16_t channel = 0; channel < Channels; channel++)
138138
{

0 commit comments

Comments
 (0)