Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/kernel_types.h
| Show First 20 Lines • Show All 244 Lines • ▼ Show 20 Lines | #endif | ||||
| PRNG_BASE_NUM = 8, | PRNG_BASE_NUM = 8, | ||||
| PRNG_BSDF_U = 0, | PRNG_BSDF_U = 0, | ||||
| PRNG_BSDF_V = 1, | PRNG_BSDF_V = 1, | ||||
| PRNG_BSDF = 2, | PRNG_BSDF = 2, | ||||
| PRNG_LIGHT = 3, | PRNG_LIGHT = 3, | ||||
| PRNG_LIGHT_U = 4, | PRNG_LIGHT_U = 4, | ||||
| PRNG_LIGHT_V = 5, | PRNG_LIGHT_V = 5, | ||||
| PRNG_UNUSED_3 = 6, | PRNG_LIGHT_TERMINATE = 6, | ||||
| PRNG_TERMINATE = 7, | PRNG_TERMINATE = 7, | ||||
| #ifdef __VOLUME__ | #ifdef __VOLUME__ | ||||
| PRNG_PHASE_U = 8, | PRNG_PHASE_U = 8, | ||||
| PRNG_PHASE_V = 9, | PRNG_PHASE_V = 9, | ||||
| PRNG_PHASE = 10, | PRNG_PHASE = 10, | ||||
| PRNG_SCATTER_DISTANCE = 11, | PRNG_SCATTER_DISTANCE = 11, | ||||
| #endif | #endif | ||||
| ▲ Show 20 Lines • Show All 856 Lines • ▼ Show 20 Lines | typedef struct KernelIntegrator { | ||||
| int aa_samples; | int aa_samples; | ||||
| /* volume render */ | /* volume render */ | ||||
| int use_volumes; | int use_volumes; | ||||
| int volume_max_steps; | int volume_max_steps; | ||||
| float volume_step_size; | float volume_step_size; | ||||
| int volume_samples; | int volume_samples; | ||||
| float light_inv_rr_threshold; | |||||
| int pad1; | int pad1; | ||||
| int pad2; | |||||
| } KernelIntegrator; | } KernelIntegrator; | ||||
| static_assert_align(KernelIntegrator, 16); | static_assert_align(KernelIntegrator, 16); | ||||
| typedef struct KernelBVH { | typedef struct KernelBVH { | ||||
| /* root node */ | /* root node */ | ||||
| int root; | int root; | ||||
| int attributes_map_stride; | int attributes_map_stride; | ||||
| int have_motion; | int have_motion; | ||||
| ▲ Show 20 Lines • Show All 139 Lines • Show Last 20 Lines | |||||