gpu: add CreateComputePipelineAsyncCallback
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
302a3524cb
commit
4bf198b35e
3 changed files with 14 additions and 3 deletions
|
|
@ -43,11 +43,19 @@ const types = @import("types.zig");
|
|||
const query_set = @import("query_set.zig");
|
||||
const texture_view = @import("texture_view.zig");
|
||||
const surface = @import("surface.zig");
|
||||
const compute_pipeline = @import("compute_pipeline.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 CreateComputePipelineAsyncCallback = fn (
|
||||
status: types.CreatePipelineAsyncStatus,
|
||||
compute_pipeline: compute_pipeline.ComputePipeline,
|
||||
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