Constants
Structures
Functions
@compute
Runs custom parallel code on the GPU, not limited to graphics
@workgroup_size(8, 8, 1)
Defines the size of a thread group. One to three numbers: width (x), height (y), and depth (z). Missing values default to 1
Primary surface replacement for perfect mirrors. The reflection chain has been followed to its first non-mirror hit; write that surface’s attributes, reflected into the mirror’s virtual space, to the DLSS RR guide buffers so the denoiser treats this pixel as directly seeing it. https://developer.nvidia.com/blog/rendering-perfect-reflections-and-refractions-in-path-traced-games/#primary_surface_replacement
Carried across every bounce of the path walk, so anything derivable from a value the walk already holds is derived at the end instead of stored. What is left is only what the walk itself produces.