18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-03 06:35:21 +01:00
Commit Graph

8 Commits

Author SHA1 Message Date
jerrrrycho 88139ce300 fix: the swapchain is destroyed without allocating, not by swallowing what the destructor throws
destroy() let go of everything at once through release_images(), which keeps the present semaphores for later in a vector and so may
allocate. It now destroys the views and the semaphores itself and is noexcept, and the destructor needs no empty catch (Sonar
cpp:S2486 on the PR).
2026-12-01 20:38:43 +01:00
jerrrrycho 7eb73ad9d4 fix: the five bugs SonarQube Cloud reports on staging (reliability E)
- application/driveruipanels.cpp (S3584, blocker): the UART section of the
  debug panel leaked a new char*[] of the port names every frame it was open;
  the names go through a vector now.
- rendering/vulkan14/vulkan14swapchain.cpp (S1048): the destructor called
  destroy(), whose release_images() keeps the presentation semaphores in a
  vector and may throw on allocation; the destructor catches it.
- rendering/vulkan14/vulkan14scene.cpp (S2259): walk_shadow_material()
  dereferenced m_context, which own_shadow_program() just before treats as
  possibly empty; it returns without a context.
- tests/unit/test_door_component.cpp, test_consist_braking.cpp (S2193): the
  float loop counters become while loops summing the same time, so the cases
  take exactly the steps they took before.
2026-11-30 00:29:19 +01:00
Hirek 0ce190eab2 fix: the review of the renderers PR: physics switches off by default, crashes on exit and at start, renderer, shader and editor fixes 2026-11-27 09:15:11 +01:00
Hirek e0f07fde71 fix(render): the Vulkan renderer doesn't hang on exit, draw a minimized window with a NaN projection or quit on a lost surface 2026-11-25 09:34:58 +01:00
Hirek a6bdeeaa2b Add DLSS Frame Generation (gfx.framegeneration x2/x3/x4) and Reflex (gfx.reflex) to the Vulkan renderer 2026-10-25 20:52:12 +01:00
Hirek c48c58776a Vulkan: parity with GL (P1–P7), shared GPU culling records (N6c), threaded command recording and render thread (M1, M4) 2026-10-25 03:06:01 +01:00
Hirek bd589f272d feat(vulkan): vulkan 1.4 core with the user interface and the launcher, shaders split into ogl46/vk14 with SPIR-V binaries loaded first 2026-10-24 05:47:11 +02:00
Hirek 68fa5dc2da feat(vulkan): gfxrenderer picks the opengl 4.6 or the vulkan 1.4 renderer (B1-B3) 2026-10-24 03:06:33 +02:00