18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-21 13:15:02 +01:00

Draw the recorded instance draws with the variant seed they were recorded with

This commit is contained in:
2026-10-18 18:41:33 +02:00
parent bc4df5567f
commit 2e30366235
5 changed files with 225 additions and 0 deletions

View File

@@ -702,6 +702,8 @@ class opengl46_renderer : public gfx_renderer {
std::optional<gl::query> m_timequery;
GLuint64 m_gllasttime = 0;
// gpu time of the parts of the frame, marks put one after another through the main view (the context of m_window)
gl::gpu_timeline m_gputimeline;
// gpu time of the light cluster compute passes; the debug panel shows it once a pass measures it
gl::gpu_timer m_clusterstimer;
// gpu time of assigning the lights to the clusters, done every frame