This library is in flux. APIs may change without notice. Generated from source with koruc 0.1.7 on 8/19/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: []const []const u8
}
| compiled { code: string, build_steps: []const BuildStep }
| unsupported string