Skip to content

Minimal program for macOS using the Vulkan API, because there were none on the internet

Notifications You must be signed in to change notification settings

HenrykHaniewicz/Vulkan-macOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vulkan-macOS

Minimal program for macOS using the Vulkan API, because there were none on the internet.

Provides the same output as the first section of the Vulkan Tutorial (drawing a triangle), but with validation flags (such as VK_KHR_get_physical_device_properties2, etc) set up for macOS.

Build and run instructions:

./build.sh
./triangle

This build script assumes you have the Vulkan API, GLFW and GLEW all correctly linked.

If you need to recompile the shaders for some reason (and assuming you have glslc installed):

cd shaders
./compile_shaders.sh

You may need to make the shell scripts executable. If so, use the commands:

chmod 755 build.sh
chmod 755 shaders/compile_shaders.sh

About

Minimal program for macOS using the Vulkan API, because there were none on the internet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published