Fix T48103: Wrong renders on AMD OpenCL when Light Falloff node is used

This commit is contained in:
Sergey Sharybin 2016-04-11 10:54:41 +02:00
parent 2050ecc307
commit 45a089c138

@ -619,6 +619,7 @@ class LightFalloffNode : public ShaderNode {
public:
SHADER_NODE_CLASS(LightFalloffNode)
bool has_spatial_varying() { return true; }
virtual int get_group() { return NODE_GROUP_LEVEL_2; }
};
class ObjectInfoNode : public ShaderNode {