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>2020-07-28 21:04:15 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-07-29 16:03:02 +0300
commite4ee9de63899e2da58cdfdd9cbf2ac5bb2e3755a (patch)
treef9286b70d576a5435c8fcd566dcacdbb002dee3d /source/blender/gpu/CMakeLists.txt
parent18d2db22ff12ca0fbe04ee94737176a2908127e7 (diff)
GPU: Move gpu_shader.c to C++
We split builtin shader support to its own file to avoid converting code (lack of designated initializer in C++) and to reduce file size.
Diffstat (limited to 'source/blender/gpu/CMakeLists.txt')
-rw-r--r--source/blender/gpu/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/CMakeLists.txt b/source/blender/gpu/CMakeLists.txt
index de57bc012e0..925c873181f 100644
--- a/source/blender/gpu/CMakeLists.txt
+++ b/source/blender/gpu/CMakeLists.txt
@@ -75,7 +75,8 @@ set(SRC
intern/gpu_select.c
intern/gpu_select_pick.c
intern/gpu_select_sample_query.c
- intern/gpu_shader.c
+ intern/gpu_shader.cc
+ intern/gpu_shader_builtin.c
intern/gpu_shader_interface.c
intern/gpu_state.cc
intern/gpu_texture.cc