Cleanup: in Cycles force inline transform_inverse_impl

We expect this to always happen.

Ref T100891
This commit is contained in:
Brecht Van Lommel 2022-10-03 17:48:03 +02:00
parent 2f7234d3e1
commit d20be55c1a
Notes: blender-bot 2023-02-14 03:03:03 +01:00
Referenced by issue #100891, blender3.3 HIP performance down 30% on Windows
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ ccl_device_forceinline float transform_inverse_dot(const float3 a, const float3
return dot(a, b);
}
ccl_device_inline Transform transform_inverse_impl(const Transform tfm)
ccl_device_forceinline Transform transform_inverse_impl(const Transform tfm)
{
/* This implementation matches the one in Embree exactly, to ensure consistent
* results with the ray intersection of instances. */