Hello,
I was debugging the ReductionCS.hlsl shader since the output was wrong. Looks like there is quite an small error in line 401:
InterlockedMax(MaxSumEntry, waveIndex);
should be:
InterlockedMax(MaxAverageEntry, waveIndex);
It took me a while to figure out that small issue! Hope you can fix it in the repo.
Best regards,
Oriol.
Hello,
I was debugging the ReductionCS.hlsl shader since the output was wrong. Looks like there is quite an small error in line 401:
InterlockedMax(MaxSumEntry, waveIndex);
should be:
InterlockedMax(MaxAverageEntry, waveIndex);
It took me a while to figure out that small issue! Hope you can fix it in the repo.
Best regards,
Oriol.