7#ifndef __UTIL_TYPES_H__
8# error "Do not include this file directly, include util/types.h instead."
13#ifndef __KERNEL_NATIVE_VECTOR_TYPES__
17# ifndef __KERNEL_GPU__
26#if defined(__KERNEL_METAL__)
28#elif defined(__KERNEL_CUDA__) || defined(__KERNEL_ONEAPI__)
39 : x(px), y(py),
z(pz){};
56# ifndef __KERNEL_GPU__
62static_assert(
sizeof(
packed_uint3) == 12,
"packed_uint3 expected to be exactly 12 bytes");
blender::uint3 packed_uint3
SIMD_FORCE_INLINE const btScalar & z() const
Return the z value.
#define ccl_device_inline
#define CCL_NAMESPACE_END
#define ccl_device_inline_method
__forceinline uint operator[](uint i) const
ccl_device_inline_method packed_uint3()
ccl_device_inline_method packed_uint3(const uint3 &a)
ccl_device_inline_method packed_uint3(const uint px, const uint py, const uint pz)
ccl_device_inline_method packed_uint3 & operator=(const uint3 &a)
__forceinline uint operator[](uint i) const
ccl_device_inline uint3 make_uint3(uint x, uint y, uint z)