Blender Git Loki
Git Commits -> Revision 73fdd44
Revision 73fdd44 by Brecht Van Lommel (cycles-x) April 9, 2021, 13:27 (GMT) |
Cycles: store ray differentials as scale instead of vector For bump mapping at least this makes little visual difference, and reduces memory usage and access cost on the GPU. A further optimizations could also make the differentials in ShaderData smaller. Ray differentials for NDC coordinates are disabled by this, to be brought back later. |
Commit Details:
Full Hash: 73fdd4440274a571bef68e0b1597102c4beb2ec4
Parent Commit: 9fc3413
Lines Changed: +126, -70
11 Modified Paths:
/intern/cycles/kernel/integrator/integrator_shade_surface.h (+3, -6) (Diff)
/intern/cycles/kernel/integrator/integrator_state_template.h (+2, -5) (Diff)
/intern/cycles/kernel/integrator/integrator_state_util.h (+6, -10) (Diff)
/intern/cycles/kernel/kernel_camera.h (+30, -19) (Diff)
/intern/cycles/kernel/kernel_differential.h (+60, -11) (Diff)
/intern/cycles/kernel/kernel_emission.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_shader.h (+4, -4) (Diff)
/intern/cycles/kernel/kernel_types.h (+3, -3) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+10, -6) (Diff)
/intern/cycles/kernel/svm/svm_tex_coord.h (+2, -2) (Diff)
/intern/cycles/render/camera.cpp (+4, -2) (Diff)
/intern/cycles/kernel/integrator/integrator_state_template.h (+2, -5) (Diff)
/intern/cycles/kernel/integrator/integrator_state_util.h (+6, -10) (Diff)
/intern/cycles/kernel/kernel_camera.h (+30, -19) (Diff)
/intern/cycles/kernel/kernel_differential.h (+60, -11) (Diff)
/intern/cycles/kernel/kernel_emission.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_shader.h (+4, -4) (Diff)
/intern/cycles/kernel/kernel_types.h (+3, -3) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+10, -6) (Diff)
/intern/cycles/kernel/svm/svm_tex_coord.h (+2, -2) (Diff)
/intern/cycles/render/camera.cpp (+4, -2) (Diff)