diff options
Diffstat (limited to 'source/blender/gpu/GPU_shader_shared.h')
-rw-r--r-- | source/blender/gpu/GPU_shader_shared.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_shader_shared.h b/source/blender/gpu/GPU_shader_shared.h index 4d277921773..f400e151487 100644 --- a/source/blender/gpu/GPU_shader_shared.h +++ b/source/blender/gpu/GPU_shader_shared.h @@ -80,3 +80,10 @@ struct SimpleLightingData { float _pad; }; BLI_STATIC_ASSERT_ALIGN(struct SimpleLightingData, 16) + +#define MAX_CALLS 16 + +struct MultiRectCallData { + float4 calls_data[MAX_CALLS * 3]; +}; +BLI_STATIC_ASSERT_ALIGN(struct MultiRectCallData, 16) |