|
Blender V5.0
|
Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device uint | tabulated_sobol_shuffled_sample_index (KernelGlobals kg, uint sample, const uint dimension, const uint seed) |
| ccl_device float | tabulated_sobol_sample_1D (KernelGlobals kg, const uint sample, const uint rng_hash, const uint dimension) |
| ccl_device float2 | tabulated_sobol_sample_2D (KernelGlobals kg, const uint sample, const uint rng_hash, const uint dimension) |
| ccl_device float3 | tabulated_sobol_sample_3D (KernelGlobals kg, const uint sample, const uint rng_hash, const uint dimension) |
| ccl_device float4 | tabulated_sobol_sample_4D (KernelGlobals kg, const uint sample, const uint rng_hash, const uint dimension) |
| ccl_device float tabulated_sobol_sample_1D | ( | KernelGlobals | kg, |
| const uint | sample, | ||
| const uint | rng_hash, | ||
| const uint | dimension ) |
Definition at line 36 of file kernel/sample/tabulated_sobol.h.
References ccl_device, 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, |
| const uint | sample, | ||
| const uint | rng_hash, | ||
| const uint | dimension ) |
Definition at line 64 of file kernel/sample/tabulated_sobol.h.
References ccl_device, floorf, hash_wang_seeded_float(), kernel_data, kernel_data_fetch, make_float2, NUM_TAB_SOBOL_DIMENSIONS, sample, seed, tabulated_sobol_shuffled_sample_index(), x, and y.
Referenced by path_rng_2D().
| ccl_device float3 tabulated_sobol_sample_3D | ( | KernelGlobals | kg, |
| const uint | sample, | ||
| const uint | rng_hash, | ||
| const uint | dimension ) |
Definition at line 97 of file kernel/sample/tabulated_sobol.h.
References ccl_device, floorf, hash_wang_seeded_float(), kernel_data, kernel_data_fetch, make_float3(), NUM_TAB_SOBOL_DIMENSIONS, sample, seed, tabulated_sobol_shuffled_sample_index(), x, y, and z().
Referenced by path_rng_3D().
| ccl_device float4 tabulated_sobol_sample_4D | ( | KernelGlobals | kg, |
| const uint | sample, | ||
| const uint | rng_hash, | ||
| const uint | dimension ) |
Definition at line 135 of file kernel/sample/tabulated_sobol.h.
References ccl_device, floorf, hash_wang_seeded_float(), kernel_data, kernel_data_fetch, make_float4, NUM_TAB_SOBOL_DIMENSIONS, sample, seed, tabulated_sobol_shuffled_sample_index(), w(), x, y, and z().
Referenced by path_rng_4D().
| CCL_NAMESPACE_BEGIN ccl_device uint tabulated_sobol_shuffled_sample_index | ( | KernelGlobals | kg, |
| uint | sample, | ||
| const uint | dimension, | ||
| const uint | seed ) |
Definition at line 14 of file kernel/sample/tabulated_sobol.h.
References ccl_device, 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().