Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.07 KB

File metadata and controls

35 lines (22 loc) · 1.07 KB

Hello Triangle Vulkan Tutorial

Just me learning how to use Vulkan. I'm using this wonderful Vulkan tutorial.

It took about 1200 LoC, but I can finally draw a single triangle on screen.

A triangle

How to build

Make sure the Vulkan SDK is installed, along with GLFW and GLM. Then, run make to generate the executable. Run make clean to remove all generated files.

How to run

Linux instructions

Run make test. If you have an NVIDIA card with PRIME Render Offload enabled, run make test offload=yes.

Bugs

  • Running the program makes my computer screen flicker every couple of seconds. As it turns out, this has something to do with the GPU the program is running on. Using my NVIDIA card produces no issues.