diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-05 10:47:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 10:47:27 +0100 |
commit | c7bbb3a6218f53acb1f3ab21643ce37d60f1e481 (patch) | |
tree | 822c67480f4d5147fd8262f5d6bcd5fdf1cc9d88 /servers/rendering/renderer_rd | |
parent | 0719deea8a59f2aca29e47fe147c252bb5d004c9 (diff) | |
parent | 133486bfba1cdca0258432405ac9305c5aa2cdf9 (diff) |
Merge pull request #56278 from GanidhuAbey/dof_msaa_bug
Diffstat (limited to 'servers/rendering/renderer_rd')
-rw-r--r-- | servers/rendering/renderer_rd/forward_clustered/render_forward_clustered.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering/renderer_rd/forward_clustered/render_forward_clustered.cpp b/servers/rendering/renderer_rd/forward_clustered/render_forward_clustered.cpp index 6bab3f4f1a..f5d6f7c3d0 100644 --- a/servers/rendering/renderer_rd/forward_clustered/render_forward_clustered.cpp +++ b/servers/rendering/renderer_rd/forward_clustered/render_forward_clustered.cpp @@ -1606,6 +1606,7 @@ void RenderForwardClustered::_render_scene(RenderDataRD *p_render_data, const Co if (render_buffer && render_buffer->msaa != RS::VIEWPORT_MSAA_DISABLED) { RD::get_singleton()->texture_resolve_multisample(render_buffer->color_msaa, render_buffer->color); + storage->get_effects()->resolve_depth(render_buffer->depth_msaa, render_buffer->depth, Vector2i(render_buffer->width, render_buffer->height), texture_multisamples[render_buffer->msaa]); } RD::get_singleton()->draw_command_end_label(); |