From aef45cf03442dfd999293e33d9c9f473ecf58f83 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Mon, 25 May 2026 22:50:47 +0100 Subject: [PATCH] INITIAL COMMIT --- .gitignore | 3 +++ README.md | 3 +++ build | 6 ++++++ 3 files changed, 12 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100755 build diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..87bbe57 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.cache +main +compile_commands.json diff --git a/README.md b/README.md new file mode 100644 index 0000000..c63ab2f --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# How To Vulkan + +Basic Vulkan application using modern Vulkan features. Based on [Sascha Willems](https://www.saschawillems.de/)'s [How To Vulkan in 2026](https://www.howtovulkan.com/). diff --git a/build b/build new file mode 100755 index 0000000..55dcc43 --- /dev/null +++ b/build @@ -0,0 +1,6 @@ +#!/bin/bash + +bear -- clang++ -g -c -Wno-nullability-completeness -DVK_NO_PROTOTYPES -I$VULKAN_SDK/include vulkan_profiles/vulkan_profiles.cpp main.cpp +bear -a -- clang -g -c -DVK_NO_PROTOTYPES -Ivulkan_profiles -I$VULKAN_SDK/include $VULKAN_SDK/include/volk/volk.c wapp/wapp.c +bear -a -- clang++ -g -DVK_NO_PROTOTYPES -lSDL3 -lglm -o main *.o +rm *.o