SkillAgentSearch skills...

VulkanSyncGraph

Vulkan debug layer to visualize synchronization dependencies

Install / Use

/learn @azhirnov/VulkanSyncGraph
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Vulkan Sync Graph

Donate<br/>

Suported Platforms

  • Windows 10 (with MSVC 2019)

Building

Generate project with CMake and build.<br/> Required C++17 standard support.

How to use

Explicit layer

Add DWORD value <binary_dir>\VK_LAYER_AZ_sync_analyzer.json into HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\Vulkan\ExplicitLayers.<br/> Add instance layer VK_LAYER_AZ_sync_analyzer when creating instance.<br/> Press F11 to capture some frames.<br/>

Implicit layer

Add DWORD value <binary_dir>\VK_LAYER_AZ_sync_analyzer.json into HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\Vulkan\ImplicitLayers.<br/> Add environment variable ENABLE_VK_LAYER_AZ_sync_analyzer_1 with value 1.<br/> Run vulkan application (game) and press F11 to capture some frames.<br/>

Roadmap

Visualization:

  • [x] Visualize CPU-GPU synchronizations
  • [x] Visualize synchronizations with VkSemaphore
  • [ ] Visualize pipeline barriers
  • [ ] Measure CPU time
  • [ ] Measure GPU time

Examples

Sample<br/> image <br/> Rage 2<br/> image <br/> Wolfenshtain II<br/> image

View on GitHub
GitHub Stars44
CategoryDevelopment
Updated2y ago
Forks1

Languages

C++

Security Score

80/100

Audited on Feb 25, 2024

No findings