arjunr00 / vulkan-hellotriangle-tutorial

Just me following the tutorial at vulkan-tutorial.com to learn Vulkan.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Just me following the tutorial at vulkan-tutorial.com to learn Vulkan.


Languages

Language:C++ 96.6%Language:Makefile 2.2%Language:GLSL 1.2%