Cleanup: clang-format

Add ccl_gpu_kernel_postfix as a statement macro to prevent the following
declarations from being indented.
This commit is contained in:
Campbell Barton
2022-04-04 12:25:03 +10:00
parent f6a20fca5e
commit 27fea7a3a5
7 changed files with 11 additions and 9 deletions

View File

@@ -97,7 +97,7 @@ ccl_device_inline float mat22_determinant(const float4 m)
}
/* Inverse of a 2x2 matrix encoded in a row-major order float4 */
ccl_device_inline float mat22_inverse(const float4 m, ccl_private float4& m_inverse)
ccl_device_inline float mat22_inverse(const float4 m, ccl_private float4 &m_inverse)
{
float det = mat22_determinant(m);
if (fabsf(det) < MNEE_MIN_DETERMINANT)