initial commit

This commit is contained in:
2025-12-22 23:04:20 +01:00
parent 5821a7f929
commit 977d05f15d
13 changed files with 320 additions and 0 deletions

21
src/lib.zig git.filemode.normal_file
View File

@@ -0,0 +1,21 @@
const std = @import("std");
pub const spv = @cImport(@cInclude("spirv.h"));
pub const Image = @import("Image.zig");
pub const Interpreter = @import("Interpreter.zig");
pub const Module = @import("Module.zig");
pub const State = @import("State.zig");
const opcode = @import("opcode.zig");
pub const SpvVoid = void;
pub const SpvByte = u8;
pub const SpvWord = u32;
pub const SpvBool = bool;
test {
std.testing.refAllDecls(Image);
std.testing.refAllDecls(Interpreter);
std.testing.refAllDecls(Module);
std.testing.refAllDecls(State);
std.testing.refAllDecls(opcode);
}