Skip to content

ReductionCS.hlsl shader small issue computes wrong result. #81

@wereoffs

Description

@wereoffs

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions