---
id: "gpu-work-graphs"
title: "GPU Work Graphs (Self-Scheduling Shader Nodes)"
aliases: [Work Graphs, D3D12 Work Graphs]
domain: "performance"
stage: "performance"
realtime: "realtime"
platforms: [desktop-gpu]
year_introduced: 2024
inputs: [mesh, visibility-mask, gbuffer]
outputs: [gbuffer, hdr-image, mesh]
style: "both"
dynamic: "dynamic"
cost: "cheap"
authority: "Engineering, 2024"
url: "https://texelatlas.vercel.app/t/gpu-work-graphs/"
sources_verified_at: "2026-12-02"
---
# GPU Work Graphs (Self-Scheduling Shader Nodes) (Engineering, 2024)

> Allows GPU shader nodes to dynamically spawn and feed downstream compute or mesh-shader work directly on the GPU without CPU round-trips or worst-case preallocated intermediate buffers.

## How it works

Traditional GPU-driven pipelines rely on `ExecuteIndirect` chains that require fixed-size intermediate scratch buffers and barrier sync points between passes. Direct3D 12 Work Graphs (and Vulkan equivalents) model the pipeline as a directed graph of producer and consumer shader nodes (`broadcasting`, `coalescing`, `thread`). Any shader thread can emit structured records directly into downstream node queues managed by the GPU hardware scheduler—eliminating empty dispatches, shrinking memory footprints, and enabling dynamic material classification, procedural geometry expansion, and sparse traversal.

## When to use it

Use in next-gen DX12 / Vulkan engines for complex multi-material deferred classification (visibility buffer shading), procedural meshlet expansion, or adaptive ray/BVH scheduling where workload sizes vary wildly per frame.

## Cost

cheap — Reduces CPU submission overhead, GPU idle bubbles, and worst-case intermediate VRAM allocation.

## Failure modes

- Requires Shader Model 6.8+ and modern drivers (D3D12 Agility SDK / VK_AMDX_shader_enqueue)
- Graph recursion and dynamic record fan-out are harder to profile and debug than linear passes
- Not yet exposed in WebGL2 or baseline WebGPU

## Dataflow

- Inputs: mesh, visibility-mask, gbuffer
- Outputs: gbuffer, hdr-image, mesh
- Platforms: desktop-gpu

## Lineage

- extends [GPU-driven rendering](https://texelatlas.vercel.app/t/gpu-driven-rendering.md)
- extends [Meshlets (cluster rendering)](https://texelatlas.vercel.app/t/meshlets.md)

## Sources

1. [primary] Microsoft DirectX Engineering (2024) Direct3D 12 Work Graphs Functional Specification. DirectX Specs. https://microsoft.github.io/DirectX-Specs/d3d/WorkGraphs.html (verified via http on 2026-12-02)

## Cite this entry

Texel. "GPU Work Graphs (Self-Scheduling Shader Nodes)." https://texelatlas.vercel.app/t/gpu-work-graphs/ (accessed 2026-12-02).
