diff options
Diffstat (limited to 'c2.cpp')
-rw-r--r-- | c2.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -273,9 +273,13 @@ extern "C" int entrypoint() { camera.asp = (float)bb.w / (float)bb.h; scene.update(camera, dev); ctx.debug_push("scene"); + ctx.debug_push("depth prepass"); scene.render(dev, &frame_arena, depth_prepass, clamped_linear); + ctx.debug_pop(); + ctx.debug_push("forward"); scene.render(dev, &frame_arena, pass2, clamped_linear); ctx.debug_pop(); + ctx.debug_pop(); ctx.debug_push("ui"); ui->render(&frame_arena, dev->get_backbuffer()); |