|
Space Sim
|
Traverses the LBVH top-down and assigns stackless pointers on its way down. More...
Go to the source code of this file.
Data Structures | |
| struct | Node |
Macros | |
| #define | WORKGROUP_SIZE 128 |
| #define | RADIX_SORT_BINS 128 |
| #define | SUBGROUP_SIZE 32 |
| #define | BODY_COUNT 15000 |
| #define | MAX_NODES 45000 |
| #define | MAX_DEPTH 64 |
Functions | |
| layout (local_size_x=WORKGROUP_SIZE) in | |
| layout (std430, binding=4) buffer NodeData | |
| void | main () |
Variables | |
| uniform int | depth |
| uniform int | max_depth |
| uniform bool | first_iter |
| uniform uint | current_depth_offset |
| uniform uint | current_amt |
Traverses the LBVH top-down and assigns stackless pointers on its way down.
Definition in file next.comp.
| struct Node |
| layout | ( | local_size_x | = WORKGROUP_SIZE | ) |
References Node::com_m, layout(), Node::lrpd, Node::max, Node::min, Node::next, and WORKGROUP_SIZE.
| layout | ( | std430 | , |
| binding | = 4 ) |
| void main | ( | ) |