Blender Git Commit Log
Git Commits -> Revision d36dc6d
Revision d36dc6d by Lukas Toenne (master) October 20, 2012, 13:11 (GMT) |
Integer socket support in Cycles. Int values are already supported natively in OSL, but were not used as actual ints on the SVM stack. This patch implements all the necessary functionality to support reading input values from RNA properties and convert between SHADER_SOCKET_INT and other types. |
Commit Details:
Full Hash: d36dc6d8de44194df9053c6c9c3f7842a8394067
SVN Revision: 51446
Parent Commit: cf7dec9
Lines Changed: +152, -13
1 Added Path:
/intern/cycles/kernel/osl/nodes/node_convert_from_int.osl (+36, -0) (View)
15 Modified Paths:
/intern/cycles/app/cycles_xml.cpp (+1, -0) (Diff)
/intern/cycles/blender/blender_shader.cpp (+7, -1) (Diff)
/intern/cycles/kernel/osl/nodes/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/osl/nodes/node_convert_from_color.osl (+2, -0) (Diff)
/intern/cycles/kernel/osl/nodes/node_convert_from_float.osl (+2, -0) (Diff)
/intern/cycles/kernel/osl/nodes/node_convert_from_normal.osl (+2, -0) (Diff)
/intern/cycles/kernel/osl/nodes/node_convert_from_point.osl (+2, -0) (Diff)
/intern/cycles/kernel/osl/nodes/node_convert_from_vector.osl (+2, -0) (Diff)
/intern/cycles/kernel/svm/svm.h (+19, -0) (Diff)
/intern/cycles/kernel/svm/svm_convert.h (+27, -1) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+6, -1) (Diff)
/intern/cycles/render/graph.h (+1, -0) (Diff)
/intern/cycles/render/nodes.cpp (+33, -7) (Diff)
/intern/cycles/render/osl.cpp (+3, -0) (Diff)
/intern/cycles/render/svm.cpp (+8, -3) (Diff)
/intern/cycles/blender/blender_shader.cpp (+7, -1) (Diff)
/intern/cycles/kernel/osl/nodes/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/osl/nodes/node_convert_from_color.osl (+2, -0) (Diff)
/intern/cycles/kernel/osl/nodes/node_convert_from_float.osl (+2, -0) (Diff)
/intern/cycles/kernel/osl/nodes/node_convert_from_normal.osl (+2, -0) (Diff)
/intern/cycles/kernel/osl/nodes/node_convert_from_point.osl (+2, -0) (Diff)
/intern/cycles/kernel/osl/nodes/node_convert_from_vector.osl (+2, -0) (Diff)
/intern/cycles/kernel/svm/svm.h (+19, -0) (Diff)
/intern/cycles/kernel/svm/svm_convert.h (+27, -1) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+6, -1) (Diff)
/intern/cycles/render/graph.h (+1, -0) (Diff)
/intern/cycles/render/nodes.cpp (+33, -7) (Diff)
/intern/cycles/render/osl.cpp (+3, -0) (Diff)
/intern/cycles/render/svm.cpp (+8, -3) (Diff)