engine icon indicating copy to clipboard operation
engine copied to clipboard

Add MultiDrawCommands to _PROFILER

Open AlexAPPi opened this issue 3 months ago • 3 comments

After implementing multidraw support, the profiler started displaying incorrect data. The statistics system needs to be updated to account for multidraw calls and correctly reflect their contribution in rendering metrics.

AlexAPPi avatar Oct 04 '25 00:10 AlexAPPi

Hi @AlexAPPi - what specifically is incorrect?

mvaligursky avatar Oct 06 '25 07:10 mvaligursky

Hi @AlexAPPi - what specifically is incorrect?

Data for the profiler is not calculated correctly. I think it's worth calculating this data at the add/update method stage.

Image

AlexAPPi avatar Oct 06 '25 08:10 AlexAPPi

Agreed, evaluating what is needed in the add and then add it to a global counts when actually submitted makes sense. I wonder if this is correct for just even a simple instancing, I'm not sure about that. Needs a deeper review + testing.

mvaligursky avatar Oct 06 '25 15:10 mvaligursky

This was done on the engine side few days ago, next engine release should bring it to the Editor as well.

mvaligursky avatar Dec 13 '25 12:12 mvaligursky