Add MultiDrawCommands to _PROFILER
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.
Hi @AlexAPPi - what specifically is incorrect?
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.
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.
This was done on the engine side few days ago, next engine release should bring it to the Editor as well.