From fa7a6d67a8084d6c26084d811ec959595aa92fdf Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 17 Nov 2021 18:46:21 +0100 Subject: Fix Cycles CUDA/HIP compiler error after recent changes --- intern/cycles/util/types_float3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/cycles/util') diff --git a/intern/cycles/util/types_float3.h b/intern/cycles/util/types_float3.h index fc0f35fa87f..cafcfebf526 100644 --- a/intern/cycles/util/types_float3.h +++ b/intern/cycles/util/types_float3.h @@ -88,7 +88,7 @@ struct packed_float3 { }; #endif -static_assert(sizeof(packed_float3) == 12); +static_assert(sizeof(packed_float3) == 12, "packed_float3 expected to be exactly 12 bytes"); CCL_NAMESPACE_END -- cgit v1.2.3