My code for learning Vulkan.
Find a file
2025-12-14 23:37:00 -05:00
scripts Working ... uh sort of .. on Windows now to try on Linux. 2025-11-30 12:05:46 -05:00
vendor Bring in SCC to keep track of how much code this is. 2025-12-14 10:39:30 -05:00
wraps Initial commit with the chapter-0 code working. 2025-11-24 10:50:50 -05:00
.gitignore Initial commit with the chapter-0 code working. 2025-11-24 10:50:50 -05:00
.vimrc_proj Initial commit with the chapter-0 code working. 2025-11-24 10:50:50 -05:00
colored_triangle.frag Got the triangle working! It only took 10 hours. 2025-12-14 10:19:24 -05:00
colored_triangle.frag.spv Got the triangle working! It only took 10 hours. 2025-12-14 10:19:24 -05:00
colored_triangle.vert Got the triangle working! It only took 10 hours. 2025-12-14 10:19:24 -05:00
colored_triangle.vert.spv Got the triangle working! It only took 10 hours. 2025-12-14 10:19:24 -05:00
colored_triangle_mesh.vert [BREAKING] This crashes on Linux, and looks like it's crashing wayland? Testing on Windows. 2025-12-14 13:28:49 -05:00
colored_triangle_mesh.vert.spv [BREAKING] This crashes on Linux, and looks like it's crashing wayland? Testing on Windows. 2025-12-14 13:28:49 -05:00
gradient.comp Latest chapter from vkguide but doesn't work yet. 2025-11-28 14:11:28 -05:00
gradient.comp.spv Latest chapter from vkguide but doesn't work yet. 2025-11-28 14:11:28 -05:00
gradient_color.comp Next part of the tutorial where we have a couple compute shaders controlled by ImGUI. 2025-12-02 13:14:48 -05:00
gradient_color.comp.spv Next part of the tutorial where we have a couple compute shaders controlled by ImGUI. 2025-12-02 13:14:48 -05:00
main.cpp Working ... uh sort of .. on Windows now to try on Linux. 2025-11-30 12:05:46 -05:00
Makefile [BREAKING] This crashes on Linux, and looks like it's crashing wayland? Testing on Windows. 2025-12-14 13:28:49 -05:00
meson.build Pulled the gui out into VkGUI to separate it out. 2025-12-08 00:58:09 -05:00
README.md It was a single line that didn't set the image to 2D. Because the struct is default initialized to 0, this options being 0 means it's a 1D not 2D. 2025-12-01 11:13:49 -05:00
sky.comp Next part of the tutorial where we have a couple compute shaders controlled by ImGUI. 2025-12-02 13:14:48 -05:00
sky.comp.spv Next part of the tutorial where we have a couple compute shaders controlled by ImGUI. 2025-12-02 13:14:48 -05:00
vk_descriptors.cpp A bit more refactoring to expose the begin/end transactional nature. 2025-12-10 12:58:55 -05:00
vk_descriptors.h Latest chapter from vkguide but doesn't work yet. 2025-11-28 14:11:28 -05:00
vk_engine.cpp Fixed by initializing the data. 2025-12-14 23:37:00 -05:00
vk_engine.h [BREAKING] This crashes on Linux, and looks like it's crashing wayland? Testing on Windows. 2025-12-14 13:28:49 -05:00
vk_gui.cpp Pulled the gui out into VkGUI to separate it out. 2025-12-08 00:58:09 -05:00
vk_gui.h Pulled the gui out into VkGUI to separate it out. 2025-12-08 00:58:09 -05:00
vk_images.cpp Big cleanup to utilize C++20 designated initializers https://en.cppreference.com/w/cpp/language/aggregate_initialization.html#Designated_initializers 2025-12-07 23:26:21 -05:00
vk_images.h Updated to the next chapter of vkguide https://vkguide.dev/docs/new_chapter_2/vulkan_shader_drawing/ 2025-11-25 13:45:08 -05:00
vk_initializers.cpp Got the triangle working! It only took 10 hours. 2025-12-14 10:19:24 -05:00
vk_initializers.h Got the triangle working! It only took 10 hours. 2025-12-14 10:19:24 -05:00
vk_pipelines.cpp Got the triangle working! It only took 10 hours. 2025-12-14 10:19:24 -05:00
vk_pipelines.h Got the triangle working! It only took 10 hours. 2025-12-14 10:19:24 -05:00
vk_types.h [BREAKING] This crashes on Linux, and looks like it's crashing wayland? Testing on Windows. 2025-12-14 13:28:49 -05:00

Notes

Currently running list of notes I need to remember for the README later:

Windows

  • Currently can't get validation layers to work
  • Running vulkaninfoSDK.exe gives you information about the GPU but no libraries.

Linux

  • Need the vulkan-validationlayers
  • Might also need vulkan-utility-libraries-dev
  • vulkaninfo
  • export VK_LAYER_PATH=/usr/share/vulkan/explicit_layer.d