#include "CoreMinimal.h"
#include "RHI.h"
Go to the source code of this file.
◆ EGPUSortTest
GPU sorting tests.
| Enumerator |
|---|
| GPU_SORT_TEST_SMALL | Tests the sort on a small set of elements.
|
| GPU_SORT_TEST_LARGE | Tests the sort on a large set of elements.
|
| GPU_SORT_TEST_EXHAUSTIVE | Tests the sort on many different sizes of elements.
|
| GPU_SORT_TEST_RANDOM | |
◆ GetGPUSortPassCount()
Get the number of passes we will need to make in order to sort
◆ SortGPUBuffers()
Sort a buffer on the GPU.
- Parameters
-
| SortBuffers | - The buffer to sort including required views and a ping- pong location of appropriate size. |
| BufferIndex | - Index of the buffer containing keys. |
| KeyMask | - Bitmask indicating which key bits contain useful information. |
| Count | - How many items in the buffer need to be sorted. |
- Returns
- The index of the buffer containing sorted results.
◆ TestGPUSort()
Test that GPU sorting works.
- Parameters
-
| TestToRun | - The test to run. |