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>2021-06-19 19:04:44 +0300
committerClément Foucault <foucault.clem@gmail.com>2021-06-20 02:28:30 +0300
commit209ab8c42497650d6b2f7679a7f411c16f17c8b1 (patch)
tree24d5c0f1206ed751409e3e261480bd2f63fe4221 /source/blender/draw/CMakeLists.txt
parent94f813db703dedae4c8cf60d80d2c28a4d55bfc3 (diff)
EEVEE: Cleanup: Replace lighting evaluation macro by functions
The functions need to be declared before main as prototypes. The appended libs will use the resources (textures, UBOs) defined at global scope. This removes a bit of code duplication and some long macros.
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 ee849c75294..f2d24b85526 100644
--- a/source/blender/draw/CMakeLists.txt
+++ b/source/blender/draw/CMakeLists.txt
@@ -239,6 +239,7 @@ data_to_c_simple(engines/eevee/shaders/eevee_film_resolve_frag.glsl SRC)
data_to_c_simple(engines/eevee/shaders/eevee_gbuffer_lib.glsl SRC)
data_to_c_simple(engines/eevee/shaders/eevee_irradiance_lib.glsl SRC)
data_to_c_simple(engines/eevee/shaders/eevee_light_lib.glsl SRC)
+data_to_c_simple(engines/eevee/shaders/eevee_light_eval_lib.glsl SRC)
data_to_c_simple(engines/eevee/shaders/eevee_lightprobe_display_cubemap_frag.glsl SRC)
data_to_c_simple(engines/eevee/shaders/eevee_lightprobe_display_cubemap_vert.glsl SRC)
data_to_c_simple(engines/eevee/shaders/eevee_lightprobe_display_grid_frag.glsl SRC)