Skip to content

Quick reference and library for performing minimal computations with Vulkan in C++.

License

Notifications You must be signed in to change notification settings

Mrezadwiprasetiawan/vulkan-minimal-compute-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vulkan Minimal Compute C++

This repository provides a quick reference and library to performing compute operations using Vulkan in C++.

Features

  • 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.

Prerequisites

Ensure you have the following installed:

Installation

  1. Clone the repository:
git clone https://github.com/Mrezadwiprasetiawan/vulkan-minimal-compute-cpp.git
cd vulkan-minimal-compute-cpp
  1. Configure the project with CMake:
cmake .

Usage

  1. Build the quick project:
make quick
  1. Build the library
make vkmincomp

Directory Structure

vulkan-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 documentation

Contributing

Contributions are welcome. Please fork the repository and submit a pull request with your changes.

License

This project is licensed under the GNU GPL 3.0 License. See the LICENSE file for details.

About

Quick reference and library for performing minimal computations with Vulkan in C++.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published