Attempt to fix cycles OSL link error on windows 64 bit.
This commit is contained in:
@@ -328,6 +328,15 @@ bool OSLRenderServices::get_inverse_matrix(OSL::Matrix44 &result, ustring to)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool OSLRenderServices::transform_points(OSL::ShaderGlobals *sg, ustring from,
|
||||||
|
ustring to, float time,
|
||||||
|
const OSL::Vec3 *Pin, OSL::Vec3 *Pout,
|
||||||
|
int npoints,
|
||||||
|
TypeDesc::VECSEMANTICS vectype)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
bool OSLRenderServices::get_array_attribute(void *renderstate, bool derivatives,
|
bool OSLRenderServices::get_array_attribute(void *renderstate, bool derivatives,
|
||||||
ustring object, TypeDesc type, ustring name,
|
ustring object, TypeDesc type, ustring name,
|
||||||
int index, void *val)
|
int index, void *val)
|
||||||
|
@@ -59,6 +59,10 @@ public:
|
|||||||
bool get_matrix(OSL::Matrix44 &result, ustring from);
|
bool get_matrix(OSL::Matrix44 &result, ustring from);
|
||||||
bool get_inverse_matrix(OSL::Matrix44 &result, ustring from);
|
bool get_inverse_matrix(OSL::Matrix44 &result, ustring from);
|
||||||
|
|
||||||
|
bool transform_points(OSL::ShaderGlobals *sg, ustring from, ustring to,
|
||||||
|
float time, const OSL::Vec3 *Pin, OSL::Vec3 *Pout, int npoints,
|
||||||
|
TypeDesc::VECSEMANTICS vectype);
|
||||||
|
|
||||||
bool get_array_attribute(void *renderstate, bool derivatives,
|
bool get_array_attribute(void *renderstate, bool derivatives,
|
||||||
ustring object, TypeDesc type, ustring name,
|
ustring object, TypeDesc type, ustring name,
|
||||||
int index, void *val);
|
int index, void *val);
|
||||||
|
Reference in New Issue
Block a user