Blender Git Commit Log

Git Commits -> Revision 9937d53

Revision 9937d53 by Brecht Van Lommel (master)
November 17, 2021, 16:29 (GMT)
Cycles: add packed_float3 type for storage

Introduce a packed_float3 type for smaller storage that is exactly 3
floats, instead of 4. For computation float3 is still used since it can
use SIMD instructions.

Ref T92212

Differential Revision: https://developer.blender.org/D13243

Commit Details:

Full Hash: 9937d5379ca936b4ba93534185477fa7e529181c
Parent Commit: 89d5714
Lines Changed: +147, -99

14 Modified Paths:

/intern/cycles/device/memory.cpp (+1, -1) (Diff)
/intern/cycles/device/memory.h (+52, -73) (Diff)
/intern/cycles/kernel/device/cuda/compat.h (+1, -0) (Diff)
/intern/cycles/kernel/device/hip/compat.h (+1, -0) (Diff)
/intern/cycles/kernel/device/metal/compat.h (+1, -0) (Diff)
/intern/cycles/kernel/device/optix/compat.h (+1, -0) (Diff)
/intern/cycles/kernel/film/accumulate.h (+1, -1) (Diff)
/intern/cycles/kernel/integrator/shade_surface.h (+7, -6) (Diff)
/intern/cycles/kernel/integrator/shade_volume.h (+4, -3) (Diff)
/intern/cycles/kernel/integrator/shadow_state_template.h (+6, -6) (Diff)
/intern/cycles/kernel/integrator/state_template.h (+9, -9) (Diff)
/intern/cycles/util/defines.h (+2, -0) (Diff)
/intern/cycles/util/math_float3.h (+26, -0) (Diff)
/intern/cycles/util/types_float3.h (+35, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021