render-graph-validator

Validate render graph resource lifetimes, barriers, and external resource usage in Vulkan.

4|Updated Dec 26, 2019
One-click install
npx skills add https://github.com/Mik-pe/Katla --skill render-graph-validator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: render-graph-validator
Source: https://github.com/Mik-pe/Katla/tree/main/.claude/skills/render-graph-validator
Command: npx skills add https://github.com/Mik-pe/Katla --skill render-graph-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Validate the correctness of the render graph implementation, including resource lifetime analysis, pass dependencies, barrier insertion, and handling of ExternalImage/ExternalBuffer usage to support debugging during development.

Core Features & Use Cases

  • Validates resource lifetimes, ensuring resources are not used before creation or after destruction.
  • Verifies pass dependency tracking and barrier correctness with Dynamic Rendering (VK_KHR_dynamic_rendering) and Synchronization2 usage.
  • Checks correct handling of ExternalImage and ExternalBuffer layouts and transitions, including initial/final layouts and current state.
  • Provides guidance for end-to-end validation of the render graph in Katla's Vulkan engine and helps identify common pitfalls.

Quick Start

Use the render-graph-validator to inspect the render graph in your Vulkan-based Katla project and verify lifetimes, barriers, and external-resource usage.

Frequently Asked Questions about render-graph-validator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate render graph resource lifetimes in a Vulkan engine?

Render graph resource lifetime validation checks that resources are not used before creation or after destruction. It inspects pass dependencies and barrier insertion to ensure safe resource flows across the graph.

How do I check Vulkan barrier correctness when using Dynamic Rendering and Synchronization2?

Barrier correctness verification examines pass dependency tracking with VK_KHR_dynamic_rendering and Synchronization2 usage. It validates that synchronization primitives are inserted properly between render passes to prevent hazards.

How do I validate ExternalImage and ExternalBuffer layout transitions in a Vulkan render graph?

ExternalImage and ExternalBuffer validation checks correct handling of initial and final layouts, transitions, and current resource states. It ensures external resources maintain proper layout consistency throughout the render graph.

What causes render graph resource creation order errors during pass implementation?

Resource creation order errors occur when passes reference resources before they are created or after they are destroyed. The validator enforces correct creation ordering and execution registry integrity to identify these issues.

Can I use this render graph validator for debugging pass dependencies in the Katla engine?

Yes, the validator is designed for the Vulkan-based Katla engine to debug render graph issues. It provides end-to-end validation guidance and helps identify common pitfalls when implementing new render passes.

What are common pitfalls when inserting barriers in a Vulkan render graph?

Common barrier pitfalls include incorrect dependency tracking, missing synchronization between passes, and improper external resource layout transitions. The validator identifies these issues by checking execution registry integrity and barrier correctness.