Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/integrator/state_template.h
| Show All 19 Lines | |||||
| KERNEL_STRUCT_BEGIN(path) | KERNEL_STRUCT_BEGIN(path) | ||||
| /* Index of a pixel within the device render buffer where this path will write its result. | /* Index of a pixel within the device render buffer where this path will write its result. | ||||
| * To get an actual offset within the buffer the value needs to be multiplied by the | * To get an actual offset within the buffer the value needs to be multiplied by the | ||||
| * `kernel_data.film.pass_stride`. | * `kernel_data.film.pass_stride`. | ||||
| * | * | ||||
| * The multiplication is delayed for later, so that state can use 32bit integer. */ | * The multiplication is delayed for later, so that state can use 32bit integer. */ | ||||
| KERNEL_STRUCT_MEMBER(path, uint32_t, render_pixel_index, KERNEL_FEATURE_PATH_TRACING) | KERNEL_STRUCT_MEMBER(path, uint32_t, render_pixel_index, KERNEL_FEATURE_PATH_TRACING) | ||||
| /* Current sample number. */ | /* Current sample number. */ | ||||
| KERNEL_STRUCT_MEMBER(path, uint16_t, sample, KERNEL_FEATURE_PATH_TRACING) | KERNEL_STRUCT_MEMBER(path, uint32_t, sample, KERNEL_FEATURE_PATH_TRACING) | ||||
| /* Current ray bounce depth. */ | /* Current ray bounce depth. */ | ||||
| KERNEL_STRUCT_MEMBER(path, uint16_t, bounce, KERNEL_FEATURE_PATH_TRACING) | KERNEL_STRUCT_MEMBER(path, uint16_t, bounce, KERNEL_FEATURE_PATH_TRACING) | ||||
| /* Current transparent ray bounce depth. */ | /* Current transparent ray bounce depth. */ | ||||
| KERNEL_STRUCT_MEMBER(path, uint16_t, transparent_bounce, KERNEL_FEATURE_PATH_TRACING) | KERNEL_STRUCT_MEMBER(path, uint16_t, transparent_bounce, KERNEL_FEATURE_PATH_TRACING) | ||||
| /* Current diffuse ray bounce depth. */ | /* Current diffuse ray bounce depth. */ | ||||
| KERNEL_STRUCT_MEMBER(path, uint16_t, diffuse_bounce, KERNEL_FEATURE_PATH_TRACING) | KERNEL_STRUCT_MEMBER(path, uint16_t, diffuse_bounce, KERNEL_FEATURE_PATH_TRACING) | ||||
| /* Current glossy ray bounce depth. */ | /* Current glossy ray bounce depth. */ | ||||
| KERNEL_STRUCT_MEMBER(path, uint16_t, glossy_bounce, KERNEL_FEATURE_PATH_TRACING) | KERNEL_STRUCT_MEMBER(path, uint16_t, glossy_bounce, KERNEL_FEATURE_PATH_TRACING) | ||||
| ▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines | |||||