Awesome
FrameGraph
FrameGraph simplifies prototyping on Vulkan and can be used as a base layer for the graphics engine. FrameGraph designed for maximum performance but not at the expense of usability. API developed as simple as possible, it hides all synchronizations, memory allocations and all this boilerplate code that is needed to get Vulkan work. Builtin validations together with Vulkan validation layers allow you to quickly find and fix errors.
Features
- multithreaded command buffer building and submission.
- simple API, hides memory allocation, host<->device transfers, synchronizations.
- shader debugging and profiling.
- supports RTX extensions.
- supports async compute and async transfer queues.
- all render tasks are stateless.
Used vulkan features and extensions:
- push constants
- dynamic buffer offset
- specialization constants
- VK_EXT_debug_utils
- VK_KHR_dedicated_allocation
- VK_KHR_sampler_mirror_clamp_to_edge
- VK_EXT_descriptor_indexing
- VK_NV_mesh_shader
- VK_NV_shading_rate_image
- VK_NV_ray_tracing
- VK_KHR_shader_clock
Samples
Documentation
- Introduction
- Multithreading
- Performance
- Ray tracing
- Porting from OpenGL
- Porting from Vulkan
- Extensions overview
- Shader debugging and profiling
- Graph visualization
Suported Platforms
- Windows (with MSVC 2017, 2019)
- Linux (with GCC 8.2, Clang 9)
- Android (Clang)
Building
Generate project with CMake and build.<br/> Required C++17 standard support and CMake 3.10.<br/> Reequired internet connection to download external dependencies.<br/>
Dependencies:<br/> Vulkan-headers or Vulkan SDK - required.<br/> VulkanMemoryAllocator - required.<br/> glfw or SDL2 - required for framework and some tests.<br/> glslang - required for glsl compiler.<br/> SPIRV-Tools, SPIRV-Headers and Python 3.7 - (optional) for spirv optimization.<br/> GLSL-Trace - (optional) for shader debugging.<br/> lodepng - (optional) for screenshots.<br/> graphviz - (optional) for graph visualization.<br/> Assimp - (optional) for Scene extension.<br/> DevIL - (optional) for Scene extension.<br/> imgui - (optional) for UI extension.<br/> OpenVR - (optional) for VR support.<br/> GLM - (optional) for Scene extension.<br/> ffmpeg - (optional) for video recording.<br/>
References
- FrameGraph in Frostbite.<br/>
- Handles vs pointers<br/>
- Porting engine to vulkan.<br/>
- FrameGraph from Ubisoft<br/>
- RenderGraph from EA<br/>