mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix #34880: cycles motion blur render issue with some compilers. Actually is a bigger
problem where accessing float4 members with [] stops working due to optimizer, will check that later.
This commit is contained in:
parent
bb81923c3e
commit
cf3ec257a2
2 changed files with 2 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ Transform transform_inverse(const Transform& tfm)
|
|||
|
||||
/* Motion Transform */
|
||||
|
||||
static float4 transform_to_quat(const Transform& tfm)
|
||||
float4 transform_to_quat(const Transform& tfm)
|
||||
{
|
||||
double trace = tfm[0][0] + tfm[1][1] + tfm[2][2];
|
||||
float4 qt;
|
||||
|
|
|
|||
|
|
@ -454,6 +454,7 @@ __device_inline bool operator==(const MotionTransform& A, const MotionTransform&
|
|||
return (A.pre == B.pre && A.post == B.post);
|
||||
}
|
||||
|
||||
float4 transform_to_quat(const Transform& tfm);
|
||||
void transform_motion_decompose(DecompMotionTransform *decomp, const MotionTransform *motion, const Transform *mid);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue