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 <Margen67@users.noreply.github.com>

* Update .github/workflows/rpcsx.yml

Co-authored-by: Margen67 <Margen67@users.noreply.github.com>

* Update .github/workflows/rpcsx.yml

Co-authored-by: Margen67 <Margen67@users.noreply.github.com>

* Update .github/workflows/rpcsx.yml

Co-authored-by: Margen67 <Margen67@users.noreply.github.com>

* Fix a bad suggestion

* random thing

---------

Co-authored-by: Margen67 <Margen67@users.noreply.github.com>
This commit is contained in:
RyzenDew 2023-07-25 16:33:36 -03:00 committed by GitHub
parent 483e5d9831
commit ff263057bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

0
.clang-format Normal file
View File

View File

@ -28,6 +28,14 @@ jobs:
libglfw3-dev libvulkan-dev vulkan-validationlayers-dev \ libglfw3-dev libvulkan-dev vulkan-validationlayers-dev \
spirv-tools glslang-tools libspirv-cross-c-shared-dev \ spirv-tools glslang-tools libspirv-cross-c-shared-dev \
libxbyak-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 - name: Build RPCSX
run: | run: |

View File

@ -7,6 +7,7 @@
#include <cstdio> #include <cstdio>
#include <fcntl.h> #include <fcntl.h>
#include <filesystem> #include <filesystem>
#include <span>
#include <sys/mman.h> #include <sys/mman.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <thread> #include <thread>
@ -14,7 +15,6 @@
#include <util/VerifyVulkan.hpp> #include <util/VerifyVulkan.hpp>
#include <vulkan/vulkan.h> #include <vulkan/vulkan.h>
#include <vulkan/vulkan_core.h> #include <vulkan/vulkan_core.h>
#include <span>
#include <GLFW/glfw3.h> // TODO: make in optional #include <GLFW/glfw3.h> // TODO: make in optional