The shader id generated by the manager contains some special flags in high bits,...
authorLukas Toenne <lukas.toenne@googlemail.com>
Mon, 3 Sep 2012 18:50:59 +0000 (18:50 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Mon, 3 Sep 2012 18:50:59 +0000 (18:50 +0000)
commit9b30e8d83ac1294bb7a0956d57f5d00d61df703f
tree6bee6a90e129ba5293643c53c47b766f4d925658
parent192935eb0493e6b1685ad5e867b4d1c9a4ed112a
The shader id generated by the manager contains some special flags in high bits, leading to out-of-range index if used directly. This must use the SHADER_MASK to get actual array index.
intern/cycles/render/osl.cpp