Merge pull request #56278 from GanidhuAbey/dof_msaa_bug

This commit is contained in:
Rémi Verschelde 2022-01-05 10:47:27 +01:00 committed by GitHub
commit c7bbb3a621
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();