Merge pull request #95640 from kevinkuo52/debug-overdraw-call-count

Fix draw call count and object count for OverDraw display mode on Forward+
This commit is contained in:
Rémi Verschelde 2024-08-16 23:45:49 +02:00
commit 2af825c0aa
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -1749,7 +1749,7 @@ void RenderForwardClustered::_render_scene(RenderDataRD *p_render_data, const Co
int *render_info = p_render_data->render_info ? p_render_data->render_info->info[RS::VIEWPORT_RENDER_INFO_TYPE_VISIBLE] : (int *)nullptr;
_fill_instance_data(RENDER_LIST_OPAQUE, render_info);
_fill_instance_data(RENDER_LIST_MOTION, render_info);
_fill_instance_data(RENDER_LIST_ALPHA);
_fill_instance_data(RENDER_LIST_ALPHA, render_info);
RD::get_singleton()->draw_command_end_label();