31 #include <pathtracer.h> 67 void warp_append(
const uint32 pixel_info,
const MaskedRay& ray,
const float4 weight,
const cugar::Vector2f cone =
cugar::Vector2f(0),
const uint32 vertex_info = uint32(-1),
const uint32 nee_slot = uint32(-1))
72 weights[slot] = weight;
73 pixels[slot] = make_uint4( pixel_info, vertex_info, nee_slot, uint32(-1) );
79 void warp_append(
const uint32 pixel_info,
const MaskedRay& ray,
const float4 weight,
const float4 weight_d,
const float4 weight_g,
const uint32 vertex_info = uint32(-1),
const uint32 nee_slot = uint32(-1),
const uint32 nee_cluster = uint32(-1))
84 weights[slot] = weight;
87 weights_d[slot] = weight_d;
89 weights_g[slot] = weight_g;
91 pixels[slot] = make_uint4( pixel_info, vertex_info, nee_slot, nee_cluster );
__device__ __forceinline__ unsigned int warp_increment(unsigned int *ptr)
Definition: warp_atomics.h:56
Definition: pathtracer_queues.h:44
Define CUDA based warp adders.