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-03-19 23:59:29 +0300
committerClément Foucault <foucault.clem@gmail.com>2022-03-20 00:05:34 +0300
commiteccb0b222e3465baa71430223c5ee2f0206a7b02 (patch)
tree1b8888acea69d78466a2a727aac93b3fb1ea2e8f /source/blender/draw/CMakeLists.txt
parent36b02c3815af8f76aa9d7ce017fd00b66e8b1965 (diff)
GPencil: Port main object shader to ShaderCreateInfo
This is quite a huge cleanup. Making use of the `common_gpencil_lib.glsl` to share more codes and use more consistent codestyle. The gpencil engine specifics are now out of the `gpencil_vertex()` function making it easier to add more features. There should be no regression as all workarounds are kept as is.
Diffstat (limited to 'source/blender/draw/CMakeLists.txt')
-rw-r--r--source/blender/draw/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/draw/CMakeLists.txt b/source/blender/draw/CMakeLists.txt
index 994fc923aa4..78c01ce5a23 100644
--- a/source/blender/draw/CMakeLists.txt
+++ b/source/blender/draw/CMakeLists.txt
@@ -364,6 +364,7 @@ set(GLSL_SRC
intern/shaders/common_colormanagement_lib.glsl
intern/shaders/common_globals_lib.glsl
+ intern/shaders/common_gpencil_lib.glsl
intern/shaders/common_pointcloud_lib.glsl
intern/shaders/common_hair_lib.glsl
intern/shaders/common_hair_refine_vert.glsl
@@ -402,6 +403,9 @@ set(GLSL_SRC
engines/gpencil/shaders/gpencil_depth_merge_vert.glsl
engines/gpencil/shaders/gpencil_vfx_frag.glsl
+ engines/gpencil/gpencil_defines.h
+ engines/gpencil/gpencil_shader_shared.h
+
engines/select/shaders/selection_id_3D_vert.glsl
engines/select/shaders/selection_id_frag.glsl