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:
authorOmar Emara <mail@OmarEmara.dev>2022-01-03 23:40:34 +0300
committerOmar Emara <mail@OmarEmara.dev>2022-01-06 19:19:12 +0300
commit65272b80e4d9bbea62031e319726bf8405f80b51 (patch)
tree75c07486372c6a82de9ca30e12b0e72e55a42bea /source/blender/draw/CMakeLists.txt
parent25b95e277f24f087d76bcf405f98341aee4c306d (diff)
Viewport Compositor: Add a UBO for the compositor
This patch adds a new dedicated UBO for compositor shaders. The FrameNumber UBO member was moved to the new UBO. Additionally, the OCIO luminance coefficients were added to the UBO for utilization by various compositor operations.
Diffstat (limited to 'source/blender/draw/CMakeLists.txt')
-rw-r--r--source/blender/draw/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/CMakeLists.txt b/source/blender/draw/CMakeLists.txt
index 1121a747847..b64022d54a9 100644
--- a/source/blender/draw/CMakeLists.txt
+++ b/source/blender/draw/CMakeLists.txt
@@ -240,6 +240,7 @@ set(LIB
)
data_to_c_simple(engines/compositor/shaders/compositor_frag.glsl SRC)
+data_to_c_simple(engines/compositor/shaders/compositor_lib.glsl SRC)
data_to_c_simple(engines/compositor/shaders/compositor_nodetree_eval_lib.glsl SRC)
data_to_c_simple(engines/eevee/shaders/eevee_bsdf_lib.glsl SRC)