From faff4af53db6aabe7bd74207fa236ab2d1f4d1ca Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Tue, 26 May 2026 13:10:51 -0500 Subject: [PATCH] feat: Add vulkan-low-latency-layer package (#12650) (#12653) --- anda/games/vulkan-low-latency-layer/anda.hcl | 6 +++ .../vulkan-low-latency-layer/update.rhai | 1 + .../vulkan-low-latency-layer.spec | 45 +++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 anda/games/vulkan-low-latency-layer/anda.hcl create mode 100644 anda/games/vulkan-low-latency-layer/update.rhai create mode 100644 anda/games/vulkan-low-latency-layer/vulkan-low-latency-layer.spec diff --git a/anda/games/vulkan-low-latency-layer/anda.hcl b/anda/games/vulkan-low-latency-layer/anda.hcl new file mode 100644 index 0000000000..aa25923b8a --- /dev/null +++ b/anda/games/vulkan-low-latency-layer/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64", "aarch64"] + rpm { + spec = "vulkan-low-latency-layer.spec" + } +} diff --git a/anda/games/vulkan-low-latency-layer/update.rhai b/anda/games/vulkan-low-latency-layer/update.rhai new file mode 100644 index 0000000000..00ee4c8e1a --- /dev/null +++ b/anda/games/vulkan-low-latency-layer/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("Korthos-Software/low_latency_layer")); diff --git a/anda/games/vulkan-low-latency-layer/vulkan-low-latency-layer.spec b/anda/games/vulkan-low-latency-layer/vulkan-low-latency-layer.spec new file mode 100644 index 0000000000..1f545cf210 --- /dev/null +++ b/anda/games/vulkan-low-latency-layer/vulkan-low-latency-layer.spec @@ -0,0 +1,45 @@ +Name: vulkan-low-latency-layer +Version: 0.1.0 +Release: 1%{?dist} +Summary: Vulkan layer for hardware agnostic input latency reduction +Packager: Kyle Gospodnetich + +License: MIT +URL: https://github.com/Korthos-Software/low_latency_layer +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz + +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: vulkan-headers +BuildRequires: cmake(VulkanUtilityLibraries) +BuildRequires: pkgconfig(vulkan) + +Requires: vulkan-loader + +%description +A Vulkan layer that reduces click-to-photon latency by +implementing both AMD and NVIDIA's latency reduction technologies, +providing hardware-agnostic implementations of the VK_NV_low_latency2 +and VK_AMD_anti_lag device extensions. + +%prep +%autosetup -n low_latency_layer-%{version} + +%conf +%cmake + +%build +%cmake_build + +%install +%cmake_install + +%files +%license LICENSE +%doc README.md +%{_libdir}/libVkLayer_KORTHOS_LowLatency.so +%{_datadir}/vulkan/implicit_layer.d/low_latency_layer.json + +%changelog +* Fri May 22 2026 Kyle Gospodnetich - 0.1.0-1 +- Initial package