SRP batching - confirming it's working with the frame debugger

I’m trying to understand the SRP batcher and make sure it’s working as intended.

I created a simple scene:

  • One shader (SRP Batcher compatible)
  • Three materials each with a different texture/color
  • Four objects (one sphere per material + one cube with the first material)

Now I check the frame debugger:


From my understanding this is:

  • One batch
  • Four draw calls

The frame debugger only shows the texture/values from one of the draw calls though. I assume this is just a limitation of the frame debugger and everything is working fine?

Is it also safe to assume the stats window is completely wrong when it comes to SRP batching?

1 Like

Hey hey!
This is unfortunately a current limitation of the Frame Debugger.
I investigated this task and should be very doable to display each node inside a SRP batch.
However, I can’t promise when this will be added, but it’s definitely on the backlog.

But things do appear to be looking correct, things are batching well.
Can’t say much about the stats window as I don’t know the details well there.

1 Like

Hey Elvar_Om,

Thank you for confirming, that’s great!

+1
I also hope that the limitation will be removed in future update!