vulkan
Installation
SKILL.md
Vulkan Deep Engineering Guide
Vulkan is a low-overhead, explicit GPU API. It gives fine control over every GPU step: no hidden state, no driver magic, no automatic synchronization. Performance is yours to manage - and so is every bug that comes with it.
1. Vulkan & The Explicit Model
1.1 Explicit vs Implicit (OpenGL/WebGL)
| Aspect | OpenGL | Vulkan |
|---|---|---|
| State | Hidden global state machine | Everything explicit (pipeline state objects) |
| Threads | Single-threaded context | Record command buffers on any thread |
| Synchronization | Driver syncs | You place barriers/fences/semaphores |
| Memory | Driver allocates VRAM | You allocate VkDeviceMemory |
| Validation | Undefined behavior | Validation layers in debug builds |
| Errors | Some checks | vkGetDeviceProcAddr + validation callbacks |