Skip to content

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

Notifications You must be signed in to change notification settings

arjunr00/vulkan-hellotriangle-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published