mirror of
https://github.com/PancakeTAS/lsfg-vk.git
synced 2025-10-30 07:01:10 +00:00
Compare commits
3 commits
c4c8024f6f
...
b5ff2febed
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b5ff2febed | ||
|
|
62f814999f | ||
|
|
4c4452c9e5 |
5 changed files with 38 additions and 3 deletions
2
.github/workflows/flatpak.yml
vendored
2
.github/workflows/flatpak.yml
vendored
|
|
@ -9,7 +9,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
version: ["23.08", "24.08"]
|
||||
version: ["23.08", "24.08", "25.08"]
|
||||
container:
|
||||
image: ghcr.io/flathub-infra/flatpak-github-actions:freedesktop-${{ matrix.version }}
|
||||
options: --privileged
|
||||
|
|
|
|||
2
.github/workflows/flatpak_ci.yml
vendored
2
.github/workflows/flatpak_ci.yml
vendored
|
|
@ -9,7 +9,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
version: ["23.08", "24.08"]
|
||||
version: ["23.08", "24.08", "25.08"]
|
||||
container:
|
||||
image: ghcr.io/flathub-infra/flatpak-github-actions:freedesktop-${{ matrix.version }}
|
||||
options: --privileged
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ command: lsfg-vk-ui
|
|||
default-branch: develop
|
||||
|
||||
runtime: org.gnome.Platform
|
||||
runtime-version: '48'
|
||||
runtime-version: '49'
|
||||
sdk: org.gnome.Sdk
|
||||
|
||||
finish-args:
|
||||
|
|
|
|||
|
|
@ -0,0 +1,30 @@
|
|||
id: org.freedesktop.Platform.VulkanLayer.lsfgvk
|
||||
default-branch: develop
|
||||
|
||||
runtime: org.freedesktop.Platform
|
||||
runtime-version: '25.08'
|
||||
sdk: org.freedesktop.Sdk
|
||||
branch: '25.08'
|
||||
build-extension: true
|
||||
|
||||
sdk-extensions:
|
||||
- org.freedesktop.Sdk.Extension.llvm21
|
||||
|
||||
build-options:
|
||||
prefix: /usr/lib/extensions/vulkan/lsfgvk
|
||||
append-path: /usr/lib/sdk/llvm21/bin
|
||||
prepend-ld-library-path: /usr/lib/sdk/llvm21/lib
|
||||
|
||||
modules:
|
||||
- name: lsfg-vk
|
||||
buildsystem: cmake-ninja
|
||||
config-opts:
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
- -DCMAKE_C_COMPILER=clang
|
||||
- -DCMAKE_CXX_COMPILER=clang++
|
||||
- -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=On
|
||||
sources:
|
||||
- type: dir
|
||||
path: ..
|
||||
- type: patch
|
||||
path: VkLayer_LS_frame_generation.patch
|
||||
|
|
@ -26,6 +26,11 @@ using namespace Config;
|
|||
GlobalConfiguration Config::globalConf{};
|
||||
std::optional<GameConfiguration> Config::currentConf{};
|
||||
|
||||
extern "C" __attribute__((visibility("default")))
|
||||
void lsfg_get_active_conf(Configuration *cfg) {
|
||||
*cfg = Config::activeConf;
|
||||
}
|
||||
|
||||
namespace {
|
||||
/// Turn a string into a VkPresentModeKHR enum value.
|
||||
VkPresentModeKHR into_present(const std::string& mode) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue