FfxParallelSortConstants
Constant buffer information needed for the execution of each pass in parallel sort.
File location: sdk/include/FidelityFX/gpu/parallelsort/ffx_parallelsort.h
Detailed description
Constant buffer information needed for the execution of each pass in parallel sort.
Data fields
Type |
Description |
---|---|
numKeys
The number of keys to sort.
|
|
numBlocksPerThreadGroup
How many blocks of keys each thread group needs to process.
|
|
numThreadGroups
How many thread groups are being run concurrently for sort.
|
|
numThreadGroupsWithAdditionalBlocks
How many thread groups need to process additional block data.
|
|
numReduceThreadgroupPerBin
How many thread groups are summed together for each reduced bin entry.
|
|
numScanValues
How many values to perform scan prefix (+ add) on.
|
|
shift
What bits are being sorted (4 bit increments)
|
|
padding
Padding – unused.
|