This repository provides a quick reference and library to performing compute operations using Vulkan in C++.
- Vulkan Compute Pipeline: Demonstrates setting up a compute pipeline with Vulkan.
- Shader Integration: Includes example compute shaders.
- CMake Build System: Utilizes CMake for project configuration and building.
Ensure you have the following installed:
- Vulkan SDK: https://vulkan.lunarg.com/sdk/home
- CMake: https://cmake.org/download/
- A C++ compiler supporting C++11 or later
- Clone the repository:
git clone https://github.com/Mrezadwiprasetiawan/vulkan-minimal-compute-cpp.git
cd vulkan-minimal-compute-cpp- Configure the project with CMake:
cmake .- Build the quick project:
make quick- Build the library
make vkmincompvulkan-minimal-compute-cpp/
├── CMakeLists.txt         # CMake configuration file
├── lib/                   # Vulkan minimal compute library
│   ├── src/               # Source files for the library
│   │   ├── stdEng.cxx     #for complex compute implementation
│   │   └── ...
│   ├── include/           
│   │   ├── vkmincomp.hxx  # Header files for the library
│
├── quick/                 # Quick reference example
│   ├── main.cxx           # Quick compute example
│   └── ...
├── reference/             # Vulkan documentation from Khronos
│   ├── vkspecs.pdf        # Vulkan reference materials
│   └── ...
├── shaders/               # Shader files
│   ├── compute.spv        # Compiled compute shader
│   └── ...
└── README.md              # Project documentationContributions are welcome. Please fork the repository and submit a pull request with your changes.
This project is licensed under the GNU GPL 3.0 License. See the LICENSE file for details.