RenderDoc captured reslut show that there are two identical pass when using VTK for visualization tasks and QT for GUI
I was using visualization toolkit to do some fluid visualization tasks and for GUI, I chose QT5. So, the question is when I use RenderDoc to capture one frame to see what's behind the scene, some magical thing happened. Just as the pic shows that there are two identical pass doing the same rendering work. BTW this happens in release mode. And in debug mode, there is only one pass. I just got confused about this. Can someone please explain why? Many thanks!