gpu: move callbacks to separate file
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
2e445affe2
commit
e6f3d3c2f0
7 changed files with 65 additions and 51 deletions
|
|
@ -12,6 +12,7 @@ pub usingnamespace @import("adapter.zig");
|
|||
pub usingnamespace @import("bind_group.zig");
|
||||
pub usingnamespace @import("bind_group_layout.zig");
|
||||
pub usingnamespace @import("buffer.zig");
|
||||
pub usingnamespace @import("callbacks.zig");
|
||||
pub usingnamespace @import("command_buffer.zig");
|
||||
pub usingnamespace @import("command_encoder.zig");
|
||||
pub usingnamespace @import("compute_pass_encoder.zig");
|
||||
|
|
@ -52,20 +53,6 @@ const interface = @import("interface.zig");
|
|||
/// cast to a `fn (...) callconv(.C) T` before use.
|
||||
pub const Proc = *anyopaque;
|
||||
|
||||
pub const CreateComputePipelineAsyncCallback = fn (
|
||||
status: types.CreatePipelineAsyncStatus,
|
||||
compute_pipeline: *compute_pipeline.ComputePipeline,
|
||||
message: [*:0]const u8,
|
||||
userdata: *anyopaque,
|
||||
) callconv(.C) void;
|
||||
|
||||
pub const CreateRenderPipelineAsyncCallback = fn (
|
||||
status: types.CreatePipelineAsyncStatus,
|
||||
pipeline: *render_pipeline.RenderPipeline,
|
||||
message: [*:0]const u8,
|
||||
userdata: *anyopaque,
|
||||
) callconv(.C) void;
|
||||
|
||||
pub const ComputePassTimestampWrite = extern struct {
|
||||
query_set: *query_set.QuerySet,
|
||||
query_index: u32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue