diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-10-05 22:54:10 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-10-07 13:43:09 +0300 |
commit | 055680a89e4b37662daf0c397539866a42c6d54a (patch) | |
tree | b0a6f4926f4ba72bbf323c1c4eca5799cc55e045 /source/blender/draw/engines/eevee_next | |
parent | f43c2d9abe0f8b6efca8fa803774a065a6749a88 (diff) |
DRW: Split ViewCullingData out of ViewInfos
This is in order to reduce the size of ViewInfos and support multi view
rendering.
Diffstat (limited to 'source/blender/draw/engines/eevee_next')
-rw-r--r-- | source/blender/draw/engines/eevee_next/shaders/infos/eevee_light_culling_info.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/eevee_next/shaders/infos/eevee_light_culling_info.hh b/source/blender/draw/engines/eevee_next/shaders/infos/eevee_light_culling_info.hh index 41602426a1d..45232a8c551 100644 --- a/source/blender/draw/engines/eevee_next/shaders/infos/eevee_light_culling_info.hh +++ b/source/blender/draw/engines/eevee_next/shaders/infos/eevee_light_culling_info.hh @@ -21,7 +21,7 @@ GPU_SHADER_CREATE_INFO(eevee_light_data) GPU_SHADER_CREATE_INFO(eevee_light_culling_select) .do_static_compilation(true) - .additional_info("eevee_shared", "draw_view") + .additional_info("eevee_shared", "draw_view", "draw_view_culling") .local_group_size(CULLING_SELECT_GROUP_SIZE) .storage_buf(0, Qualifier::READ_WRITE, "LightCullingData", "light_cull_buf") .storage_buf(1, Qualifier::READ, "LightData", "in_light_buf[]") @@ -52,7 +52,7 @@ GPU_SHADER_CREATE_INFO(eevee_light_culling_zbin) GPU_SHADER_CREATE_INFO(eevee_light_culling_tile) .do_static_compilation(true) - .additional_info("eevee_shared", "draw_view") + .additional_info("eevee_shared", "draw_view", "draw_view_culling") .local_group_size(CULLING_TILE_GROUP_SIZE) .storage_buf(0, Qualifier::READ, "LightCullingData", "light_cull_buf") .storage_buf(1, Qualifier::READ, "LightData", "light_buf[]") |