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-07 01:06:27 +0300
committerClément Foucault <foucault.clem@gmail.com>2022-10-07 13:43:10 +0300
commita945cf4d0fc38f3c84747767612ad1d748ceb2a0 (patch)
tree72aa5ff66b79168506cb9542d0144d42c10dd1d4 /source/blender/gpu/intern/gpu_shader_interface.hh
parent223f970407666828922616f1646768433ab7e7a0 (diff)
DRW: Move clipping planes to their own UBO
This is part of the effor to simplify the View struct in order to implement multiview rendering.
Diffstat (limited to 'source/blender/gpu/intern/gpu_shader_interface.hh')
-rw-r--r--source/blender/gpu/intern/gpu_shader_interface.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_interface.hh b/source/blender/gpu/intern/gpu_shader_interface.hh
index 41e06569bdc..d223daa4a61 100644
--- a/source/blender/gpu/intern/gpu_shader_interface.hh
+++ b/source/blender/gpu/intern/gpu_shader_interface.hh
@@ -228,6 +228,8 @@ inline const char *ShaderInterface::builtin_uniform_block_name(GPUUniformBlockBu
return "drw_matrices";
case GPU_UNIFORM_BLOCK_DRW_INFOS:
return "drw_infos";
+ case GPU_UNIFORM_BLOCK_DRW_CLIPPING:
+ return "drw_clipping";
default:
return nullptr;
}