37# define BLI_STATIC_ASSERT(cond, msg)
38# define BLI_STATIC_ASSERT_ALIGN(type_, align_)
39# define BLI_STATIC_ASSERT_SIZE(type_, size_)
40# define ENUM_OPERATORS(a)
41# define UNUSED_VARS(a) (void)a
54#elif defined(GPU_SHADER)
58# define BLI_STATIC_ASSERT(cond, msg)
59# define BLI_STATIC_ASSERT_ALIGN(type_, align_)
60# define BLI_STATIC_ASSERT_SIZE(type_, size_)
61# define ENUM_OPERATORS(a)
62# define UNUSED_VARS(a)
131 return *
reinterpret_cast<const T *
>(
this);
136 return *
reinterpret_cast<T *
>(
this);
VecBase< uint32_t, 2 > uint2
VecBase< int32_t, 4 > int4
VecBase< uint32_t, 4 > uint4
MatBase< float, 2, 2 > float2x2
VecBase< uint32_t, 3 > uint3
MatBase< float, 4, 4 > float4x4
MatBase< float, 2, 4 > float2x4
MatBase< float, 3, 4 > float3x4
VecBase< float, 4 > float4
VecBase< int32_t, 2 > int2
VecBase< float, 2 > float2
VecBase< int32_t, 3 > int3
MatBase< float, 4, 2 > float4x2
VecBase< float, 3 > float3
const T & operator()() const