blender/intern/cycles/kernel/util
Brecht Van Lommel e949d6da5b Cycles: simplify handling of ray differentials
* Store compact ray differentials in ShaderData and compute full differentials
  on demand. This reduces register pressure on the GPU.
* Remove BSDF differential code that was effectively doing nothing as the
  differential orientation was discarded when making it compact.

This gives a 1-5% speedup with RTX A6000 + OptiX in our benchmarks, with the
bigger speedups in simpler scenes.

Renders appear to be identical except for the Both displacement option that
does both displacement and bump.

Differential Revision: https://developer.blender.org/D15677
2022-08-15 13:48:02 +02:00
..
color.h Cycles: add new Spectrum and PackedSpectrum types 2022-08-09 16:49:34 +02:00
differential.h Cycles: simplify handling of ray differentials 2022-08-15 13:48:02 +02:00
lookup_table.h Cleanup: renaming and consistency for kernel data 2022-06-20 12:30:48 +02:00
profiling.h Cleanup: remove __KERNEL_CPU__ 2022-07-25 17:43:35 +02:00