gpu: implement Dawn queueSubmit
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
aa1a13eddb
commit
604c47400b
1 changed files with 5 additions and 4 deletions
|
|
@ -731,10 +731,11 @@ pub const Interface = gpu.Interface(struct {
|
|||
}
|
||||
|
||||
pub inline fn queueSubmit(queue: *gpu.Queue, command_count: u32, commands: [*]*gpu.CommandBuffer) void {
|
||||
_ = queue;
|
||||
_ = command_count;
|
||||
_ = commands;
|
||||
unreachable;
|
||||
procs.queueSubmit.?(
|
||||
@ptrCast(c.WGPUQueue, queue),
|
||||
command_count,
|
||||
@ptrCast([*]c.WGPUCommandBuffer, commands),
|
||||
);
|
||||
}
|
||||
|
||||
pub inline fn queueWriteBuffer(queue: *gpu.Queue, buffer: *gpu.Buffer, buffer_offset: u64, data: *anyopaque, size: usize) void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue