gpu: add getProcAddress

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-24 15:18:13 -07:00 committed by Stephen Gutekanst
parent c0ad349a12
commit 2d6dbd3351
3 changed files with 17 additions and 2 deletions

View file

@ -44,6 +44,10 @@ const query_set = @import("query_set.zig");
const texture_view = @import("texture_view.zig");
const surface = @import("surface.zig");
/// Generic function pointer type, used for returning API function pointers. Must be
/// cast to a `fn (...) callconv(.C) T` before use.
pub const Proc = *anyopaque;
pub const ComputePassTimestampWrite = extern struct {
query_set: query_set.QuerySet,
query_index: u32,