Commit graph

34 commits

Author SHA1 Message Date
PancakeTAS
034c431d76
chore: update clang-tidy warnings 2025-12-31 10:57:26 +01:00
PancakeTAS
58c494b473
fix: layer: invert flow scale
Some checks failed
(CI/Flatpak) lsfg-vk / flatpak-extensions (23.08) (push) Has been cancelled
(CI/Flatpak) lsfg-vk / flatpak-extensions (24.08) (push) Has been cancelled
(CI/Flatpak) lsfg-vk / flatpak-extensions (25.08) (push) Has been cancelled
(CI/Flatpak) lsfg-vk / flatpak-ui (push) Has been cancelled
(CI) lsfg-vk / build (push) Has been cancelled
whoops
2025-12-29 05:32:24 +01:00
PancakeTAS
9943153918
fix: layer: support multiple instances
Some checks failed
(CI) lsfg-vk / build (push) Has been cancelled
(CI/Flatpak) lsfg-vk / flatpak-extensions (23.08) (push) Has been cancelled
(CI/Flatpak) lsfg-vk / flatpak-extensions (24.08) (push) Has been cancelled
(CI/Flatpak) lsfg-vk / flatpak-extensions (25.08) (push) Has been cancelled
(CI/Flatpak) lsfg-vk / flatpak-ui (push) Has been cancelled
i- it turns out some games *do* use multiple Vulkan instances
2025-12-26 04:14:41 +01:00
PancakeTAS
94d243bc2d
workaround: leak Vulkan instance & device
Some checks are pending
(CI) lsfg-vk / build (push) Waiting to run
(CI/Flatpak) lsfg-vk / flatpak-extensions (24.08) (push) Waiting to run
(CI/Flatpak) lsfg-vk / flatpak-extensions (25.08) (push) Waiting to run
(CI/Flatpak) lsfg-vk / flatpak-ui (push) Waiting to run
(CI/Flatpak) lsfg-vk / flatpak-extensions (23.08) (push) Waiting to run
comments document why this is needed. closes #59
2025-12-25 22:45:31 +01:00
PancakeTAS
ceff118e8a
fix: change various definitions for x86 support 2025-12-25 21:47:19 +01:00
PancakeTAS
b2928e4ce6
fix: layer: clean up layer info
emplacing a value into an unordered map does not override, so if the swapchain handles were identical (which they are commonly), then it would try to continue with the swapchain images from the old swapchain.

ironically, the swapchain images are also mostly identical. in fact, when using validation layers they are intentionally-unintentionally identical.. so I never caught this bug.

either way, this fixes a bunch of weird behavior:
- swapchain creation failing
- the application hanging on a present
- the infamous "assertion failed!" wine warning
- segmentation faults in the NVIDIA driver
2025-12-25 20:23:22 +01:00
PancakeTAS
b8871441d5 refactor(cleanup): custom cli (including benchmark) & fixup 2025-12-25 04:32:22 +01:00
PancakeTAS
46d5120750 refactor(cleanup): version bump & release workflow 2025-12-25 04:32:22 +01:00
PancakeTAS
78bcb05fce refactor(cleanup): license identifiers 2025-12-25 04:32:22 +01:00
PancakeTAS
b2ce4856bd refactor(cleanup): workflows & flatpaks 2025-12-25 04:32:22 +01:00
PancakeTAS
70dea45251 refactor(cleanup): be nicer on older compilers 2025-12-25 04:32:22 +01:00
PancakeTAS
9e129aaf8d refactor(cleanup): add installation logic to buildscript 2025-12-25 04:32:22 +01:00
PancakeTAS
73a34a0a27 refactor(cleanup): automatically reload configuration 2025-12-25 04:32:22 +01:00
PancakeTAS
51c39c6a1c refactor(cleanup): write configuration serializer 2025-12-25 04:32:22 +01:00
PancakeTAS
2f4b0cc5db refactor(cleanup): make configuration a common objet 2025-12-25 04:32:22 +01:00
PancakeTAS
e7bfccd7c1 refactor(cleanup): rename namespaces and handle errors more robustly 2025-12-25 04:32:22 +01:00
PancakeTAS
1201b416d2 refactor(cleanup): introduce a pipeline cache 2025-12-25 04:32:22 +01:00
PancakeTAS
0e65c9881f refactor(cleanup): reuse command buffers and semaphores 2025-12-25 04:32:22 +01:00
PancakeTAS
40b44bbc7a refactor(cleanup): hide out of date errors 2025-12-25 04:32:22 +01:00
PancakeTAS
a0176718bc refactor(cleanup): prevent wayland wsi early reuse 2025-12-25 04:32:22 +01:00
PancakeTAS
a354150cba refactor(cleanup): fix a memory leak & optimize reuse 2025-12-25 04:32:22 +01:00
PancakeTAS
df6367cf2e refactor(cleanup): dynamically allocate descriptor pool sizes 2025-12-25 04:32:22 +01:00
PancakeTAS
e0fac3e5a9 refactor(cleanup): implement basic/none frame pacing 2025-12-25 04:32:22 +01:00
PancakeTAS
7e936784ab refactor(cleanup): initial swapchain logic & temporary backend creation 2025-12-25 04:32:22 +01:00
PancakeTAS
9ba80142b2 refactor(cleanup): global cleanup 2025-12-25 04:32:22 +01:00
PancakeTAS
883f3d2556 refactor(cleanup): backend initialization logic 2025-12-25 04:32:22 +01:00
PancakeTAS
6bd907516a refactor(cleanup): deinitialization logic 2025-12-25 04:32:22 +01:00
PancakeTAS
6f5f8edbdd refactor(cleanup): support device loader function in backend 2025-12-25 04:32:22 +01:00
PancakeTAS
bf1d8a8a09 refactor(cleanup): pass vulkan instance to layer 2025-12-25 04:32:22 +01:00
PancakeTAS
0b387b2b37 refactor(cleanup): remove global constructors and initialize vk funcs 2025-12-25 04:32:22 +01:00
PancakeTAS
5bc7555744 refactor(cleanup): remove cast function 2025-12-25 04:32:22 +01:00
PancakeTAS
8f2f267e4d refactor(cleanup): fix string lifetimes 2025-12-25 04:32:22 +01:00
PancakeTAS
5fa3ddc8e3 refactor(cleanup): new config system 2025-12-25 04:32:22 +01:00
PancakeTAS
d8888a2caf refactor(cleanup): base of new layer 2025-12-25 04:32:22 +01:00