renderer/metal: load shaders from precompiled lib

This commit is contained in:
Mitchell Hashimoto
2024-08-06 15:05:10 -07:00
parent e5a087e143
commit 14a42fcdb7
6 changed files with 63 additions and 10 deletions

View File

@@ -0,0 +1,8 @@
const std = @import("std");
const c = @import("c.zig");
pub const Queue = *anyopaque; // dispatch_queue_t
pub fn getMain() Queue {
return c.dispatch_get_main_queue().?;
}