Blender V5.3
eevee::surfel::list::sort Namespace Reference

Classes

struct  Resources

Functions

void sort_comp (Resources &srt, SurfelData &surfels, const uint3 global_id)

Function Documentation

◆ sort_comp()

void eevee::surfel::list::sort::sort_comp ( Resources & srt,
SurfelData & surfels,
const uint3 global_id )

Sort ranges of surfel inside a list using radix sort. The previous step flatten the list data into on big arrays, with a specific range of data for each ray list. This stage operate on these ranges.

For now the implementation is done in a single pass with brute force. All elements of a list scan inside the whole list.

Dispatched as 1 thread per surfel (array elem).

Definition at line 180 of file eevee_surfel_list.bsl.hh.

References global_invocation_id, resource_table, and sort_comp().

Referenced by sort_comp().