35# define BLI_STATIC_ASSERT(cond, msg)
36# define BLI_STATIC_ASSERT_ALIGN(type_, align_)
37# define BLI_STATIC_ASSERT_SIZE(type_, size_)
38# define ENUM_OPERATORS(a, b)
39# define UNUSED_VARS(a) (void)a
52#elif defined(GPU_SHADER)
54# define BLI_STATIC_ASSERT(cond, msg)
55# define BLI_STATIC_ASSERT_ALIGN(type_, align_)
56# define BLI_STATIC_ASSERT_SIZE(type_, size_)
57# define ATTR_FALLTHROUGH
58# define ENUM_OPERATORS(a, b)
59# define UNUSED_VARS(a)
117# if defined(GPU_VERTEX_SHADER)
118# define GPU_THREAD uint3(gl_VertexID, gl_InstanceID, 0)
119# elif defined(GPU_FRAGMENT_SHADER)
120# define GPU_THREAD uint3(gl_FragCoord.x, gl_FragCoord.y, 0)
121# elif defined(GPU_COMPUTE_SHADER)
122# define GPU_THREAD gl_GlobalInvocationID
124# define GPU_THREAD error_not_in_a_shader_question_mark
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