mirror of
https://github.com/blender/blender
synced 2026-11-22 03:45:13 +03:00
Some values don't need full float precision, and with millions of states reducing memory usage is important, while the math to pack/unpack these is quite cheap. On CPU full precision is used since there are few states and the extra conversion cost only hurts. This gives a 2% reduction in state size with just KERNEL_FEATURE_PATH_TRACING, and 9% reduction when enabling more features like LIGHT_PASSES + DENOISING or SUBSURFACE + VOLUME. Benchmarks do not show any significant impact on GPU render time either way. Pull Request: https://projects.blender.org/blender/blender/pulls/161876 |
||
|---|---|---|
| .. | ||
| cpu | ||
| cuda | ||
| dummy | ||
| hip | ||
| hiprt | ||
| metal | ||
| multi | ||
| oneapi | ||
| optix | ||
| CMakeLists.txt | ||
| denoise.cpp | ||
| denoise.h | ||
| device.cpp | ||
| device.h | ||
| graphics_interop.cpp | ||
| graphics_interop.h | ||
| kernel.cpp | ||
| kernel.h | ||
| memory.cpp | ||
| memory.h | ||
| queue.cpp | ||
| queue.h | ||