Cycles: Fix race condition in shader attribute for real now

Ended up moving lock in the more centralized space since multiple shaders
can access this map.
This commit is contained in:
Sergey Sharybin
2017-04-10 16:53:01 +02:00
parent fd203a0933
commit c8e764ccbf
4 changed files with 4 additions and 4 deletions

View File

@@ -218,8 +218,6 @@ protected:
int max_stack_use;
uint mix_weight_offset;
bool compile_failed;
thread_spin_lock attribute_lock_;
};
CCL_NAMESPACE_END