Code cleanup: remove shader context.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Tue, 22 Aug 2017 13:00:52 +0000 (15:00 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Thu, 24 Aug 2017 01:43:02 +0000 (03:43 +0200)
commitb85d36d8118f14cbc50d86fd90c9ac6c1a9d8a97
tree6232e98446ec12948875dac28f235aee252fa617
parente47629808404cd03019ed6de2c5d6fd5307630fa
Code cleanup: remove shader context.

This was needed when we accessed OSL closure memory after shader evaluation,
which could get overwritten by another shader evaluation. But all closures
are immediatley converted to ShaderClosure now, so no longer needed.
13 files changed:
intern/cycles/kernel/kernel_bake.h
intern/cycles/kernel/kernel_emission.h
intern/cycles/kernel/kernel_path.h
intern/cycles/kernel/kernel_path_branched.h
intern/cycles/kernel/kernel_shader.h
intern/cycles/kernel/kernel_shadow.h
intern/cycles/kernel/kernel_subsurface.h
intern/cycles/kernel/kernel_types.h
intern/cycles/kernel/kernel_volume.h
intern/cycles/kernel/osl/osl_globals.h
intern/cycles/kernel/osl/osl_shader.cpp
intern/cycles/kernel/osl/osl_shader.h
intern/cycles/kernel/split/kernel_shader_eval.h