diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-10-07 01:06:27 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-10-07 13:43:10 +0300 |
commit | a945cf4d0fc38f3c84747767612ad1d748ceb2a0 (patch) | |
tree | 72aa5ff66b79168506cb9542d0144d42c10dd1d4 /source/blender/draw/intern/shaders/draw_object_infos_info.hh | |
parent | 223f970407666828922616f1646768433ab7e7a0 (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/draw/intern/shaders/draw_object_infos_info.hh')
-rw-r--r-- | source/blender/draw/intern/shaders/draw_object_infos_info.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/intern/shaders/draw_object_infos_info.hh b/source/blender/draw/intern/shaders/draw_object_infos_info.hh index 31fee018fbc..ad0426e6d3f 100644 --- a/source/blender/draw/intern/shaders/draw_object_infos_info.hh +++ b/source/blender/draw/intern/shaders/draw_object_infos_info.hh @@ -13,11 +13,11 @@ GPU_SHADER_CREATE_INFO(draw_object_infos) GPU_SHADER_CREATE_INFO(draw_volume_infos) .typedef_source("draw_shader_shared.h") - .uniform_buf(2, "VolumeInfos", "drw_volume", Frequency::BATCH); + .uniform_buf(3, "VolumeInfos", "drw_volume", Frequency::BATCH); GPU_SHADER_CREATE_INFO(draw_curves_infos) .typedef_source("draw_shader_shared.h") - .uniform_buf(2, "CurvesInfos", "drw_curves", Frequency::BATCH); + .uniform_buf(3, "CurvesInfos", "drw_curves", Frequency::BATCH); GPU_SHADER_CREATE_INFO(draw_object_infos_new) .typedef_source("draw_shader_shared.h") |