Cycles: Fix some typos in the selective modes compilation
This commit is contained in:
@@ -183,7 +183,7 @@ CCL_NAMESPACE_END
|
||||
CCL_NAMESPACE_BEGIN
|
||||
|
||||
#define NODES_GROUP(group) ((group) <= __NODES_MAX_GROUP__)
|
||||
#define NODES_FEATURE(feature) (__NODES_FEATURES__ & (feature) != 0)
|
||||
#define NODES_FEATURE(feature) ((__NODES_FEATURES__ & (feature)) != 0)
|
||||
|
||||
/* Main Interpreter Loop */
|
||||
ccl_device_noinline void svm_eval_nodes(KernelGlobals *kg, ShaderData *sd, ShaderType type, int path_flag)
|
||||
|
@@ -487,7 +487,7 @@ void ShaderManager::get_requested_graph_features(ShaderGraph *graph,
|
||||
int& features)
|
||||
{
|
||||
foreach(ShaderNode *node, graph->nodes) {
|
||||
max_group = min(max_group, node->get_group());
|
||||
max_group = max(max_group, node->get_group());
|
||||
features |= node->get_feature();
|
||||
if(node->special_type == SHADER_SPECIAL_TYPE_CLOSURE) {
|
||||
BsdfNode *bsdf_node = static_cast<BsdfNode*>(node);
|
||||
|
Reference in New Issue
Block a user