diff options
Diffstat (limited to 'intern/cycles/util/math_matrix.h')
-rw-r--r-- | intern/cycles/util/math_matrix.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/util/math_matrix.h b/intern/cycles/util/math_matrix.h index a4318fda6e8..b10d9b3c938 100644 --- a/intern/cycles/util/math_matrix.h +++ b/intern/cycles/util/math_matrix.h @@ -376,7 +376,7 @@ ccl_device void math_matrix_jacobi_eigendecomposition(ccl_private float *A, ccl_device_inline void math_vector_zero_sse(float4 *A, int n) { for (int i = 0; i < n; i++) { - A[i] = make_float4(0.0f); + A[i] = zero_float4(); } } @@ -384,7 +384,7 @@ ccl_device_inline void math_matrix_zero_sse(float4 *A, int n) { for (int row = 0; row < n; row++) { for (int col = 0; col <= row; col++) { - MAT(A, n, row, col) = make_float4(0.0f); + MAT(A, n, row, col) = zero_float4(); } } } |