From ff263057bd03c82b9775a7198e27b673eb1154aa Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Tue, 25 Jul 2023 16:33:36 -0300 Subject: [PATCH] Bump vk headers (#30) * Update rpcsx.yml * Update rpcsx.yml * Update rpcsx.yml * Fixing clang format ? hope this works * Update .github/workflows/rpcsx.yml Co-authored-by: Margen67 * Update .github/workflows/rpcsx.yml Co-authored-by: Margen67 * Update .github/workflows/rpcsx.yml Co-authored-by: Margen67 * Update .github/workflows/rpcsx.yml Co-authored-by: Margen67 * Fix a bad suggestion * random thing --------- Co-authored-by: Margen67 --- .clang-format | 0 .github/workflows/rpcsx.yml | 8 ++++++++ rpcsx-gpu/main.cpp | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..e69de29 diff --git a/.github/workflows/rpcsx.yml b/.github/workflows/rpcsx.yml index d349623..da36929 100644 --- a/.github/workflows/rpcsx.yml +++ b/.github/workflows/rpcsx.yml @@ -28,6 +28,14 @@ jobs: libglfw3-dev libvulkan-dev vulkan-validationlayers-dev \ spirv-tools glslang-tools libspirv-cross-c-shared-dev \ libxbyak-dev + VULKANVER=1.3.259 + curl -sSfLo Vulkan-Headers.tar.gz https://github.com/KhronosGroup/Vulkan-Headers/archive/v${VULKANVER}.tar.gz + tar -xf Vulkan-Headers*.tar.gz + cd Vulkan-Headers*/ + mkdir build && cd build + cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr + make -j$(nproc) + sudo make install - name: Build RPCSX run: | diff --git a/rpcsx-gpu/main.cpp b/rpcsx-gpu/main.cpp index 63db6c6..3214ea6 100644 --- a/rpcsx-gpu/main.cpp +++ b/rpcsx-gpu/main.cpp @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -14,7 +15,6 @@ #include #include #include -#include #include // TODO: make in optional