Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2022-10-05 22:54:10 +0300
committerClément Foucault <foucault.clem@gmail.com>2022-10-07 13:43:09 +0300
commit055680a89e4b37662daf0c397539866a42c6d54a (patch)
treeb0a6f4926f4ba72bbf323c1c4eca5799cc55e045 /source/blender/draw/intern/draw_defines.h
parentf43c2d9abe0f8b6efca8fa803774a065a6749a88 (diff)
DRW: Split ViewCullingData out of ViewInfos
This is in order to reduce the size of ViewInfos and support multi view rendering.
Diffstat (limited to 'source/blender/draw/intern/draw_defines.h')
-rw-r--r--source/blender/draw/intern/draw_defines.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_defines.h b/source/blender/draw/intern/draw_defines.h
index 3df7e47cffb..2a50cc6f17b 100644
--- a/source/blender/draw/intern/draw_defines.h
+++ b/source/blender/draw/intern/draw_defines.h
@@ -12,6 +12,7 @@
#pragma once
#define DRW_VIEW_UBO_SLOT 0
+#define DRW_VIEW_CULLING_UBO_SLOT 1
#define DRW_RESOURCE_ID_SLOT 11
#define DRW_OBJ_MAT_SLOT 10