gpu: add comptime gpu.Interface, gpu.Export for C ABI exports

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-24 04:00:54 -07:00 committed by Stephen Gutekanst
parent 2ccf510696
commit 7f6cb8b511
3 changed files with 40 additions and 1 deletions

View file

@ -46,6 +46,10 @@ pub const RenderPassTimestampLocation = @import("types.zig").RenderPassTimestamp
pub const PowerPreference = @import("types.zig").PowerPreference;
pub const RenderPassColorAttachment = @import("types.zig").RenderPassColorAttachment;
pub const Interface = @import("interface.zig").Interface;
pub const Export = @import("interface.zig").Export;
pub const NullInterface = @import("interface.zig").NullInterface;
pub const ComputePassTimestampWrite = extern struct {
query_set: QuerySet,
query_index: u32,