This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma use_dxc //enable SM 6.0 features, in Unity this is only supported on version 2020.2.0a8 or later with D3D12 enabled | |
| #pragma kernel CountTotalsInBlock | |
| #pragma kernel BlockCountPostfixSum | |
| #pragma kernel CalculateOffsetsForEachKey | |
| #pragma kernel FinalSort | |
| uint _FirstBitToSort; | |
| int _NumElements; | |
| int _NumBlocks; | |
| bool _ShouldSortPayload; |