Cycles: Remove ccl_fetch and SOA
This commit is contained in:
@@ -33,7 +33,7 @@ ccl_device void svm_node_vector_transform(KernelGlobals *kg, ShaderData *sd, flo
|
||||
NodeVectorTransformConvertSpace to = (NodeVectorTransformConvertSpace)ito;
|
||||
|
||||
Transform tfm;
|
||||
bool is_object = (ccl_fetch(sd, object) != OBJECT_NONE);
|
||||
bool is_object = (sd->object != OBJECT_NONE);
|
||||
bool is_direction = (type == NODE_VECTOR_TRANSFORM_TYPE_VECTOR || type == NODE_VECTOR_TRANSFORM_TYPE_NORMAL);
|
||||
|
||||
/* From world */
|
||||
|
Reference in New Issue
Block a user