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/draw_shader_shared.h | |
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/draw_shader_shared.h')
-rw-r--r-- | source/blender/draw/intern/draw_shader_shared.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/draw/intern/draw_shader_shared.h b/source/blender/draw/intern/draw_shader_shared.h index c0c717d910d..3a5c5db8da3 100644 --- a/source/blender/draw/intern/draw_shader_shared.h +++ b/source/blender/draw/intern/draw_shader_shared.h @@ -67,8 +67,6 @@ struct ViewInfos { float4x4 winmat; float4x4 wininv; - float4 clip_planes[6]; - float2 viewport_size; float2 viewport_size_inverse; @@ -89,7 +87,6 @@ BLI_STATIC_ASSERT_ALIGN(ViewInfos, 16) # define ViewMatrixInverse drw_view.viewinv # define ProjectionMatrix drw_view.winmat # define ProjectionMatrixInverse drw_view.wininv -# define clipPlanes drw_view.clip_planes #endif /** \} */ |