gpu: implement Dawn getProcAddress
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
e702ee4911
commit
48bc09ca93
2 changed files with 6 additions and 5 deletions
|
|
@ -50,8 +50,8 @@ const device = @import("device.zig");
|
|||
const interface = @import("interface.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;
|
||||
/// cast to the right `fn (...) callconv(.C) T` type before use.
|
||||
pub const Proc = fn () callconv(.C) void;
|
||||
|
||||
pub const ComputePassTimestampWrite = extern struct {
|
||||
query_set: *query_set.QuerySet,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue