|
Blender V4.3
|
Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device uint | tabulated_sobol_shuffled_sample_index (KernelGlobals kg, uint sample, uint dimension, uint seed) |
| ccl_device float | tabulated_sobol_sample_1D (KernelGlobals kg, uint sample, const uint rng_hash, const uint dimension) |
| ccl_device float2 | tabulated_sobol_sample_2D (KernelGlobals kg, uint sample, const uint rng_hash, const uint dimension) |
| ccl_device float3 | tabulated_sobol_sample_3D (KernelGlobals kg, uint sample, const uint rng_hash, const uint dimension) |
| ccl_device float4 | tabulated_sobol_sample_4D (KernelGlobals kg, uint sample, const uint rng_hash, const uint dimension) |
| ccl_device float tabulated_sobol_sample_1D | ( | KernelGlobals | kg, |
| uint | sample, | ||
| const uint | rng_hash, | ||
| const uint | dimension ) |
Definition at line 33 of file kernel/sample/tabulated_sobol.h.
References floorf, hash_wang_seeded_float(), kernel_data, kernel_data_fetch, NUM_TAB_SOBOL_DIMENSIONS, sample, seed, tabulated_sobol_shuffled_sample_index(), and x.
Referenced by path_rng_1D().
| ccl_device float2 tabulated_sobol_sample_2D | ( | KernelGlobals | kg, |
| uint | sample, | ||
| const uint | rng_hash, | ||
| const uint | dimension ) |
Definition at line 61 of file kernel/sample/tabulated_sobol.h.
References floorf, hash_wang_seeded_float(), kernel_data, kernel_data_fetch, make_float2(), NUM_TAB_SOBOL_DIMENSIONS, sample, seed, and tabulated_sobol_shuffled_sample_index().
Referenced by path_rng_2D().
| ccl_device float3 tabulated_sobol_sample_3D | ( | KernelGlobals | kg, |
| uint | sample, | ||
| const uint | rng_hash, | ||
| const uint | dimension ) |
Definition at line 94 of file kernel/sample/tabulated_sobol.h.
References floorf, hash_wang_seeded_float(), kernel_data, kernel_data_fetch, make_float3(), NUM_TAB_SOBOL_DIMENSIONS, sample, seed, tabulated_sobol_shuffled_sample_index(), and z().
Referenced by path_rng_3D().
| ccl_device float4 tabulated_sobol_sample_4D | ( | KernelGlobals | kg, |
| uint | sample, | ||
| const uint | rng_hash, | ||
| const uint | dimension ) |
Definition at line 132 of file kernel/sample/tabulated_sobol.h.
References floorf, hash_wang_seeded_float(), kernel_data, kernel_data_fetch, make_float4(), NUM_TAB_SOBOL_DIMENSIONS, sample, seed, tabulated_sobol_shuffled_sample_index(), w(), and z().
Referenced by path_rng_4D().
| CCL_NAMESPACE_BEGIN ccl_device uint tabulated_sobol_shuffled_sample_index | ( | KernelGlobals | kg, |
| uint | sample, | ||
| uint | dimension, | ||
| uint | seed ) |
Definition at line 11 of file kernel/sample/tabulated_sobol.h.
References hash_shuffle_uint(), hash_wang_seeded_uint(), kernel_data, nested_uniform_scramble(), NUM_TAB_SOBOL_PATTERNS, sample, and seed.
Referenced by tabulated_sobol_sample_1D(), tabulated_sobol_sample_2D(), tabulated_sobol_sample_3D(), and tabulated_sobol_sample_4D().