This library is in flux. APIs may change without notice. Generated from source with koruc 0.1.7 on 9/16/2026.
GPU
~import std/gpuKoru Standard Library: GPU Compilation Support
gpu.kz · 1 tors
Koru Standard Library: GPU Compilation Support
Provides compiler pass for compiling GLSL shaders to SPIR-V
and generating Zig wrappers for Vulkan dispatch.
This implements the compile.target event for "gpu" target.
compile.target
koru_std/gpu.kz:14// Compiler Pass Event Interface
~pub tor compile.target { target_name: string, body: string, path: []string }
| compiled { code: string, build_steps: []const BuildStep }
| unsupported string